Skip to content

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

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

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

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

This brings the baseline to cirrus-baseline's standard. The counter itself is untouched: no changes to app code, versions, the lockfile or the stack-tectonic pin.

What changes

  • No kiox. kiox.yaml and kiox.lock pinned orun v2.15.0, but nothing ran that pin. Every workflow pins orun through orun-action's version:, and those pins are unchanged. Removed:

    • kiox.yaml and kiox.lock
    • the root-kiox and root-kiox-lock modules, including their entries in 01-product
    • the testing/phases.test.sh partition entries for those modules
    • the rebrand's ^kiox\.lock$ skip
  • Generated component docs. tooling/catalog/gen-component-docs.py writes docs/{overview,architecture,runbook}.md for each of the three components (apps/web, infra/terraform/cloudflare-kv, tests/web) from what the component declares. The script is byte-identical to the one in HA4: the cirrus standard — no kiox, generated component docs, the context pack hono-api#5. Baseline CI's baseline-contract job now runs it with --check.

  • The context pack. New ai/context/current.md, decisions.md (11 decisions, each with its source) and open-risks.md (KR-G). These pages belong to this repository. No module places them, so a product still ships exactly operations.md + deployment.md.

  • Status matches the tags. KR4 said "this PR (KR-5), to be tagged baseline-v1". It now reads #5 (KR-5), tagged baseline-v1. The same fix is in:

    • the epic README (Status, Cluster, Shipped as, milestones)
    • specs/epics/README.md
    • implementation-plan.md ("cut baseline-v1" is now ✅)

    KR5 (KR-6) is recorded as a new milestone in epic.yaml, tasks/KR-6.TaskContract.yaml, a plan section and the status sections.

Verified locally

  • testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer,wire}.test.sh green. gen-component-docs.py --check green (3 components, 9 pages).
  • orun new --status at v2.58.11: 01-product places 73 files, 02-docs is hook-only.
  • testing/leak.test.sh at v2.58.11: 73 files derived. That is the 66 on main, minus the 2 kiox files, plus 9 docs pages. 66 shipped sources name no factory path.
  • testing/placement.test.sh at v2.78.4 (the pin this workflow uses for it): 73 files placed. On a push to main, the product's own plan applies cloudflare-kv on stage and prod before web deploys. On a PR nothing waits. The 02-docs merge plans 0 jobs.
  • pnpm install --frozen-lockfile, wire:fixture + git diff --exit-code, typecheck, lint, test (7 tests), build: all green.
  • testing/e2e.test.sh at v2.78.4 green (2m43s). The stage lane runs in a staged job tree with VIEWS bound to the stage document's id. Then wrangler dev serves the Worker, the component's own smoke passes, and the count goes 2 → 3.
  • orun task check KR-6: complete.

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 three components
  from what each 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 KR4 (shipped, tagged baseline-v1) and record KR5 (KR-6).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
Nothing outside this milestone's own record names kiox — the record of
the removal necessarily does.

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:40
@ruehowl
ruehowl merged commit 16bee6f 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