Skip to content

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

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 the baseline to cirrus-baseline's standard. Nothing about the app changes: no app code, versions, lockfile or stack-tectonic pin.

What changes

  • No kiox. kiox.yaml and kiox.lock pinned orun v2.15.0, but nothing ran it. Every workflow pins orun through the version: of orun-action, and those pins are untouched. Removed along with the two files:

    • the root-kiox and root-kiox-lock modules, and their entries in 01-product;
    • their entries in the testing/phases.test.sh partition;
    • the rebrand's ^kiox\.lock$ skip.
  • Generated component docs. tooling/catalog/gen-component-docs.py writes docs/{overview,architecture,runbook}.md for all six components (apps/web, packages/db, infra/db-migrate, infra/terraform/supabase, tests/{web,db}) from what each component declares. It is byte-identical to the generator 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. Adds ai/context/current.md, decisions.md (12 decisions, each with its source) and open-risks.md (SP-M, SP-N). These pages are this repository's own. No module places them, so a product still ships exactly operations.md and deployment.md.

  • Status matches the tags. SP5 said "🔄 In review (SP-6), this branch claude/blissful-ptolemy-c5ajf8". It now reads ✅ Shipped, #6, tagged baseline-v1. Updated in:

    • the status file;
    • the epic README (Status, Cluster, Shipped as, milestones);
    • specs/epics/README.md;
    • implementation-plan.md.

    design.md §5 now also lists 020_row_level_security.

  • SP6 recorded as a new milestone (task SP-7). It is in epic.yaml, tasks/SP-7.TaskContract.yaml, a plan section and the status sections.

Verified locally

  • testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer}.test.sh green. gen-component-docs.py --check green (6 components, 18 pages).
  • orun new --status at v2.58.11: 01-product has 181 files; 02-docs is hook-only.
  • testing/leak.test.sh at v2.58.11: 181 files derived, up from 165 on main (minus the 2 kiox files, plus 18 docs pages). ai/context is still exactly the two declared pages, and no shipped file names a factory path.
  • testing/placement.test.sh at v2.58.11: 181 files placed across both landings. The product's own plan runs supabase → db-migrate → web, enforced. --resume changes nothing.
  • pnpm install --frozen-lockfile, wire:fixture, typecheck, lint, test and build are green. test ran 53 tests: 42 web and 11 db.
  • testing/e2e.test.sh at v2.78.4 is green (6m13s). It ran over a local Supabase (GoTrue v2.180.0, PostgREST v12.2.12) and covered:
    • the db-migrate and web lanes in staged job trees;
    • a sign-up, sign-out and sign-in, with no Stripe key set;
    • 0 of 5 public tables without RLS.
  • orun task check SP-7: complete.

Worth knowing

The generator documents a component's WIRING_* secrets only from a top-level spec.secretEnv. apps/web declares its WIRING_SUPABASE_{STAGE,PROD} per environment, under subscribe.environments[].secretEnv, so apps/web/docs/architecture.md has no "Wiring" section. The page is incomplete, not wrong. The generator is shared and byte-identical across repositories, so I left it unchanged here.


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 six 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 SP5 (shipped, tagged baseline-v1) and record SP6 (SP-7).

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 e46e5f6 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