Spec Workflow / A follow-up for Future Works

Plan with a human.
Ship with proof.

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.

01Context

One compliance ask.
Four workstreams.

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.

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.

Accuracy over speed

The trade-off is time. Every decision is settled once and correctly, because rework on regulatory scope costs more than a slower start.

A human owns the calls

Models research, draft, critique and code. The operator who understands the project decides how the compliance service should behave.

Workstream board

Recorded state, 23 Nov 2026

Where it stands

02Workflow

Three stages.
No skipping.

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.

The pipeline

Select a stage to see what it reads, writes and needs before it can finish.

inputan idea
<slug>.mdI approve
<slug>.plan.mdI approve
outputa local branchI merge it myself

Ambiguity burn-down

Every open question gets an answer.

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.

Ambiguity 86%Threshold <10%
interview / round 1
Awaiting answersScores from the recorded sessions

Inside stage 3

Builds run in waves.

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.

One wave

Select a step in the loop.

Loop ends when every task is done, deferred checks have run and the last gate is openor at the wave cap

03Review lanes

Separate CLIs.
One plan.

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.

LANE A Codex CLI

Verification

Checks the plan against the spec’s acceptance criteria and the code, and how strong each check is.

Model
GPT-6.2, high effort
Access
Read-only sandbox
LANE B Claude Code

Blind discovery

Starts in a fresh session and never sees the other lanes’ findings, so what it reports is an independent second look.

Model
Claude Opus 5.5, high effort
Access
Plan mode, edits disabled
LANE C Codex CLI

Attack

The adversarial reviewer. Argues against the approach and spells out exactly what has to change. Opt-in; I add it for high-stakes specs.

Model
GPT-6.2, high effort
Access
Read-only sandbox
Gate

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

Follow one finding through the gate.

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.

Finding F-019

Critical

Run age-gate plan reviewReported by claude-blind, cycle 2Disposition adopted

Age-gate ledger, 37 adopted findings

Each lane found things the others did not. Counts are from the review tracker after cycle 2.

Orchestrator
Opus 5.5High effort, main session
Research subagents
Sonnet 5.5Read-only code checks, every claim cited to a file and line
Providers
Claude, Codex, Muse, GrokCodex and Claude by default; the rest opt-in
Scope
Multi-repoThe hash-matching spec spans four repositories

04Guardrails

Humans decide.
Models do the work between.

Where agents act on their own, these checkpoints decide when they may. They run in this order on every spec.

  1. 01

    Sign-off at every stage

    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.

  2. 02

    Ambiguity threshold

    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%.

  3. 03

    Repository first, then the human

    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.

  4. 04

    Fresh context for every stage

    A hook fast-forwards every repository in the workspace before each stage starts, and every review lane runs in a new session.

  5. 05

    Evidence-backed gate

    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.

  6. 06

    Proof before done

    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.

  7. 07

    No silent publishing

    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

Built around Claude Code.
Six skills, one tracker.

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.

SKILLS

Spec Flow plugin

Six skills: the three stages, the /spec-flow driver, a deep-dive for problems whose cause is unknown, and a PR review mode.

MCP

Review-tracker server

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.

LANES

Cross-provider CLIs

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.

PANE

Review tracker pane

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.

CONTEXT

Tool-call compaction

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.

OPS

Multiplexed sessions

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

A review run, as it looks in the terminal.

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.

Rex window diagram

Select a pane.

Diagram of the layout, drawn from the run’s trackerClosing the run closes its tabs

06Demo

The run,
on screen.

A recorded walkthrough of the same project: the interview, a completed planning run and the CLI lanes it launched.

Recorded walkthrough

Spec Flow on a live compliance project

Hosted on Screen Studio. Client details are kept off screen.

Watch the walkthrough screen.studio/share/o35rRRSn
  1. 01
    The taskOnline Safety Act compliance, split into four workstreams
  2. 02
    The setupParallel Claude Code sessions in the multiplexer
  3. 03
    The interview stageBatched questions, recommendations and sign-off
  4. 04
    Draft spec and lanesProviders, models and effort per lane
  5. 05
    A completed runRepository pre-checks and fresh context
  6. 06
    The CLIs it launchedReview tracker, the gate and a critical finding
  7. 07
    Execution and oversightLocal deployments, browser proof, human decisions

Let’s talk through
the run.

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.