The dashboard sprawl
One rollout touches flags, environments, segments and splits across half a dozen screens. Each screen is a chance to change the wrong thing in the wrong place.
Paste the Flagsmith Organisation API key and project ID to work a real project. The key stays in this page's memory only — it is never stored, logged or sent anywhere except the Flagsmith API. Leave this closed to stay on the demo project. Full steps: KEY_HOOKUP.md in the repo.
A FLAG AGENT WITH A HUMAN GATE
FlagAgent works a Flagsmith project from plain words. Describe the change — a rollout, a test, a kill switch standing guard — and it plans the flag changes, shows you the exact diffs, and applies only what you approve. Then it reads everything back and shows you the proof.
Work a changeRunning on a labelled demo project until a real Flagsmith key is connected. The board on the right is live — try its switches.
Real switches. Flip one and the board below keeps up.
A 3D picture of the idea — drag to spin. The live signal board still runs the demo project. Why flags need a gate ↓
THE PROBLEM
One rollout touches flags, environments, segments and splits across half a dozen screens. Each screen is a chance to change the wrong thing in the wrong place.
Give an agent an API key and it can move every switch you own, silently, at machine speed. One misread sentence becomes a production incident.
After a change lands, proving what actually changed — and that it matches what was asked for — means digging through audit logs by hand.
HOW FLAGAGENT WORKS
01
Your sentence becomes a list of exact changes — flag, environment, before and after — checked against the traps: variant weights that do not add to 100, a flag name already taken, a guard already broken.
02
Every change is its own line with its own tick box. Reject one and it never happens. A delete needs the flag's name typed out. The plan carries a short hash, so what you approved is what runs — or nothing runs.
03
Approved changes go to Flagsmith in order. Each one is read back and compared with the plan before it is called done. Guards are checked again at the moment of applying — if a guard broke while you were reading, everything stops.
THE CONSOLE
Project: ChaiKart — storefront (demo project) · Source: local demo board (MOCK)
| Flag | State | Rollout | Value / variants | Segment overrides |
|---|
OUTCOME SO FAR
29
automated checks pass on the planner, the executor and the board — including guard refusals and tampered-plan refusals.
0
changes can be applied without approval. Planning is read-only by construction, not by promise.
4
conditions on every apply: your ticks, a typed name for deletes, a matching plan hash, and guards still holding.
100%
of applied changes are read back and compared with the plan before the receipt calls them done.
ONE CHANGE, WALKED
How this walk was made: driven on this page's own demo project (MOCK) on a local copy of this exact build, 2 Dec 2026. The plan, the ticks, the apply and the refusal are the shipped code running; no Flagsmith account was touched. The scored run against a real Flagsmith project is in Results, counted — next.
RESULTS, COUNTED
16/20 plans · 11/20 fully passing · 5/5 traps · 0 unapproved writes
26 Nov 2026, worked case by case through this page against a real Flagsmith project ("My first project", three environments). Every applied change was read back; the project was restored to its starting state afterwards. This is the run the Toggle Wars filing used.
20/20 plans · 20/20 passing · 5/5 traps · 0 unapproved writes
Re-run 2 Dec 2026 with the repo's own runner (node bench/run_bench.js) on the demo project. A rehearsal, not the score: the runner drives the demo project by design, because the real key never enters a script. It proves the gate and the planner still hold, end to end.
51/51 checks pass
Re-run 2 Dec 2026: planner 20, adapter 9, adapter write path 9, adapter versions 9, adapter live URLs 4 — including guard refusals, tampered-plan refusals, and "approving nothing applies nothing".
HONEST LIMITS
This page runs a labelled MOCK project until a real Flagsmith key is connected. The walk above is that demo project. Its flags mirror the real project's shape; they are not a real account.
The 16/20 live score was produced case by case through this page in a browser, not by an automated runner — the runner only ever drives the demo project. The per-case record is in the repo (bench/RESULTS_LIVE.md).
Nothing in the code can tick its own boxes, type the delete name, or pass its own plan hash. If nobody approves, nothing applies. The gate is a human decision the software refuses to route around.
Segment overrides and flag deletion are planned but not wired for the live Flagsmith API yet. Live, both are refused at apply time with the reason shown; on the demo project they run, which is one reason the rehearsal scores higher than the live run.
A connected Organisation API key lives only in this page's memory — never stored, logged or sent anywhere except the Flagsmith API. The trade-off is real: refresh the page and the connection is gone.
The switches in the 3D scene at the top flip on their own rhythm; they do not read the project's flag state. The signal board beside it is the live surface. The picture is there to explain the gate, not to report it.
THE JUDGE'S PATH
The whole path runs on the labelled demo project in this page. Connecting a real Flagsmith project is optional and needs an Organisation API key — see KEY_HOOKUP.md in the repo.