Skip to content

TU6: the cirrus standard — no kiox, generated component docs, the context pack - #7

Merged
ruehowl merged 2 commits into
mainfrom
claude/brave-mccarthy-4l2qxb
Oct 21, 2026
Merged

ruehowl merged 2 commits into
mainfrom
claude/brave-mccarthy-4l2qxb

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Brings turso-starter to cirrus-baseline's standard, the same change sourceplane/hono-api#5 made. Task TU-7, milestone TU6. Nothing about the product changes: no app code, versions, lockfile or stack-tectonic pin.

What changes

  • No kiox. Removed kiox.yaml and kiox.lock; they pinned v2.15.0, which nothing ran. Also removed the root-kiox and root-kiox-lock modules, their entries in the testing/phases.test.sh partition, and the ^kiox\.lock$ rebrand skip. orun stays pinned where it runs (each workflow's orun-action version:, untouched).
  • Generated component docs. tooling/catalog/gen-component-docs.py writes docs/{overview,architecture,runbook}.md for all 6 components (apps/web, packages/db, infra/db-migrate, infra/terraform/cloudflare-d1, tests/{web,db}): 18 pages, each read against its manifest, Terraform and migrations. The script is the coordinator's updated version, with prettier-padded tables, and is byte-identical to the one the other repos get. Baseline CI's baseline-contract job now runs it with --check.
  • Context pack. Added ai/context/current.md, decisions.md (12 rows) and open-risks.md (TU-E open). These are this repository's own pages; no module places them.
  • Status matches the tags.
    • The TU5 row said "🟡 In review … this PR (TU-6), to be tagged baseline-v1". It now reads ✅ Shipped | #6 (TU-6), tagged baseline-v2.
    • The TU4 row now names its tag (#5 (TU-5), tagged baseline-v1).
    • Fixed the same staleness in the epic README (Status, Cluster, Shipped as) and the specs/epics/README.md index row.
    • implementation-plan.md marks TU5 ✅. Its "After TU5" step 1 told you to cut baseline-v1; it now says the tag was cut as baseline-v2.
    • An unlabeled "Verified" section still said "the table created on first render, 3 tests". It is now Verified (TU1–TU3); tests/web held exactly 3 tests at TU1: the todos on D1 #2, TU2: the D1 database from Terraform #3 and TU3: ready to instantiate #4.
  • TU6 recorded.
    • epic.yaml gains the milestone with 4 exit criteria; state: is unchanged. The kiox criterion reads "nothing outside this milestone's own record names kiox".
    • New task contract tasks/TU-7.TaskContract.yaml.
    • The plan and the status file each gain a TU6 section, the status file also a Verified (TU6) section.

Verified locally (pinned binaries, as the workflows run them)

  • Contract tests: testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer,wire}.test.sh all green. gen-component-docs.py --check green (6 components, 18 pages).
  • orun new --status (v2.58.11): 01-product places 106 files (was 90: −2 kiox, +18 docs pages). 02-docs is hook-only.
  • testing/leak.test.sh (v2.58.11): 106 files derived. ai/context is still exactly the 2 declared pages. 100 shipped sources name no factory path.
  • testing/placement.test.sh (v2.78.4, as baseline.yml runs it):
    • 106 files placed, branded and re-tenanted.
    • On the 01-product merge, the product's plan runs cloudflare-d1 (level 0), then db-migrate (level 1), then web (level 2), with stage and prod side by side.
    • On a PR nothing waits, and 02-docs plans 0 jobs.
  • Checks sequence: pnpm install --frozen-lockfile, wire:fixture + git diff --exit-code, typecheck, lint, test and build all green. 21 tests (7 web, 14 db).
  • testing/e2e.test.sh (v2.78.4): green.
    • The stage web lane's 4 steps pass in the staged tree.
    • The db-migrate lane plans offline, applies both migrations to the stand-in D1 API, and a second apply applies nothing.
    • Under wrangler dev, the smoke refuses the page before migration and passes after db:migrate:local. A todo is added, listed and removed through the server actions.
    • This run used the first generator's pages. The pages were regenerated with the updated generator before the commit; that changes only markdown formatting in the components' docs/, and Checks above ran on the final commit.
  • orun task check TU-7: complete yes.

Generated by Claude Code

…text pack

- Remove kiox.yaml/kiox.lock and their two blueprint modules: nothing ran
  the kiox pin (v2.15.0); every workflow pins orun through orun-action.
- Generate docs/{overview,architecture,runbook}.md for all six components
  from what they declare (tooling/catalog/gen-component-docs.py), and fail
  Baseline CI when they drift (--check).
- Add ai/context/{current,decisions,open-risks}.md (this repository's own;
  nothing places them).
- Close out TU5 (shipped, tagged baseline-v2; baseline-v1 is TU4), label
  the TU1–TU3 Verified section, and record TU6 (TU-7).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
The generator now reads `optionalSecretEnv` (listed as "(optional)") and
secrets declared per environment under `subscribe.environments[]`, so a
page no longer leaves out a secret its component declares. Its tables are
laid out as prettier lays them out, the WIRING_* failure is listed only
for Workers that take wiring, and a package is no longer said to hold no
credentials. Every starter now carries the identical generator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
@ruehowl
ruehowl marked this pull request as ready for review October 18, 2026 14:39
@ruehowl
ruehowl merged commit 8772d59 into main Oct 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants