Build your first project
Walk through creating, confirming, building, releasing, and previewing a bakery blog request with t12.
Turn a plain-English request into a tested bakery blog, verify the release gate, and preview the finished site locally.
Describe the project
Answer the Context creator's questions until the plan is clear.
Confirm and build
Bootstrap the repository and let caged lanes write, test, and review code.
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:
- A public post list where local customers browse recent bakes.
- Post detail pages with tags and readable editorial typography.
- 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, including DATABASE_URL. Conversations, events, and reports live in the database. The commands below use ~/t12/home for scratch files 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:
bin/t12 repo init --name bakery-blog --type web-blog
bin/t12 ask --project-dir ~/t12/bakery-blog "I want a blog for my bakery"t12 ask prints a conversation ID, a plain-language view of the draft, and what is still needed from you. Save the <id> printed on the first line for the commands that follow.
conversation: <id> (turn 1)
...
still needed from the person: ...
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 runningt12 repo init. - Mockups & issues: Attach images via
--image <path>or GitHub issues via--issue(up to 5 by default; editable witht12 conversation issues). - Web UI equivalent: Open
http://127.0.0.1:8790, sign up, connect your own accounts, and run chat, confirmation, live build activity, preview, and release inside/c/:id. See Host and share the web app.
Answer the Context creator
Reply in plain words covering the goal, who uses the blog, which pages to build, the main journey, the visual look, and what stays out of scope:
bin/t12 ask --conversation <id> \
--answer "The goal is a blog that shows off today's bakes. Local customers read it; 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 after still needed from the person:. If secondary questions remain, answer them directly or pass --answer "You decide." to accept conservative defaults.
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`Confirm the plan
Each t12 ask turn prints the plain-language view of the draft: pages, look, and the choices made for you. Read it before confirming.
--acceptor names the person who accepts the project. Confirming verifies ~/t12/bakery-blog, runs the base project gate inside Docker, and commits the spec to staging:
bin/t12 confirm \
--conversation <id> \
--acceptor Lan \
--name bakery-blogPass --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.
The spec lands on staging under openspec/changes/<change-id>/. It includes plain.md (summary), srs.md (requirements and test scenarios), and uat.md (the manual bug-bash checklist).
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:
bin/t12 run --conversation <id>The run first prints the flow the conversation uses and records it for the rest of the build:
flow: team (analyze, engineer, qa, merge-policy, merge, deploy-dry-run)Each lane then prints [<lane>] <step>: <verdict> lines as it moves through the six steps of the team flow: the Tech Lead's analysis and plan (analyzer), the Developer's test-first coding (engineer), QA's single step (the tests as qc, the screenshot comparison as ui check, then one code review, stopping at the first that fails), and DevOps' merge policy, merge into staging, and deploy dry-run. The security replay runs in the release checks after the lanes merge. A project that sets the flow preference to classic runs eleven steps per lane instead, with QC, UI check, Deslop, Red team, Code review and SRE each as its own step.
In a second terminal, monitor progress or inspect findings at any time:
bin/t12 status --conversation <id>
bin/t12 watch --conversation <id>
bin/t12 report --conversation <id> --detailedIf an agent stops and asks a clarifying question, reply with bin/t12 run --conversation <id> --answer "..." to resume from the last checkpoint.
Approve any parked lanes
Under the default rules merge mode, changes touching data-loss, auth, licence, or delivery pause before merging into staging.
When a lane parks for approval
t12 run exits with status 1 and lists the waiting lane:
waiting for approval: <n> lane(s) wait for a person's OK
- lane <lane>: <reason>
after the OK, run `t12 run --home ~/t12/home --conversation <id>` againInspect the finding with t12 report --conversation <id> --detailed, then approve. Rule data-loss takes the acceptor (Lan). Rules auth, licence, and delivery take the host operator ($USER) or an approver listed in the project's merge_policy.approvers:
bin/t12 approve --conversation <id> --lane <lane> --by Lan
bin/t12 approve --conversation <id> --lane <lane> --by "$USER"Pass --send-back "<why>" instead if you want the Analyzer step (the Tech Lead's plan in the team flow) to rethink the lane. Once waiting rules clear, resume the build:
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 uat.md (or the Bug bash tab in t12 ui). Read it with git -C ~/t12/bakery-blog show staging:openspec/changes/<change-id>/uat.md, then record each step:
bin/t12 bugbash mark --conversation <id> --step 1 --result pass --by LanTo 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:
bin/t12 release gate --conversation <id>
bin/t12 release signoff --conversation <id> --by Lan
bin/t12 release gate --conversation <id>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 (and push main to GitHub when the project is linked to a repository), then verify the hash-chained event log and every saved artifact:
bin/t12 release merge --conversation <id> --by Lan
bin/t12 conversation verify --conversation <id>You should see merged staging into main; production: <outcome> (<deployer>), then conversation <id>: event chain and every blob verified. Production uploads only to a Cloudflare or Vercel account the person has connected; with none, nothing is uploaded. Now preview the released main build inside Docker on port 8800:
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
Install turbo-12f
Set up the pinned toolchain, Docker cages, the Neon database, credentials file, and factory binaries on macOS or Linux.
Host and share the web app
Run t12 ui locally, on an always-on host, or in the cloud on Vercel, GitHub Actions, and Neon, with open sign-up, Sign in with GitHub, per-person connections, and teams.