Skip to content

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

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 rag-chatbot to cirrus-baseline's standard. The chatbot 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: (v2.58.11 for the blueprint job, v2.78.4 for the product job and ci.yml).
  • Component docs. All seven components (apps/web, packages/db, infra/db-migrate, infra/terraform/supabase, infra/terraform/cloudflare-hyperdrive, tests/web, tests/db) now have docs/overview.md, docs/architecture.md and docs/runbook.md, 21 pages in all. tooling/catalog/gen-component-docs.py generates them from what each component declares: the manifest, the Worker config and its bindings (HYPERDRIVE, AI, ASSETS), Terraform resources and outputs, the four migrations, and package scripts. The generator is byte-identical to the pilot's. A new Baseline CI step runs it with --check. The pages ship with their components, and the leak gate confirms they name no factory path.
  • 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. The open risks are RG-J and RG-K.
  • Status docs match the tags. RG5 is marked shipped: #6, tagged baseline-v1. The status row no longer says it is in review on branch claude/blissful-ptolemy-c5ajf8. The epic README's Status, Cluster and "Shipped as" rows are fixed (the last still said main after RG4: ready to instantiate #5), and so is the specs/epics/README.md index row. RG6 (task RG-7) is recorded in epic.yaml, the plan, the status file and the epic README.

Verified locally

  • testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer}.test.sh pass. gen-component-docs.py --check passes (7 components).
  • testing/leak.test.sh at orun v2.58.11: 145 files derived (2 kiox files removed, 21 doc pages added), 141 text files read, and no factory path or provenance wording.
  • testing/placement.test.sh at v2.58.11: 145 files placed and both landings branded. The product's own plan runs supabase → cloudflare-hyperdrive → db-migrate → web, enforced, on stage and prod. Exactly 5 minted keys, and --resume is a no-op.
  • pnpm install --frozen-lockfile, wire:fixture, typecheck (5 packages), lint (0 errors, the one known tailwind warning), test (45: 32 in tests/web, 13 in tests/db) and build pass.
  • testing/e2e.test.sh at v2.78.4 passes, against a local Postgres with pgvector:
    • Migrations: 4 applied, and a re-apply changes nothing.
    • Web lane: builds in the staged job tree.
    • wrangler dev with the Workers AI stand-in: the smoke passes, and a document is added and answered from (score 0.83).
    • Row-level security: anon and authenticated see nothing.
  • orun task check RG-7 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 all seven 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 RG5 (shipped in #6, tagged baseline-v1) and record RG6 (RG-7).

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:38
@ruehowl
ruehowl merged commit f04448b 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