Skip to Content
turbo-12f
Factory fundamentals

The factory pipeline

How a plain-English request moves through specification, parallel lanes, failure recovery, and staging release checks.

Explanation

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.

Stage 1

Ask & confirm

Ground every requirement in your words and pass the spec and project gates.

Stage 2

Plan & build

Split work into parallel lanes that write failing tests before production code.

Stage 3

Verify & merge

Run automated quality, UI, and security checks before landing on staging.

Stage 4

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.

StageThe question it answersOutput
Ask & confirmIs the request unambiguous and ready for the repo?A locked specification, plain-language summary, and clean staging base
Analyze & buildWhat 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 & reviewDoes the candidate satisfy tests, visuals, hygiene, and security?Deterministic verdicts, screenshot comparisons, and review reports
Release & watchDoes 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.

  1. Context creator locks the scope. It clarifies how tags look, how readers filter posts, and confirms no new user roles are needed.
  2. Strategist plans parallel lanes. Shared layout work runs first, while tag filtering and the author tag picker run in separate isolated lanes.
  3. 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.
  4. Lanes merge one by one into staging. A single merge queue rebases each lane onto staging, rechecks if anything shifted, and fast-forwards staging.
  5. 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:

MechanismWhen it triggersWhat happens
Fix attemptMechanical 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 tokenDesign flaw, review rejection, or security findingSpends 1 token from the task's shared pool (2 by default) to rethink the plan from Analyzer.
ProblemSame root cause fails three times, or retry tokens run outPauses 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

On this page