Skip to Content
turbo-12f
Reference

Catalogues and templates

Embedded project catalogues, the must-have and default schema contracts, and the web-react starter stack.

Reference

Embedded project catalogues live under factory/catalogue/ (catalogue.Files). project.Embedded(type) loads and validates each <type>.json file against internal/project/catalogue.go.

Buildable (`web-blog`, `web-app`)

  • Starter template: Scaffolds from templates/web-react (React 19 + Hono + D1).
  • Caged checks: Builds and tests inside t12-web-blog:2 (http://127.0.0.1:8787).
  • Delivery target: cloudflare-workers (dry-run promotion).

Planning-only (`desktop`)

  • No starter template: template is "" and commands.build is empty.
  • Context only: t12 ask --type desktop plans specs; t12 confirm refuses until buildable.
  • Shared defaults: Still supplies 10 conservative planning defaults.

Catalogue registry

TypeFileVersionTitleTemplateBuildablecage_imageserve_urlDefaults
web-blogcatalogue/web-blog.json3Web blogtemplates/web-reactYest12-web-blog:2http://127.0.0.1:878718
web-appcatalogue/web-app.json2Web apptemplates/web-reactYest12-web-blog:2http://127.0.0.1:878720
desktopcatalogue/desktop.json2Desktop app""NoNoneNone10

Must-have and default contracts

Catalogue.problems requires all six IDs in exact order (project.MustHaveIDs), each with id, question, and why_ask. pages and look also require a recommended fallback.

Orderidrecommended requiredTopic
1goalNoProject purpose
2usersNoReaders, writers, or user kinds
3pagesYesNamed pages, screens, or windows
4core-journeyNoEnd-to-end user journey
5lookYesVisual style, typography, colors, and theme
6out-of-scopeNoExplicit exclusions

templates/web-react/ stack

Both web-blog and web-app scaffold React 19 + Hono + Cloudflare D1 with shared Zod v4 schemas (src/shared/posts.ts), central Worker handleError, async ESLint rules, Vitest, StrykerJS, and Playwright BDD. Unreferenced Optics primitives are pruned so new repos stay lean.

Next steps

On this page