Skip to Content
turbo-12f
Getting started

Build your first project

Walk through creating, confirming, building, releasing, and previewing a bakery blog request with t12.

Tutorial

Turn a plain-English request into a tested bakery blog, verify the release gate, and preview the finished site locally.

Step 1

Describe the project

Answer the Context creator's questions until the plan is clear.

Step 2

Confirm and build

Bootstrap the repository and let caged lanes write, test, and review code.

Step 3

Verify and preview

Run the bug bash, sign off the release gate, and open the live blog.

What you are going to build

Instead of prompting an agent to guess every detail, you will build a focused bakery blog in three clear parts:

  1. A public post list where local customers browse recent bakes.
  2. Post detail pages with tags and readable editorial typography.
  3. An author sign-in editor for writing and publishing posts, with online ordering and reader accounts left out.

Before you start

Complete Install turbo-12f first. The commands below use default paths (~/t12/home for state and ~/t12/bakery-blog for the generated repo). On Linux, keep both on a real disk rather than a small tmpfs /tmp.

Walk through the full request

Start a conversation

Initialize a local project repository first, then open a conversation by describing what you want in one sentence:

factory/bin/t12 repo init --name bakery-blog --type web-blog
factory/bin/t12 ask --project-dir ~/t12/bakery-blog "I want a blog for my bakery"

Within a minute, t12 ask prints a conversation ID, paths to draft files, and turn-1 questions about your users and scope. Save the <id> printed on the first line for the commands that follow.

conversation: <id> (turn 1)
...
still needed: ...
answer with `t12 ask --home ~/t12/home --conversation <id> --answer "..."`

Existing repos, mockups, or GitHub issues

  • Existing GitHub repo: Pass --repo <owner>/<repo> instead of running t12 repo init.
  • Mockups & issues: Attach images via --image <path> or up to 5 GitHub issues via --issue (editable with t12 conversation issues).
  • Web UI equivalent: Open http://127.0.0.1:8790 to run chat, confirmation, live build activity, preview, and release inside /c/:id.

Answer the Context creator

Reply in plain words covering who uses the blog, which pages to build, the main flow, the visual look, and what stays out of scope:

factory/bin/t12 ask --conversation <id> \
  --answer "Local customers read the blog; I (Lan, the owner) write and manage posts. Pages: a public post list, post detail pages, and an author sign-in editor. Main journey: I sign in, write a post about today's fresh bake with a tag, publish it, and a customer opens the home page and reads it. Look: warm editorial typography on a clean paper background. Leave out online ordering, reader comments, and customer accounts."

Each turn updates the draft and lists any remaining gaps under still needed:. If secondary questions remain, answer them directly or pass --answer "You decide." to accept conservative defaults.

READY

When the plan is ready

Continue until t12 ask prints:

ready: confirm with `t12 confirm --home ~/t12/home --conversation <id> --acceptor NAME --project-dir DIR --name SLUG`

Inspect the draft and confirm

Before confirming, check the three generated views inside ~/t12/home/requests/<id>/context/draft/:

  • plain.md: Plain-language summary of pages, look, and choices made for you.
  • srs.md: Structured requirements and test scenarios.
  • uat.md: Step-by-step manual bug-bash checklist.

Confirm the conversation to verify ~/t12/bakery-blog and run the base project gate inside Docker:

factory/bin/t12 confirm \
  --conversation <id> \
  --acceptor Lan \
  --name bakery-blog

Pass --github <owner>/<repo> if you want t12 run to push branches and open a private release PR on GitHub. Without --github, the factory keeps the release PR body locally as evidence.

READY

Repository verified on staging

project repo: ~/t12/bakery-blog (created: false)
project gate: pass (node ..., sandbox docker)
confirmed by Lan: change <change-id> committed on staging at <sha>
next: t12 run --home ~/t12/home --conversation <id>

If t12 confirm reports an open start gate question, answer it with t12 ask --conversation <id> --answer "..." and run t12 confirm again.

Run the build and watch progress

Launch the orchestrator from your terminal, or click Build it inside /c/:id in t12 ui:

factory/bin/t12 run --conversation <id>

Each lane prints [<lane>] <role>: <verdict> as it moves through analysis, test-first coding, QC, UI screenshot comparison, hygiene, security replay, code review, and merge into staging.

In a second terminal, monitor progress or inspect findings at any time:

factory/bin/t12 status --conversation <id>
factory/bin/t12 watch --conversation <id>
factory/bin/t12 report --conversation <id> --detailed

If an agent stops and asks a clarifying question, reply with factory/bin/t12 run --conversation <id> --answer "..." to resume from the last checkpoint.

Approve any parked lanes

Under default merge rules, changes touching sensitive areas like auth or data-loss pause before merging into staging.

WAITING

When a lane parks for approval

t12 run exits with status 1 and lists the waiting lane:

... waiting for approval
- lane <lane>: <reason>
after the OK, run `t12 run --home ~/t12/home --conversation <id>` again

Inspect the finding with t12 report --conversation <id> --detailed, then approve as the acceptor (Lan) or host operator ($USER) depending on the rule:

factory/bin/t12 approve --conversation <id> --lane <lane> --by Lan
factory/bin/t12 approve --conversation <id> --lane <lane> --by "$USER"

Pass --send-back "<why>" instead if you want the Analyzer to rethink the lane. Once waiting rules clear, resume the build:

factory/bin/t12 run --conversation <id>

When all lanes merge and staging release checks finish, t12 run prints release pull request:, release gate:, and done..

Run the bug bash and sign off

Follow the manual checklist in ~/t12/home/requests/<id>/context/draft/uat.md (or the Bug bash tab in t12 ui) and record each step:

factory/bin/t12 bugbash mark --conversation <id> --step 1 --result pass --by Lan

To log a failure or freeform issue instead, pass --result fail --note "<what you saw>" or run t12 bugbash report --conversation <id> --note "<what went wrong>" --by Lan. Both open a linked bug conversation.

Next, check the release gate on staging, sign off as the acceptor, and verify the gate turns green:

factory/bin/t12 release gate --conversation <id>
factory/bin/t12 release signoff --conversation <id> --by Lan
factory/bin/t12 release gate --conversation <id>
READY

Green release gate

t12 release gate prints ## Release gate: green and exits 0 once all staging checks pass and sign-off is recorded.

Release, verify evidence, and preview

Merge staging into main with a --no-ff release commit, then verify the hash-chained event log and every saved artifact:

factory/bin/t12 release merge --conversation <id> --by Lan
factory/bin/t12 conversation verify --conversation <id>

You should see conversation <id>: event chain and every blob verified. Now preview the released main build inside Docker on port 8800:

factory/bin/t12 preview --conversation <id>

Open http://127.0.0.1:8800 in your browser once the server reports ready (separate from t12 ui on port 8790). Press Ctrl-C to stop the preview container.

Your first project

You just took a one-sentence request through verified specs, caged parallel lanes, automated checks, and human sign-off to a live preview on main.

Next steps

On this page