The factory pipeline
How a plain-English request moves through specification, parallel lanes, failure recovery, and staging release checks.
Every feature, bug fix, or incident moves through turbo-12f as a tracked request. Instead of one long agent chat, the factory splits work into focused stages with clear exit rules.
Ask & confirm
Ground every requirement in your words and pass the spec and project gates.
Plan & build
Split work into parallel lanes that write failing tests before production code.
Verify & merge
Run automated quality, UI, and security checks before landing on staging.
Release & watch
Validate the combined staging tree, sign off, promote to main, and monitor health.
Pipeline at a glance
Each stage answers one question before passing work forward. Keeping these stages separate stops broken or unreviewed changes from hiding behind a generic "done" label.
| Stage | The question it answers | Output |
|---|---|---|
| Ask & confirm | Is the request unambiguous and ready for the repo? | A locked specification, plain-language summary, and clean staging base |
| Analyze & build | What is the root cause or plan, and do new tests fail first? | A scoped file plan, failing base tests, and a passing candidate commit |
| Verify & review | Does the candidate satisfy tests, visuals, hygiene, and security? | Deterministic verdicts, screenshot comparisons, and review reports |
| Release & watch | Does the combined staging build pass end-to-end and human sign-off? | A signed-off release gate, --no-ff merge to main, and live health probes |
Follow a change through the pipeline
Imagine you ask to add category tags to your bakery blog.
- Context creator locks the scope. It clarifies how tags look, how readers filter posts, and confirms no new user roles are needed.
- Strategist plans parallel lanes. Shared layout work runs first, while tag filtering and the author tag picker run in separate isolated lanes.
- Each lane runs through checks. Analyzer plans the exact files, Engineer writes tests first inside an offline cage, and automated checks verify build, unit, mutation, browser E2E, UI screenshots, hygiene, security, and code review.
- Lanes merge one by one into
staging. A single merge queue rebases each lane ontostaging, rechecks if anything shifted, and fast-forwardsstaging. - Release checks test the combined app. Full E2E, screenshot checks, security scans, and a deploy dry-run run against
staging. If a check breaks, the factory bisects which lane caused it and launches a targeted fix lane.
How failure recovery works
When a check fails inside a lane, the factory does not immediately give up or burn your whole budget. It climbs a predictable recovery ladder:
| Mechanism | When it triggers | What happens |
|---|---|---|
| Fix attempt | Mechanical failure (failing test, lint error, build error, merge conflict) | Returns directly to the same Engineer session with the exact failure output (3 attempts by default). |
| Retry token | Design flaw, review rejection, or security finding | Spends 1 token from the task's shared pool (2 by default) to rethink the plan from Analyzer. |
| Problem | Same root cause fails three times, or retry tokens run out | Pauses that lane and dependent lanes cleanly, raising a plain-language summary for a human. |
When an oversized task tries to add too many lines at once, Analyzer splits it into smaller sub-lanes at zero token cost rather than forcing an unreviewable diff.
Key takeaway
Failure is treated as structured evidence, not a dead end: mechanical bugs go back to the builder, design gaps go back to analysis, and repeat blocks pause safely for a person.
Next steps
Safety, cages, and gates
See how offline cages, deterministic checks, and hash-chained logs enforce trust.
Autonomy, people, and Observer
Learn how autonomy modes, merge policies, and human roles control waiting points.
Request lifecycle (internals)
Inspect the Go orchestrator, slot pools, and failure routing rules.
Host and share the web app
Run t12 ui locally, on an always-on Linux or macOS host with idle-safe auto-updates, or in Docker Compose behind Tailscale and HTTPS tunnels.
Safety, cages, and gates
How turbo-12f separates AI code generation from deterministic gates, offline cages, and tamper-evident audit logs.