Task · GCV-0015

Add a Grafana Assistant governance API

Description

The Assistant resources are a policy surface a platform team can own declaratively, verified against the provider schemas:

Together these let the platform ship standing instructions, an allow-list of reachable tool servers, mandatory human approval on destructive tools, and an org-wide off switch.

Ordering trap: terms acceptance gates the rest and nothing enforces that dependency automatically, so the function must gate on it the way access claims already gate on stack readiness.

TermsAcceptance is one of the ten kinds absent from the current pin, hence the dependency.

Do not put rule text in this repository beyond inert examples; real standing instructions are environment-owned.

Acceptance Criteria

Definition of Done

Implementation Plan

Wave 2: implement and validate terms-gated Assistant governance, restrictive tool approvals, withdrawal, and inert examples; root wires and gates.

Implementation Notes

Wave 1 lane E disposition, 2026-09-08: Not started and Parked because the mandatory root pre-fan-out pass did not produce a pushed seam SHA after route metadata was unavailable. Resume after GCV-0032 completes the section 5.0 pass, then spawn EXECUTION on gpt-5.6-luna at max effort with fork_turns none and the pushed pre-pass SHA. No acceptance criterion or Definition of Done item was checked.

Wave 2 verification: focused Assistant race tests proved the observed acceptance gate, withdrawal pruning, restrictive approval defaults, platform-owned rule profiles, and fatal validation of malformed MCP configuration. Catalog, integrated local gate, and hosted Validate run 34233686654 passed.

Final Summary

Delivered terms-gated Assistant governance with platform rule profiles, MCP allow-listing, restrictive approval defaults, and supported withdrawal. Completing SHA 83f81afee7526fd6e7c4ec0a47675774d00036b8; hosted Validate run 34233686654 succeeded.

View the source file on GitHub