Skip to content

PD5: 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 postgres-drizzle-starter to cirrus-baseline's standard, the same change sourceplane/hono-api#5 made. Task PD-6, milestone PD5. Nothing about the product changes: no app code, versions, lockfile or stack-tectonic pin.

What changes

  • No kiox. Removed kiox.yaml/kiox.lock (pinned v2.15.0, which nothing ran), the root-kiox and root-kiox-lock modules, their entries in the testing/phases.test.sh partition, and the ^kiox\.lock$ rebrand skip. orun stays pinned where it runs (each workflow's orun-action version:, untouched).
  • Generated component docs. tooling/catalog/gen-component-docs.py (byte-identical to the pilot's) writes docs/{overview,architecture,runbook}.md for all 7 components: apps/web, packages/db, infra/db-migrate, infra/terraform/{supabase,cloudflare-hyperdrive} and tests/{web,db}. That is 21 pages, each read and checked against its manifest, Terraform and migrations. Baseline CI's baseline-contract job now runs the generator with --check.
  • Context pack. Added ai/context/current.md, decisions.md (12 rows) and open-risks.md (PD-J open). These are this repository's own pages; no module places them.
  • Status matches the tags and the code:
    • PD4 changed from "🔄 In review … branch claude/blissful-ptolemy-c5ajf8" to ✅ Shipped | #5 (PD-5), tagged baseline-v1. The epic README (Status, Cluster, Shipped as) and the specs/epics/README.md index row are updated to match.
    • The empty heading "metadataBase from NEXT_PUBLIC_SITE_URL" now has content. Upstream hard-codes https://postgres-drizzle.vercel.app. app/layout.tsx reads NEXT_PUBLIC_SITE_URL instead (falling back to localhost), and the deploy build sets it from SITE_URL or the workers.dev URL (PD-G).
    • The unlabeled "Verified" section that said "4 tests" is now Verified (PD1–PD3), with a note. The section was not deleted: it records what was checked then, and tests/web held exactly 4 tests at PD1: the profiles table on Workers #2, PD2: Supabase and Hyperdrive from Terraform #3 and PD3: ready to instantiate #4.
    • New risk PD-J — No live bootstrap yet (OPEN), written in the register's own style. It lists what is proven offline and what only a bootstrap can prove.
    • implementation-plan.md gets ✅ on PD4 and a new PD5 section.
  • Recorded PD5 in epic.yaml (milestone with 4 exit criteria; state: unchanged) and tasks/PD-6.TaskContract.yaml, and added a status table plus a Verified (PD5) section.

Verified locally (pinned binaries, as the workflows run them)

  • testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer}.test.sh are all green. gen-component-docs.py --check is green (7 components, 21 pages).
  • orun new --status (v2.58.11) reports 01-product at 126 files (was 107: −2 kiox, +21 docs pages) and 02-docs as hook-only.
  • testing/leak.test.sh (v2.58.11) derives 126 files and reads 123 text files. ai/context is still exactly the 2 declared pages, and no factory path ships.
  • testing/placement.test.sh (v2.58.11): 126 files placed, both landings branded and re-tenanted. The product's plan converges supabase → cloudflare-hyperdrive → db-migrate → web, enforced, on stage and prod, and resolves exactly the 5 minted keys.
  • Checks sequence (pnpm install --frozen-lockfile, wire:fixture + diff, typecheck, lint, test, build) is green: 29 tests (17 web + 12 db), 0 lint warnings.
  • testing/e2e.test.sh (v2.78.4) is green:
    • 3 migrations applied to a local Postgres with Supabase's roles; a second apply applies nothing.
    • The stage web lane's 5 steps pass in the staged tree.
    • 8 concurrent first requests leave exactly the 3 seed rows, and the smoke passes.
    • anon and authenticated read 0 rows.
    • This run was on the tree identical to the head commit apart from one non-shipping status doc.
  • orun task check PD-6 reports complete yes.
  • git grep -i kiox finds nothing outside the records of its removal (specs, tasks, ai/context).

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 they declare (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 PD4 (shipped, tagged baseline-v1); give the empty metadataBase
  heading its content; label the PD1–PD3 Verified section (its 4 tests);
  add risk PD-J (OPEN) for the missing live bootstrap; record PD5 (PD-6).

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.
- Word the kiox exit criterion as it can be true: 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 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 993f1aa 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