Skip to content

CR5: 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

Brings cron-starter to cirrus-baseline's standard. The app itself 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:.
  • Component docs. apps/web, infra/terraform/cloudflare-kv and tests/web now have docs/overview.md, docs/architecture.md and docs/runbook.md, 9 pages in all. They cover the KV and ASSETS bindings, the one * * * * * scheduled trigger, the KV root's resources and outputs, and the cron smoke. tooling/catalog/gen-component-docs.py generates them; it is byte-identical to the pilot's. A new Baseline CI step runs it with --check.
  • 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. The open risk is CR-K.
  • Status docs match the tags and CR4.
    • CR4's status row said "this PR (CR-5), to be tagged". It now reads #5, tagged baseline-v1. CR5 (task CR-6) is recorded in epic.yaml, the plan, the status file and the epic README.
    • The epic README's summary and the status file's "Vercel Cron → Cron Triggers" section both said the seven schedules were seven Cron Triggers, and the status section named intervalFor. Neither exists since CR4. Both now describe what is built: one * * * * * trigger (TRIGGER). Its handler in lib/scheduled.ts runs each lib/crons.ts schedule due at the trigger's scheduledTime, through worker.ts.
    • Status "Versions" called apps/web/README.md upstream's verbatim, which contradicted CR4. It is now marked as true through CR3 only.
    • The epic README's "Shipped as" row said main after CR3: ready to instantiate #4; it now names baseline-v1 (CR4: cron-starter becomes an Orun baseline #5).

Verified locally

  • testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer,wire}.test.sh pass. gen-component-docs.py --check passes (3 components).
  • testing/leak.test.sh at orun v2.58.11: 79 files derived (72 − 2 kiox + 9 doc pages), and 72 shipped sources name no factory path.
  • testing/placement.test.sh at v2.78.4 (the lane pin, as baseline.yml runs it; CR-L): 79 files placed, two landings branded, and the one trigger kept.
    • Push to main: cloudflare-kv applies at level 0, then web deploys at level 1.
    • Pull request: nothing waits. The 02-docs merge plans 0 jobs, and --resume is a no-op.
  • pnpm install --frozen-lockfile, wire:fixture (no diff), typecheck, lint (no warnings), test (34 tests) and build pass.
  • testing/e2e.test.sh at v2.78.4 passes:
    • Stage lane: its 4 steps run in the staged job tree.
    • wrangler dev --test-scheduled: the smoke refuses the Worker before any trigger has fired. At 8 crafted times the trigger runs exactly the due schedules, all 7 records read back, and the smoke then passes.
  • orun task check CR-6 reports 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 every component
  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 CR4 (shipped in #5, tagged baseline-v1) and record CR5 (CR-6).
- Make the docs say what CR4 built: the epic README's summary and the
  status file's "Vercel Cron → Cron Triggers" describe one every-minute
  trigger dispatching the seven schedules (no seven triggers, no
  intervalFor); "Versions" no longer calls apps/web/README.md upstream's.

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 24ac5b7 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