🚦 The gates
Every run passes the same sequence of gates. Each is a real action with a real, inspectable result — no gate can be talked past, and none is simulated.
- Red — a real failing test must exist. The agent writes
slice.test.jsand a realnode --testrun must prove it red. - Green — a real implementation makes it pass. At least one test must actually execute and pass — an exit code alone never counts, because the test runner exits clean even when it discovered zero tests. The runner parses the test-count summary.
- Refactor — cleanup with the tests still green (re-run, re-proven).
- Integrate — a real
git commitin the sandbox repo. Only committed work moves forward. - Security & performance review — real model verdicts rendered on the real diff of the change, each naming its top risk.
- Judged acceptance — a model judge compares the ask and acceptance criteria against the final diff and answers
met/not_metwith cited evidence. Anot_metfails closed: a real repair agent must answer the judge before the run proceeds. - Staging — the workspace is cloned fresh (only committed files exist in the clone) and the tests re-run there. Depending on uncommitted state fails here, for real.
- Canary — a stability bake: the suite must stay green across 3 consecutive runs in the clean copy. A real flake is a real wobble — and a wipe.
- Rollout — a real smoke load: the delivered module is imported the way a consumer would import it, and must load cleanly. Nothing deploys from a local run, so no deployment is claimed.
- Shipped— the result is handed to you: the delivered code is browsable in the App View on the world’s Live screen.
All of this happens against the run’s stated destination — a throwaway demo project in a temporary folderfor an unbound world, or the world’s bound local repository when one is set (the commits there are the deliverable). Nothing is pushed and nothing is deployed anywhere. Where a production concept has no honest local equivalent (canary traffic, rollout targets), the run does the strongest real thing available and says exactly what that was.