Repository navigation
SP7: the console asks for no domain — the domain is set later - #9
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 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
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
- 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: SP-8 under SP6, status, plan, epic index, ai/context Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
The app goes live on workers.dev from its first deploy, and every URL it
builds (the site URL, the Supabase Auth origin, Stripe's return URLs and
webhook) is that origin, so the console no longer asks for a domain. 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 intent.yaml, every environment), so setting it later is
replacing one string
- the product README ("Custom domain") and ai/context/operations.md say how
to set it, beside the site URL, Auth origin and Stripe webhook they list
- testing/fixtures/acme.json carries no domain; rebrand.test.sh pins the
placeholder; baseline.yml's blueprint read sets no domain
- records: SP7 / SP-9, tagged baseline-v3
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 22, 2026 04:02
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.
The console asked for the product's domain, with help text that said it did not need to exist. Nothing in the build needs one:
NEXT_PUBLIC_SITE_URL(throughgetURL(), the metadata base, the Supabase Auth callbacks, and Stripe's checkoutsuccess_url/cancel_urland portalreturn_url), the Supabase root'sapp_origin(Auth's Site URL and allow-list), and the Stripe webhook the owner registers;BASE_DOMAINinintent.yaml(dev, stage and prod).Attaching a domain is an owner's step after the bootstrap, so the form no longer asks for it. Everything that uses a domain stays in place until one is set. None of the Stripe or Auth logic changes.
What changes
blueprint.yaml: the card no longer declaresproductdomain, so the console asks for the product's name alone.repo-blueprint.yaml:productdomainis optional, with an empty default. Nothing else in the build reads it (no hook, probe orwhen:), so an empty value is harmless. A hand-run build can still pass--set productdomain=for a product that already has its domain.tooling/rebrand/rebrand.mjs:productdomainis no longer required. When it is empty, the rebrand writes the reserved placeholder<reponame>.example.com(RFC 2606, so it can never be someone else's domain) wherever the domain goes. Setting the real domain later means replacing that one string.ai/context/operations.md: both ship with the product. They already list the site URL, the Auth origin and the Stripe webhook to change for a domain. They now also say to replace the placeholder inBASE_DOMAIN.testing/fixtures/acme.jsoncarries no domain, so the leak gate, the offline bootstrap and e2e run with exactly what a console build supplies.testing/rebrand.test.shpins the placeholder for both an absent and an empty domain.baseline.yml's blueprint read sets no domain.baseline-v3.Verified locally
testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer}.test.shrebrand.mjsunder the newrebrand.test.shgen-component-docs.py --checkorun new --statuswith noproductdomain(orun v2.58.11)01-productpending, 181 filestesting/leak.test.sh(orun v2.58.11)testing/placement.test.sh(orun v2.58.11)--resumeplaces nothing again.rebrand/values.jsonproductdomainis"";BASE_DOMAIN: acme-pay.example.comin all 3 environments, plus the README andoperations.md; no line namessubscription-payments.example.comorun task check SP-9complete yesThe e2e tier was not run locally. Its URLs come from
reponameandsubdomain, not the domain, and CI runs it.Generated by Claude Code