Skip to Content
turbo-12f
Reference

LLMs and agents (llms.txt & AGENTS.md)

Machine-readable docs endpoints (/llms.txt, /llms-full.txt, /llms.mdx/*, /agents.md) and coding-agent setup for turbo-12f.

Reference

Coding agents can read turbo-12f directly as clean Markdown instead of scraping HTML pages. Use the endpoints below to feed an entire task area or repository handbook into Claude Code, Cursor, Antigravity, or Codex.

/llms.txt

Task-routed table of contents across all docs sections.

/llms-full.txt

All docs pages merged into a single Markdown stream.

/llms.mdx/*

Clean Markdown source for any single documentation route.

/agents.md

The repository guide: AGENTS.md, else README.md (this checkout has no AGENTS.md).

Live llms.txt and AGENTS.md

Switch tabs to inspect, copy, download, or open the hosted files generated directly from this checkout.

Open raw
Task-routed index of all documentation pages, invariants, and direct Markdown links.llms.txt · 77 lines · ~3,065 tokens
# turbo-12f

> Go software factory, run on your machine or in the cloud, that turns plain-language project requests into verified commits on staging and main.

Fetch any individual page as clean Markdown at `/llms.mdx/docs/<slug>.md` (or `/llms.mdx/docs.md` for the root page), or load `/llms-full.txt` to read every documentation page in one request.

Before modifying code, follow these invariants:

- `go.mod` at the repository root has no `require` lines, no `go.sum`, and `ignore ./docs-site`; compile offline with the Go standard library only.
- Keep `cmd/t12`, `cmd/t12-cage`, and `cmd/t12-container` free of `net/http` except through `internal/db` (`TestTheCoreAndTheCageProgramsLinkNoNetworkCodeButTheDatabaseClient`); `v2` `t12` invokes local harnesses and subprocess adapters (`ghcli`, `ghissue`, `ghrepo`), while HTTP servers, API clients, and standalone offline tools live in `cmd/t12-ui`, `cmd/t12-adapter`, and the remaining `cmd/t12-*` binaries.
- Neon Postgres (`DATABASE_URL`) is the only store (ADR 0005): a new store takes a `*db.Client` and ships a numbered migration, and the state home is scratch. Conversations (`t12 conversation` / `--conversation`) are the unit of work; legacy `v1` runs (run record `Version 8`, `internal/model`) coexist until cutover `G1`, so direct new work to `v2`.
- Check `pgrep -fl bin/t12` before rebuilding `bin/`; build into `/tmp/t12d/` and set `T12_BIN` if a request is running.
- Keep neutral verification wording under `assets/prompts/`, `assets/skills/`, and `catalogue/*.json` (`go test ./tests/unit/skillmap/...`).
- Add one `CHANGELOG.md` bullet under `## Unreleased`, in a `### Breaking`, `Added`, `Changed`, `Fixed`, `Removed` or `Security` group (at most 2 lines of 120 characters, no nested bullets; `tests/unit/changelog`).

## Start here by task

- Learn how the factory works, set up the toolchain, initialize a repo and run a first conversation, or host `t12 ui` with live SSE and `/api/docs-chat`: [How turbo-12f works](/llms.mdx/docs/getting-started/how-it-works.md), [Install turbo-12f](/llms.mdx/docs/getting-started/installation.md), [Build your first project](/llms.mdx/docs/getting-started/first-request.md), [Host and share the web app](/llms.mdx/docs/getting-started/hosting-ui.md)
- Understand how turbo-12f works, its deterministic gates, autonomy modes, and human roles: [The factory pipeline](/llms.mdx/docs/fundamentals/pipeline.md), [Safety, cages, and gates](/llms.mdx/docs/fundamentals/safety-and-gates.md), [Autonomy, people, and Observer](/llms.mdx/docs/fundamentals/autonomy-and-people.md)
- Trace intake specs, conversation execution (the `team` and `classic` flows), Strategist-planned lanes, release gates, SRE triage, or blocked runs: [Context and specs](/llms.mdx/docs/architecture/context-and-specs.md), [Request lifecycle and orchestration](/llms.mdx/docs/architecture/request-lifecycle.md), [Release and SRE](/llms.mdx/docs/architecture/release-and-sre.md), [Troubleshoot host and run issues](/llms.mdx/docs/development/troubleshooting.md)
- Inspect package boundaries, role internals (planning, QC/security, delivery, Observer), per-command approvals, cages, or logs: [System overview](/llms.mdx/docs/architecture/overview.md), [Agent roles](/llms.mdx/docs/architecture/roles.md), [Planning and build roles](/llms.mdx/docs/architecture/roles-planning-and-build.md), [Quality, hygiene, and review roles](/llms.mdx/docs/architecture/roles-quality-and-security.md), [Delivery, operations, and Observer](/llms.mdx/docs/architecture/roles-delivery-and-observer.md), [Sandbox and harnesses](/llms.mdx/docs/architecture/sandbox-and-harnesses.md), [Record and evidence](/llms.mdx/docs/architecture/record-and-evidence.md), [UI and access](/llms.mdx/docs/architecture/ui-and-access.md)
- Look up CLI flags (`t12 repo init`, `t12 eval`), `T12_AUTONOMY` and `.t12/` schemas, state-home directories, catalogues, `/api/c/{id}` endpoints, or agent feeds: [CLI reference](/llms.mdx/docs/reference/cli.md), [Configuration reference](/llms.mdx/docs/reference/configuration.md), [State home layout](/llms.mdx/docs/reference/state-home.md), [Catalogues and templates](/llms.mdx/docs/reference/catalogues.md), [UI HTTP API and SPA routes](/llms.mdx/docs/reference/ui-api.md), [LLMs and agents (llms.txt & AGENTS.md)](/llms.mdx/docs/reference/llms-and-agents.md)
- Add a CLI command, UI action, setting, flow step, prompt, skill, rule, catalogue, or diagram: [Extend the factory](/llms.mdx/docs/development/extending.md), [Contributing and testing](/llms.mdx/docs/development/contributing.md), [Architecture decisions and status](/llms.mdx/docs/development/adrs.md)
- Verify authoritative v2 domain terms and guarantees: [Glossary and truth boundaries](/llms.mdx/docs/reference/glossary.md)

## Overview

- [Introduction](/llms.mdx/docs.md): Turn plain-English project requests into tested, reviewed pull requests and verified releases on main.

## Getting started

- [How turbo-12f works](/llms.mdx/docs/getting-started/how-it-works.md): Follow how a plain-English request moves through intake, parallel lanes, automated checks, and human sign-off.
- [Install turbo-12f](/llms.mdx/docs/getting-started/installation.md): Set up the pinned toolchain, Docker cages, the Neon database, credentials file, and factory binaries on macOS or Linux.
- [Build your first project](/llms.mdx/docs/getting-started/first-request.md): Walk through creating, confirming, building, releasing, and previewing a bakery blog request with t12.
- [Host and share the web app](/llms.mdx/docs/getting-started/hosting-ui.md): 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.

## Factory fundamentals

- [The factory pipeline](/llms.mdx/docs/fundamentals/pipeline.md): How a plain-English request moves through specification, parallel lanes, failure recovery, and staging release checks.
- [Safety, cages, and gates](/llms.mdx/docs/fundamentals/safety-and-gates.md): How turbo-12f separates AI code generation from deterministic gates, offline cages, per-person credentials, and tamper-evident audit logs kept in the database.
- [Autonomy, people, and Observer](/llms.mdx/docs/fundamentals/autonomy-and-people.md): Understand the Operator and team roles, who accepts a request, the four factory autonomy modes, two-operator safety rules, and the optional Observer assistant.

## Architecture

- [System overview](/llms.mdx/docs/architecture/overview.md): How turbo-12f stacks its Go packages on Postgres (the only store), enforces zero external Go dependencies, and separates cage binaries that reach the network only through the database client from HTTP companion and cloud processes.
- [Request lifecycle and orchestration](/llms.mdx/docs/architecture/request-lifecycle.md): End-to-end execution from ask and confirm through the team flow's dependency-ordered lanes, capacity scheduling, autonomy modes, and failure recovery ladders.
- [Agent roles](/llms.mdx/docs/architecture/roles.md): How the team flow's five members map onto the thirteen role packages under internal/roles and the internal/observer loop, each combining deterministic scripts with bounded LLM sessions.
- [Context and specs](/llms.mdx/docs/architecture/context-and-specs.md): How Context creator decides readiness via a 3-part Go gate, ingests existing GitHub repositories, multi-issue tickets, and image attachments, draws the mock UI, enforces 25 lint rules, and exports OpenSpec files plus SRS, Plain, and UAT views.
- [Planning and build roles](/llms.mdx/docs/architecture/roles-planning-and-build.md): Deep dive into Strategist DAG lane planning and routing, Analyzer repro creation and split plans, and Engineer caged edits, turn limits, and verify gates.
- [Quality, hygiene, and review roles](/llms.mdx/docs/architecture/roles-quality-and-security.md): Deterministic checks and read-only audits across QC, UI check, Explorer, Deslop, Red team, and Code review before merge policy evaluates a lane.
- [Delivery, operations, and Observer](/llms.mdx/docs/architecture/roles-delivery-and-observer.md): How DevOps manages bootstraps and dry-run promotions, Release gates and bisects staging, SRE watches live URLs, and Observer resolves waiting items.
- [Record and evidence](/llms.mdx/docs/architecture/record-and-evidence.md): How turbo-12f keeps tamper-evident hash-chained event streams, evidence blobs, documents, and leases in Postgres, typed evidence reports, read-side rollups, and the legacy v1 model.
- [Sandbox and harnesses](/llms.mdx/docs/architecture/sandbox-and-harnesses.md): How Landlock, Docker cages, Request Review command approvals through a spool bridge, read-only guards, per-person run credentials, the container database broker, and Context7 socket forwarding isolate execution.
- [Release and SRE](/llms.mdx/docs/architecture/release-and-sre.md): How lanes enter staging through the lease-serialized merge queue, clear merge policies and proof bisection, record sign-offs and promotions in Postgres, and stay monitored after promotion.
- [UI and access](/llms.mdx/docs/architecture/ui-and-access.md): How t12-ui serves an embedded React SPA and live SSE flow graphs, enforces CSP/CSRF, keeps accounts, teams, per-user connections and Observer state in Postgres, and delegates git and pipeline writes to t12.

## Reference

- [CLI reference](/llms.mdx/docs/reference/cli.md): Every binary under cmd/, exit codes, signal handling, v2 t12 subcommands (including t12 db), and legacy v1 commands.
- [Configuration reference](/llms.mdx/docs/reference/configuration.md): Schemas for .t12/config.json and .t12/preferences.json, fixed rules, env file format, and environment variables.
- [State home layout](/llms.mdx/docs/reference/state-home.md): What stays on disk under --home (scratch only), where durable state lives in Postgres (tables, document kinds, leases), and how t12 db import loads an older file-based home.
- [Catalogues and templates](/llms.mdx/docs/reference/catalogues.md): Embedded project catalogues, the must-have and default schema contracts, and the web-react starter stack.
- [UI HTTP API and SPA routes](/llms.mdx/docs/reference/ui-api.md): Complete t12-ui HTTP, SSE flow graph, team, connection, board, metrics, and Observer endpoint reference, the GitHub webhook of the cloud function, plus the React SPA routes.
- [Glossary and truth boundaries](/llms.mdx/docs/reference/glossary.md): Authoritative v2 domain vocabulary with avoided synonyms and explicit system truth boundaries, including people, teams, connections, and the database as source of truth.
- [LLMs and agents (llms.txt & AGENTS.md)](/llms.mdx/docs/reference/llms-and-agents.md): Machine-readable docs endpoints (/llms.txt, /llms-full.txt, /llms.mdx/*, /agents.md) and coding-agent setup for turbo-12f.

## Development

- [Contributing and testing](/llms.mdx/docs/development/contributing.md): Build turbo-12f binaries safely, run Go, TypeScript and database tests (scripts/test-db.sh, T12_TEST_DATABASE_URL), use t12-mutate, and follow repository and changelog rules.
- [Extend the factory](/llms.mdx/docs/development/extending.md): Step-by-step recipes to add CLI verbs, UI actions, database stores, project settings, flow steps, prompts, role skills, review rules, catalogues, and diagrams.
- [Architecture decisions and status](/llms.mdx/docs/development/adrs.md): Why turbo-12f keeps host tools, replaces the v1 QC stage, gates features on stored run metrics, budgets per-test CPU, keeps all state in Neon Postgres, runs as a small team by default, and what remains open.
- [Troubleshoot host and run issues](/llms.mdx/docs/development/troubleshooting.md): Diagnose and fix missing DATABASE_URL, a spent Neon quota, held leases, broken event chains, missing AI or GitHub connections (409), GitHub App permission errors, agy sign-in files, macOS and Colima cage problems, approvals, paused conversations, production dry runs, mail, and Operator lockout.

## Optional

- [Full documentation corpus](/llms-full.txt): Single-file concatenation of every documentation page for full-context loading.
- [Repository agent guide](/agents.md): AGENTS.md, else README.md: setup, build and test commands.

Connect your coding agent

Point Claude Code at the repository instructions and generated docs index at checkout root:

Read README.md and llms.txt before changing code in this repository.
Run go test ./tests/unit/... ./internal/... ./cmd/... after edits.

Or pass a hosted documentation endpoint with WebFetch when working outside the repo:

Fetch /llms.txt to find the relevant /llms.mdx/docs/<section>/<page>.md URLs before answering.

Endpoints and invariants

ResourceHosted URLRepo sourceWhat it contains
Docs index/llms.txtllms.txtInvariants, task router, and links to every page
Full corpus/llms-full.txtGenerated on buildSingle-file concatenation of every docs page
Single page/llms.mdx/docs/<slug>.mddocs-site/content/docs/<slug>.mdxProcessed Markdown for one specific page
Repo agent guide/agents.mdAGENTS.md, else README.mdWhatever that file holds; here the README.md (setup, build and test commands)

Keeping llms.txt in sync

Whenever you add a docs page, rename frontmatter title or description, or edit meta.json, run bun run sync:llms inside docs-site/. bun run check:llms verifies that the repo's llms.txt matches the MDX frontmatter and meta.json; no CI workflow runs it, so run it before you push.

Key takeaway

Pick the smallest file your agent needs

Start with /llms.txt or AGENTS.md, then fetch only the matching /llms.mdx/docs/*.md pages for the task instead of loading the entire corpus unnecessarily.

Next steps

On this page