Repository navigation
PS6: the console asks for no domain — the domain is set later - #8
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
(web, cloudflare-kv, web-tests) 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 PS4 (shipped, tagged baseline-v1; the epic README's
"Shipped as" was still at #4) and record PS5 (PS-6).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
This milestone's own record (the status file, the plan, epic.yaml, the task contract, ai/context) says that kiox was removed, so "no file names kiox" could never hold literally. The criterion is now that 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 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: PS-7 under PS5, 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 site goes live on workers.dev from its first deploy, tenants at
/s/<tenant>, and a root domain for tenant subdomains is the owner's step
after the bootstrap, so the console no longer asks for one. The logic that
uses the root domain stays where it is, carrying a placeholder.
- 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 root domain goes
(BASE_DOMAIN in intent.yaml; stage.<reponame>.example.com on stage),
inlined as NEXT_PUBLIC_ROOT_DOMAIN, so setting it later is replacing one
string
- the product README ("Tenant subdomains": replacing the placeholder is now
a step, not an option) and ai/context/operations.md say how to set it
- testing/fixtures/acme.json carries no domain; placement.test.sh and
e2e.test.sh read the fixture's domain and raised KeyError without one —
both now expect the placeholder; rebrand.test.sh pins it (absent, stage,
empty); baseline.yml's blueprint read sets no domain
- records: PS6 / PS-8, 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:04
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 tenant root domain, with help text that said it did not need to exist. Nothing in the build needs one:
/s/<tenant>);02-docs's deployment record names the root domains but never probes them.Attaching a root domain (zone, wildcard DNS, Worker route) is an owner's step after the bootstrap, so the form no longer asks for it.
The root domain's logic stays where it is.
BASE_DOMAINinintent.yaml(dev and prod;stage.<domain>on stage) is inlined by the build asNEXT_PUBLIC_ROOT_DOMAIN.proxy.tsandlib/addresses.tsroute by it, and the landing page, the subdomain form,/adminand the not-found page name it. A site built without a domain carries the reserved placeholder<reponame>.example.comin all of these places. Tenants stay at/s/<tenant>until an owner replaces that one string.What changes
blueprint.yaml: the card no longer declaresproductdomain, so the console asks for the site's name alone.repo-blueprint.yaml:productdomainis optional, with an empty default. Nothing else in the build reads it (no hook, probe orwhen:; the deployment-record hook readsBASE_DOMAINfrom the tree and does not probe it), so an empty value is harmless. A hand-run build can still pass--set productdomain=for a site 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) where the root domain goes, andstage.<reponame>.example.comon stage.ai/context/operations.md: both ship with the product.BASE_DOMAIN"only if tenants should hang off another domain". A site is now born with a placeholder nobody can own, so replacing it is its own step.operations.mdnow call the root domain a placeholder.testing/fixtures/acme.jsoncarries no domain, so the leak gate, the offline bootstrap and e2e run with exactly what a console build supplies.productdomain.testing/placement.test.shandtesting/e2e.test.shread the fixture'sproductdomainto assertBASE_DOMAINand to address tenants on the stage root. With the fixture carrying no domain, both raisedKeyError: 'productdomain'. When the fixture gives no domain, both now expect the placeholder<reponame>.example.com, the same rule the rebrand applies.testing/rebrand.test.shpins the placeholder for an absent domain (prod and stage) and an empty one.baseline.yml's blueprint read sets no domain.baseline-v3.Verified locally
testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer,wire}.test.shrebrand.mjsunder the newrebrand.test.shgen-component-docs.py --checkorun new --statuswith noproductdomain(orun v2.58.11)01-productpending, 91 filestesting/leak.test.sh(orun v2.58.11)testing/placement.test.sh(orun v2.78.4)BASE_DOMAINisacme-platforms.example.com(stagestage.acme-platforms.example.com) in the intent and in eachwebjob;cloudflare-kvapplied at level 0,webdeployed at level 1; the 02-docs merge plans 0 jobs;--resumeplaces nothing againplacement.test.shon the new fixture (orun v2.78.4)KeyError: 'productdomain'(twice): the break this fixestesting/e2e.test.sh(orun v2.78.4)stage.acme-platforms.example.com; a tenant created through the landing form is served asacme-e2e.stage.acme-platforms.example.comby Host header, kept off/adminon its host, and deleted again.rebrand/values.jsonproductdomainis""; the placeholder appears in all 3 environments'BASE_DOMAIN, the README's tenant and route examples,operations.mdand the rendereddeployment.md; no line namesplatforms-starter-kit.example.comorun task check PS-8complete yesGenerated by Claude Code