Repository navigation
CM5: read the workers.dev subdomain from the Cloudflare connection - #7
Merged
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 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 CM4 (shipped in #5, tagged baseline-v1) and record CM5 (CM-6).
- Make the docs say what CM4 built: risk CM-B and design §2/§7 no longer
list wrangler vars or call CM-B open; the status file no longer cites a
.dev.vars.example that CM4 folded into .env.example; the epic README's
gate says offline is terraform validate only.
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
- blueprint.yaml: the subdomain input is `from: connection.cloudflare.workersSubdomain`, as cirrus-baseline since baseline-v23 (#30); the console renders no field for it - testing/manifest.test.sh: cirrus's rule verbatim, accepting the source only when spec.requires.integrations lists its provider (mutation-checked) - repo-blueprint.yaml, BOOTSTRAP.md, docs/phases/README.md: only a hand-run build passes --set subdomain - records: CM-7 under CM5, status, plan, epic index, ai/context 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:19
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.
Mirrors cirrus-baseline #30 (baseline-v23). Task CM-7, the second task of CM5 — the cirrus standard.
What changes
The
subdomaininput was typed by hand, though it belongs to the Cloudflare account the same way its id does and has exactly one right answer. A wrong value surfaced only after deploy — in the deploy's smoke (itsDEPLOYED_URL), the phase probes and the console's verify URLs.blueprint.yaml(the console card):subdomaindeclaresfrom: connection.cloudflare.workersSubdomain. The Cloudflare integration reads the subdomain at connect and on its hourly health check, and the bootstrap door fills the input from the connection the build is bound to — the same connectionCLOUDFLARE_ACCOUNT_IDand the deploy tokens mint from. The console renders no field for it; an account with no workers.dev subdomain is refused at the door with the fix named. Key, label, pattern, help and example are unchanged.testing/manifest.test.sh: cirrus-baseline's rule, byte for byte — the new source is accepted, and only whenspec.requires.integrationslists its provider (cloudflareis listed).repo-blueprint.yaml,BOOTSTRAP.md,docs/phases/README.md: a console or--from bst_…build gets the subdomain from the connection; only a hand-run build passes--set subdomain. The input and its default stay.tasks/CM-7.TaskContract.yaml; CM5 inepic.yamlgains CM-7 and an exit criterion;IMPLEMENTATION-STATUS.md(row → CM5: the cirrus standard — no kiox, generated component docs, the context pack #6, CM5: read the workers.dev subdomain from the Cloudflare connection #7, taggedbaseline-v2, plus a section for CM-7), the epic README, the epics index,implementation-plan.md,ai/context/current.mdanddecisions.md.Nothing a storefront carries changes: none of these files ship, and the leak gate still derives the same 147 files.
Verified locally
testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer,wire}.test.sh— all exit 0.python3 tooling/catalog/gen-component-docs.py --check— exit 0 (3 components).blueprintjob's pin):orun new --statusreads the document (01-productpending, 147 files);testing/leak.test.shexit 0 (147 files derived; 140 shipped sources name no factory path).testing/placement.test.shexit 0 — 147 files placed, two landings; the product's own plan appliescloudflare-r2at level 0 and deployswebat level 1 on stage and prod; the 02-docs merge plans 0 jobs;--resumea no-op.cloudflaredropped fromspec.requires.integrations,manifest.test.shexits 1 with exactly one finding —inputs[subdomain].from is 'connection.cloudflare.workersSubdomain' but spec.requires.integrations does not list cloudflare; restored, it exits 0.orun task check CM-7—complete yes.Generated by Claude Code