Skip to content

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

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

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

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Brings supabase-starter to cirrus-baseline's standard. The product itself (the app, the Supabase root, the tests) is unchanged.

What changes

  • kiox removed. kiox.yaml/kiox.lock and their root-kiox/root-kiox-lock blueprint modules are gone, along with the rebrand skip entry and the phases.test.sh partition entries. Nothing ran the kiox pin (v2.15.0). Every workflow pins orun itself through orun-action version: (v2.58.11 for the blueprint job, v2.78.4 for the product job and ci.yml).
  • Component docs. apps/web, infra/terraform/supabase and tests/web each have docs/overview.md, docs/architecture.md and docs/runbook.md, as cirrus-baseline's components do. tooling/catalog/gen-component-docs.py (byte-identical to the pilot's) generates them from what each component declares: the manifest, the Worker config and its bindings, the Terraform resources and published outputs, and package scripts. A new Baseline CI step runs it with --check, so a manifest change without regenerated pages fails. The pages ship with the component and name no factory path; the leak gate confirms this.
  • Context pack. ai/context/current.md, decisions.md and open-risks.md sit next to the two pages that ship. They describe this repository and no module places them, so ai/context in a product is still exactly the two declared pages.
  • Status docs match the tags. SS5 was still "🔄 In review (SS-6), this branch claude/blissful-ptolemy-c5ajf8": it is now shipped, #6, tagged baseline-v2. SS4 is shipped, #5, tagged baseline-v1. implementation-plan.md gets SS4's ✅ and the SS5 section it never had. The epic README ("Shipped as | main after SS3: ready to instantiate #4") and the specs/epics/README.md index row ("SS5 in review") are brought up to date. SS6 (task SS-7) is recorded in epic.yaml, the plan, the status file and both READMEs.

Verified locally (pinned orun, as CI)

  • testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer}.test.sh pass. gen-component-docs.py --check passes (3 components, 9 pages).
  • testing/leak.test.sh (v2.58.11): 112 files derived (105 on main − 2 kiox + 9 doc pages), 104 text files read, no factory path or provenance wording; ai/context is still exactly the two declared pages.
  • testing/placement.test.sh (v2.58.11): 112 files placed, the offline bootstrap of both landings, branded and re-tenanted, and the product's own orun plan holds supabase → web enforced on stage and prod. --resume changes nothing.
  • pnpm install --frozen-lockfile, wire:fixture, typecheck, lint, test (25 tests in 7 files) and build pass.
  • testing/e2e.test.sh (v2.78.4) passes: the Checks sequence on the 01-product landing, the stage lane's planned steps in a staged job tree, and wrangler dev over the built Worker against the local Supabase stand-in. That covers the smoke, every route, sign-up and sign-in, the origin assertions, and the tutorial's table under RLS. Its Terraform step skips when terraform isn't on PATH, so I ran terraform fmt -check, init -backend=false and validate (1.15.3) on the root separately. They pass and the lock file is unchanged.
  • orun task check SS-7 reports complete.

Noticed, not changed here: testing/lib/__pycache__/fake-supabase-api.cpython-313.pyc is tracked on main, a stray bytecode file.


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 every component
  (web, supabase, web-tests) from what it declares
  (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 SS5 (shipped, tagged baseline-v2) and SS4's plan entry
  (shipped, tagged baseline-v1; the plan gains its missing SS5 section),
  and record SS6 (SS-7).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
This milestone's own record (the status file, the plan, epic.yaml, the
task contract, ai/context) says that kiox was removed, so "no file names
kiox" could never hold literally. The criterion is now that nothing
outside this milestone's own record names kiox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
The generator now lays tables out the way prettier does (an app whose lint
is `prettier --check` accepts the pages as written), lists the WIRING_*
failure only for Workers that take wiring, and no longer claims a package
holds no credentials.

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 ed0e2ae 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