Repository navigation
PS5: the cirrus standard — no kiox, generated component docs, the context pack - #6
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings platforms-starter-kit to cirrus-baseline's standard. The product itself (the app, the KV root, the tests) is unchanged.
What changes
kiox.yaml/kiox.lockand theirroot-kiox/root-kiox-lockblueprint modules are gone, along with the rebrand skip entry and thephases.test.shpartition entries. Nothing ran the kiox pin (v2.15.0). Every workflow pins orun itself throughorun-actionversion:(v2.58.11 for the blueprint read and the leak gate, v2.78.4 for placement, e2e andci.yml).apps/web,infra/terraform/cloudflare-kvandtests/webeach havedocs/overview.md,docs/architecture.mdanddocs/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.ai/context/current.md,decisions.mdandopen-risks.mdsit next to the two pages that ship. They describe this repository and no module places them, soai/contextin a product is still exactly the two declared pages.baseline-v1". It now reads #5 (PS-5), taggedbaseline-v1. The epic README's stale "Shipped as | main after PS3: ready to instantiate #4" and its Status row are fixed. Thespecs/epics/README.mdindex row now names the tag and the pending live bootstrap. The plan's "After PS4" step 1 (cutbaseline-v1) is marked done. PS5 (task PS-6) is recorded inepic.yaml, the plan, the status file and both READMEs.epic.yaml'sstate: completedis left as it was.Verified locally (pinned orun, as CI)
testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer,wire}.test.shpass.gen-component-docs.py --checkpasses (3 components, 9 pages).testing/leak.test.sh(v2.58.11): 91 files derived (84 onmain− 2 kiox + 9 doc pages). 85 shipped sources name no factory path, andai/contextis 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 ownorun planappliescloudflare-kv(level 0) before it deploysweb(level 1) on stage and prod. A PR plan waits on nothing, the 02-docs merge plans 0 jobs, and--resumechanges nothing.pnpm install --frozen-lockfile,wire:fixture+git diff --exit-code,typecheck,lint(upstream's twoanywarnings),test(28 tests in 6 files) andbuildpass.testing/e2e.test.sh(v2.78.4) passes. It covers the stage lane's planned steps in a staged job tree,wrangler devover the built Worker and the component's smoke. A tenant is created through the landing form, read back by path, by/adminand by Host header, and then deleted.terraform fmt -check,init -backend=falseandvalidate(1.15.3) oninfra/terraform/cloudflare-kvpass.orun task check PS-6reports complete.Noticed, not changed here:
infra/terraform/cloudflare-kv/terraform/backend.tf's comment says "S3 backend details are set via CLI args", butmain.tfdeclaresbackend "http" {}.Generated by Claude Code