Interactive Incident Triage & Typed-Approval Gate Preview (SYNTHETIC)
Select any frozen drill scenario (10 core S01–S10 + 4 pre-tagged held-out H01–H04) to inspect Flagsmith Cloud diff findings, deterministic rollback preview, and code-enforced approval validation.
Single Live End-to-End Closed-Loop Proof on Flagsmith Cloud (n=1, Scenario S01)
Measured directly against https://api.flagsmith.com/api/v1/ + live demo_service (enable_local_evaluation=True). Confirmation phrase simulated in proof script (excluding interactive human typing time).
Complete Executed Run Ledger & Same-Endpoint Honesty
Held-out scenarios (H01–H04) were tagged drills-heldout-v1 (8f35022) before both the live Cloud suite and the LLM ablation. The LLM is advisory only (read-only re-ranking, zero API write tools). Manual n=3 baseline script awaits operator run (no unrecorded manual timing claimed).
Code-Enforced Autonomy Contract & Flagsmith Surfaces
| Rule Tier | Exact Code Boundary |
|---|---|
| Does alone | Polls Flagsmith Admin API (/api/v1/), verifies HMAC-SHA256 webhooks (401/200), diffs state snapshots (AuditPoller for Cloud Free tier /audit/ = 0), reads metrics/errors & code frames, ranks candidates, drafts deterministic inverse plans, writes Markdown + redacted audit JSONL. |
| Asks first | Every Flagsmith write (apply, undo, next-suspect) requires exact interactive phrase apply <plan_id> option <n> in approval.py + hash match in executor.py. Non-interactive runs never mutate. |
| Asks instead | Top confidence < 0.6, non-flag fault (S07, H02), staging-only edit (S06), or incomplete observation journal outputs action="none". |
| Never does | Never calls DELETE, never creates flags/segments/envs, never writes outside writable: true (production), aborts (exit 5) on state drift, never gives LLM write tools. |
Flagsmith surfaces verified: Feature Flags · Segments & Overrides · Remote Config & Multivariate · Admin API · Environment Webhooks (loopback HMAC proof) · Python SDK (flagsmith>=3.8) · Optional Read-Only MCP Client.