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

Repository setup, model config, builds, and CHANGELOG rules.

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 · ~2,781 tokens
# turbo-12f

> Local Go software factory under `factory/` 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 under `factory/`, follow these invariants:

- `factory/go.mod` 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` (`TestTheCoreAndTheCageProgramsLinkNoNetworkCode`); `v2` `t12` invokes local harnesses and subprocess adapters (`ghcli`, `ghissue`, `ghrepo`, `fbreport`), while HTTP servers, API clients, and standalone offline tools live in `cmd/t12-ui`, `cmd/t12-adapter`, `cmd/t12-bench`, and the remaining `cmd/t12-*` binaries.
- Current `v2` conversation pipelines (`requests/<id>/`, driven by `t12 conversation` / `--conversation` and repo-backed `projects.json`) coexist with legacy `v1` runs (`runs/<task-id>.json`, `model.Version = 8`) until cutover `G1`; direct new work to `v2`.
- Check `pgrep -fl factory/bin/t12` before rebuilding `factory/bin/`; build into `/tmp/t12d/` if a request is running.
- Keep neutral verification wording under `prompts/`, `skills/`, and `catalogue/*.json` (`go -C factory test ./tests/unit/skillmap/...`).
- Add one `factory/CHANGELOG.md` bullet under `## Unreleased` (at most 2 lines of 120 characters ending in the PR number), and keep code out of comments (`AGENTS.md`: "Comments are liability", machine directives only).

## 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, Strategist DAG 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-bench`, `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, 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, 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 Linux or macOS host with idle-safe auto-updates, or in Docker Compose behind Tailscale and HTTPS tunnels.

## 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, and tamper-evident audit logs.
- [Autonomy, people, and Observer](/llms.mdx/docs/fundamentals/autonomy-and-people.md): Understand team roles, 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, enforces zero external Go dependencies, and separates no-net/http core binaries from HTTP companion and driver processes.
- [Request lifecycle and orchestration](/llms.mdx/docs/architecture/request-lifecycle.md): End-to-end execution from ask and confirm through Strategist DAG lanes, capacity scheduling, autonomy modes, and failure recovery ladders.
- [Agent roles](/llms.mdx/docs/architecture/roles.md): How the thirteen role packages under internal/roles and the internal/observer loop combine 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, 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 maintains tamper-evident hash-chained event logs, typed evidence reports, read-side rollups, and legacy v1 state models.
- [Sandbox and harnesses](/llms.mdx/docs/architecture/sandbox-and-harnesses.md): How Landlock, Docker cages, Request Review command approvals, read-only guards, prompt budgets, and Context7 socket forwarding isolate execution.
- [Release and SRE](/llms.mdx/docs/architecture/release-and-sre.md): How lanes enter staging through the serialized merge queue, clear merge policies and proof bisection, 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, manages mode/approvals/Observer, 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, 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): Directory trees and lock files inside the v2 request state home, host paths outside --home, the one-time layout migration, and legacy v1 state layout.
- [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, factory mode, command approval, and Observer endpoint reference plus 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.
- [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 and author Go and TypeScript tests, and follow repository rules.
- [Extend the factory](/llms.mdx/docs/development/extending.md): Step-by-step recipes to add CLI verbs, UI actions, project settings, 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 FactoryBench, budgets per-test CPU, and what remains open.
- [Troubleshoot host and run issues](/llms.mdx/docs/development/troubleshooting.md): Diagnose and fix macOS, Colima cage, SSH auth, mode.json, Request Review approval, merge sync, verification, mail, and Operator lockout issues.

## Optional

- [Full documentation corpus](/llms-full.txt): Single-file concatenation of every documentation page for full-context loading.
- [Repository agent rules](/agents.md): Setup steps, model selection, build commands, and changelog format rules.

Connect your coding agent

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

Read AGENTS.md and factory/llms.txt before changing code under factory/.
Run go -C factory test -short ./tests/unit/... 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.txtfactory/llms.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>.mdcontent/docs/<slug>.mdxProcessed Markdown for one specific page
Repo agent guide/agents.mdAGENTS.mdSetup, model config, build safety, and PR rules

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 factory/docs-site/. CI and local checks enforce bun run check:llms.

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