Split before you plan
The orchestrator judged the scope too large for one spec and proposed four workflows. Each session is named after the problem it solves, so progress is readable at a glance.
Spec Workflow / A follow-up for Future Works
Giulia, you asked what my day-to-day agentic setup looks like, and how I keep agents in check when they act on their own. This is the harness I use for all my coding work, shown on a regulatory project where a wrong assumption is a compliance gap as well as a bug.
01sid@workspace:~$ /spec-flow osa-compliance
02Scope too large for one spec. Proposing 4 slugs.
034 sessions launched
04osa-hash-matching / round 1 / ambiguity 86%
05lanes: codex verify / claude blind / codex attack
06gate: evidence-backed consensus / proof: local deploy receipts
07Awaiting sign-off.
01Context
The project: bringing a UK platform in line with Ofcom’s requirements under the Online Safety Act. Regulatory work demands a high level of accuracy, and the scope was too big for a single spec. So the main orchestrator split it into four slugs, each running its own Spec Flow session in parallel.
The orchestrator judged the scope too large for one spec and proposed four workflows. Each session is named after the problem it solves, so progress is readable at a glance.
The trade-off is time. Every decision is settled once and correctly, because rework on regulatory scope costs more than a slower start.
Models research, draft, critique and code. The operator who understands the project decides how the compliance service should behave.
02Workflow
I took the general ideas behind interview, Ralplan and Ralph loops and built a custom integration around them, refined over more than a year of iterations across several organizations and projects. /spec-flow drives all three and stops at every boundary to brief me: what came out, what is still open, the next command and its cost. A paid stage starts only after I say go.
Ambiguity burn-down
The interview tracks each decision the spec depends on, weighted 1 to 3, and recalculates how much is still open after every round. It asks 1 to 3 questions a round, recommended option first, and researches the code before it asks. It stops when the score is under the threshold (10% by default) and no weight-3 decision is still unknown or assumed.
Inside stage 3
Each plan step becomes a task in its own git worktree. A wave runs its tasks in parallel, then merges and reviews them together before the next wave starts. Nothing is pushed: the build ends at a local integration branch that I review and merge.
03Review lanes
Plan review launches independent CLI sessions alongside the orchestrator. Each lane has one job and runs read-only, and the plan only moves forward when their findings are settled. In my runs, Codex reviews reliably catch things Claude misses, and the reverse holds too.
Checks the plan against the spec’s acceptance criteria and the code, and how strong each check is.
Starts in a fresh session and never sees the other lanes’ findings, so what it reports is an independent second look.
The adversarial reviewer. Argues against the approach and spells out exactly what has to change. Opt-in; I add it for high-stakes specs.
Evidence before consensus. Findings go into a ledger held by the plugin’s review-tracker MCP server. A must-fix finding is adopted only with evidence: another lane’s confirmation, a reproduction, or a blind rediscovery. A lane other than the reporter checks each fix. The gate opens when no adopted must-fix is left; otherwise another cycle runs, up to a cap of three.
From the age-gate workstream
A real critical finding from cycle 2 of the age-gate plan review, with code and identifiers left out. The blind lane found it and backed it with a local deployment, which is why it was adopted without a second report.
04Guardrails
Where agents act on their own, these checkpoints decide when they may. They run in this order on every spec.
Each interview round puts its questions to me with a recommended answer. The spec and then the plan each need my “APPROVED by user” before the next stage will start.
The interview only ends when remaining ambiguity is under the threshold (10% by default) and no high-weight decision is still assumed. All three approved specs in this project closed at 5%.
Open questions are researched in the code before they reach me. A claim enters the spec as assumed, with its citation, and becomes locked only once the lines are read.
A hook fast-forwards every repository in the workspace before each stage starts, and every review lane runs in a new session.
Verification, blind and adversarial lanes report into one ledger. A must-fix is adopted only with evidence, and the plan cannot be approved while one is open.
Checks run on a local Docker deployment and each claim gets a receipt. Changes a user can see need browser screenshots from a private Playwright instance; a missing receipt counts as not fixed.
Build lanes cannot push: a git hook blocks it. Editing a check’s own script or a protected file fails the iteration, and weakened test assertions are flagged for the reviewer.
What the lanes are, and aren’t. Reviewer agreement is a model judgment. It narrows what a human needs to check; it doesn’t replace the human sign-off at the start or the build evidence at the end.
05Setup
The custom pieces behind the run, answering what I’ve built in skills, subagents and MCP. Runs can record experiment data (prompts, findings, model usage and outcomes), which I use to tune the lane mix, and a weekly research job summarizes new multi-agent orchestration work relevant to the design.
Six skills: the three stages, the /spec-flow driver, a deep-dive for problems whose cause is unknown, and a PR review mode.
Bundled with the plugin. It keeps run, lane, finding and gate state on disk and says what is allowed next, so the loop never depends on the orchestrator’s memory.
Small companion scripts drive each CLI. Model and effort are set per lane, a backup lane takes over after two failures, and an attester is never the same vendor as the executor it judges.
A live Claude Code pane that draws each run as a graph: lane nodes with their activity, the ledger by severity and the gate. For builds it shows waves, merges and gates.
A fork of an open-source compactor. A fast model scores every tool call and result; stale ones are dropped or truncated, and all conversation text stays verbatim, so decisions stay in context.
Parallel sessions run side by side in the Rex terminal, with Claude and Codex lanes opening as live sessions of their own. Outbound Jira, Slack and GitHub messages queue for my approval.
On screen
Inside Rex, each lane runs as a live interactive session instead of a hidden background process. The lane script opens the run’s tab, splits it for each lane, starts the CLI there and waits for its turn to end. The orchestrator records results exactly as it would headless, and I can read or question any lane afterwards.
06Demo
A recorded walkthrough of the same project: the interview, a completed planning run and the CLI lanes it launched.
Recorded walkthrough
Hosted on Screen Studio. Client details are kept off screen.
Watch the walkthroughscreen.studio/share/o35rRRSn
I’d welcome the chance to walk through a live session with your team and talk about where this approach fits the work at Future Works.
The plugin’s repository is private. I’m happy to share access or walk through the code live.