Repository navigation
SA6: the cirrus standard — no kiox, generated component docs, the context pack, subdomain from the connection - #7
Merged
Conversation
…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 SA5 (shipped, tagged baseline-v1), bring design.md's migration
list and supabase root line up to SA5, and record SA6 (SA-7).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
- blueprint.yaml: `subdomain` is `from: connection.cloudflare.workersSubdomain`, as cirrus-baseline since baseline-v23 — the console renders no field for it; the bootstrap door fills it from the connection the build is bound to. - testing/manifest.test.sh takes cirrus-baseline's rule verbatim: the source is accepted only when spec.requires.integrations lists its provider (mutation-checked). - repo-blueprint.yaml, BOOTSTRAP.md and docs/phases/README.md say only a hand-run build passes --set subdomain. - Record it as SA-8, SA6's second task; SA6 ships as baseline-v2 (#7). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
ruehowl
marked this pull request as ready for review
October 21, 2026 12:16
ruehowl
added a commit
that referenced
this pull request
Oct 22, 2026
* SA6: the cirrus standard — no kiox, generated component docs, the context 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 SA5 (shipped, tagged baseline-v1), bring design.md's migration
list and supabase root line up to SA5, and record SA6 (SA-7).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
* SA6: read the workers.dev subdomain from the Cloudflare connection
- blueprint.yaml: `subdomain` is `from: connection.cloudflare.workersSubdomain`,
as cirrus-baseline since baseline-v23 — the console renders no field for
it; the bootstrap door fills it from the connection the build is bound to.
- testing/manifest.test.sh takes cirrus-baseline's rule verbatim: the source
is accepted only when spec.requires.integrations lists its provider
(mutation-checked).
- repo-blueprint.yaml, BOOTSTRAP.md and docs/phases/README.md say only a
hand-run build passes --set subdomain.
- Record it as SA-8, SA6's second task; SA6 ships as baseline-v2 (#7).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
* SA7: the console asks for no domain — the domain is set later
The app goes live on workers.dev from its first deploy and nothing in the
build needs a domain — Stripe's redirects return to BASE_URL, the
workers.dev URL until an owner sets it — so the console's Product step no
longer asks for one. The logic that uses a domain stays where it is,
waiting for one.
- blueprint.yaml: no productdomain input
- repo-blueprint.yaml: productdomain is optional, default empty
- rebrand.mjs: productdomain no longer required; empty brands the reserved
placeholder <reponame>.example.com (RFC 2606) where the domain goes
(BASE_DOMAIN in dev, stage and prod), so setting it later is replacing
one string; Stripe's URLs still follow BASE_URL
- the product README and ai/context/operations.md say how to set it
- testing/fixtures/acme.json carries no domain; rebrand.test.sh pins the
placeholder; baseline.yml's blueprint read sets no domain
- records: SA7 / SA-9, tagged baseline-v3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
---------
Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the baseline to cirrus-baseline's standard, and has the console card read the workers.dev subdomain from the Cloudflare connection, as cirrus-baseline does since baseline-v23 (#30 there). Nothing about the app changes: no app code, versions, lockfile or stack-tectonic pin.
There are two commits, both under the new milestone SA6 — the cirrus standard, with tasks SA-7 and SA-8. The records are written as they will read once
baseline-v2is cut from the merge: SA6 shipped, #7 (SA-7, SA-8), taggedbaseline-v2.What changes
1. The cirrus standard (SA-7)
No kiox.
kiox.yamlandkiox.lockpinned orun v2.15.0, but nothing ran it. Every workflow pins orun through theversion:oforun-action, and those pins are untouched. Removed along with the two files:root-kioxandroot-kiox-lockmodules, and their entries in01-product;testing/phases.test.shpartition;^kiox\.lock$skip.Generated component docs.
tooling/catalog/gen-component-docs.pywritesdocs/{overview,architecture,runbook}.mdfor all seven components (apps/web,packages/db,infra/db-migrate,infra/terraform/{supabase,cloudflare-hyperdrive},tests/{web,db}) from what each component declares. That makes 21 pages. The generator is byte-identical to the one on the 17 sibling starters. Baseline CI'sbaseline-contractjob now runs it with--check.The context pack. Adds
ai/context/current.md,decisions.md(12 decisions from SA-7, each with its source; SA-8 adds a 13th) andopen-risks.md(SA-M, the one risk still OPEN). These pages are this repository's own. No module places them, so a product still ships exactlyoperations.mdanddeployment.md.Status matches the tags. SA5 said "🔄 In review (SA-6), this branch
claude/blissful-ptolemy-c5ajf8". It now reads ✅ Shipped, #6 (SA-6), taggedbaseline-v1. Updated in:specs/epics/README.md;implementation-plan.md(SA5 ✅, plus a new SA6 section).design.md§3 and §5 now list all four migrations (020_app_secretsand030_row_level_securitywere missing). They also no longer say the supabase root reads the API keys, which SA5 removed.SA6 recorded. It is in
epic.yaml,tasks/SA-7.TaskContract.yamland the status sections.2. The subdomain from the Cloudflare connection (SA-8)
blueprint.yaml:subdomainis nowfrom: connection.cloudflare.workersSubdomain. The comment above it says why: the subdomain belongs to the account just as its id does, and it has exactly one right answer. A typed value could only be wrong, and a wrong one showed up only after deploy: inBASE_URL, the smoke, the probes and the verify URLs. The bootstrap door fills the input from the connection the build is bound to. The console renders no field for it. The key, label, pattern, help and example are unchanged.testing/manifest.test.shtakes cirrus-baseline's rule verbatim, and the file is now byte-identical to cirrus-baseline's. Aconnection.<provider>.<fact>source is accepted only whenspec.requires.integrationslists that provider. The card lists[github, cloudflare, supabase].repo-blueprint.yamlkeeps the input and its default. Its description,BOOTSTRAP.mdanddocs/phases/README.mdnow say that a console or--from bst_…build reads the value from the connection, and only a hand-run build passes--set subdomain.Records:
tasks/SA-8.TaskContract.yamlis added;current.mdnow namesbaseline-v2as the latest tag;decisions.mdgains row 13.No risk entry was about a hand-typed subdomain, so the risk register is unchanged.
Verified locally
testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer}.test.share green after each commit.gen-component-docs.py --checkis green (7 components, 21 pages).orun new --statusat v2.58.11:01-producthas 159 files (140 onmain: minus the 2 kiox files, plus 21 docs pages).02-docsis hook-only.testing/leak.test.shat v2.58.11: 159 files derived, 157 text files read. ai/context is still exactly the two declared pages, and no shipped file names a factory path.testing/placement.test.shat v2.58.11: 159 files placed, both landings. The product is branded and re-tenanted, and the record is rendered. The product's own plan orders supabase → cloudflare-hyperdrive → db-migrate → web on stage and prod, enforced.--resumechanges nothing.pnpm install --frozen-lockfile,wire:fixture,typecheck,lint,testandbuildare all green:wire:fixtureleft the tree unchanged;lintreported 0 errors and upstream's 4 warnings;testran 37 tests: 27 intests/weband 10 intests/db.testing/e2e.test.shat v2.78.4 is green. It covered:deploy-dry-run;wrangler devwith no Stripe key and noAUTH_SECRET: the smoke, a sign-up, the dashboard and a sign-in;anonandauthenticatedreading none of the rows.cloudflaredropped fromspec.requires.integrations,manifest.test.shfails with exactly one finding, naminginputs[subdomain]. Restored, it passes.orun task check SA-7andorun task check SA-8: both complete.Worth knowing
connection.cloudflare.workersSubdomainsource.baseline-v2should be cut only once that change is live.Generated by Claude Code