Skip to content

PS5: the cirrus standard — no kiox, generated component docs, the context pack - #6

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 platforms-starter-kit to cirrus-baseline's standard. The product itself (the app, the KV 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 read and the leak gate, v2.78.4 for placement, e2e and ci.yml).
  • Component docs. apps/web, infra/terraform/cloudflare-kv 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 KV binding, the wiring secrets, 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. The PS4 row read "this PR (PS-5), to be tagged baseline-v1". It now reads #5 (PS-5), tagged baseline-v1. The epic README's stale "Shipped as | main after PS3: ready to instantiate #4" and its Status row are fixed. The specs/epics/README.md index row now names the tag and the pending live bootstrap. The plan's "After PS4" step 1 (cut baseline-v1) is marked done. PS5 (task PS-6) is recorded in epic.yaml, the plan, the status file and both READMEs. epic.yaml's state: completed is left as it was.

Verified locally (pinned orun, as CI)

  • testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer,wire}.test.sh pass. gen-component-docs.py --check passes (3 components, 9 pages).
  • testing/leak.test.sh (v2.58.11): 91 files derived (84 on main − 2 kiox + 9 doc pages). 85 shipped sources name no factory path, and ai/context is still exactly the two declared pages.
  • testing/placement.test.sh (v2.78.4): 91 tracked files, both landings, branded and re-tenanted. The product's own orun plan applies cloudflare-kv (level 0) before it deploys web (level 1) on stage and prod. A PR plan waits on nothing, the 02-docs merge plans 0 jobs, and --resume changes nothing.
  • pnpm install --frozen-lockfile, wire:fixture + git diff --exit-code, typecheck, lint (upstream's two any warnings), test (28 tests in 6 files) and build pass.
  • testing/e2e.test.sh (v2.78.4) passes. It covers the stage lane's planned steps in a staged job tree, wrangler dev over the built Worker and the component's smoke. A tenant is created through the landing form, read back by path, by /admin and by Host header, and then deleted.
  • terraform fmt -check, init -backend=false and validate (1.15.3) on infra/terraform/cloudflare-kv pass.
  • orun task check PS-6 reports complete.

Noticed, not changed here: infra/terraform/cloudflare-kv/terraform/backend.tf's comment says "S3 backend details are set via CLI args", but main.tf declares backend "http" {}.


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, cloudflare-kv, 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 PS4 (shipped, tagged baseline-v1; the epic README's
  "Shipped as" was still at #4) and record PS5 (PS-6).

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 2b7ff27 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