Skip to content

ND6: the console asks for no domain — the domain is set later - #8

Merged
ruehowl merged 5 commits into
mainfrom
claude/brave-mccarthy-4l2qxb
Oct 22, 2026
Merged

ruehowl merged 5 commits into
mainfrom
claude/brave-mccarthy-4l2qxb

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Why

The console's Product step asked for the site's domain, and its help text said the domain did not need to exist. Nothing in the build needs one:

  • the site answers on workers.dev from its first deploy;
  • every link it renders is relative, and no canonical URL, sitemap or Open Graph base is built from a domain;
  • the only place the repository names the domain is BASE_DOMAIN in intent.yaml, for 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.

What changes

  • blueprint.yaml: the card no longer declares productdomain. The Product step asks only for the site's name.
  • repo-blueprint.yaml: productdomain is optional, with an empty default. A hand-run build can still pass --set productdomain= for a site that already has its domain. No hook, probe or when: reads it. Only the .rebrand/values.json template does, and it writes "".
  • tooling/rebrand/rebrand.mjs: productdomain is no longer required. When it is empty, the rebrand writes the reserved placeholder <reponame>.example.com wherever the domain goes. RFC 2606 reserves that name, so it can never be someone else's domain. Setting the real domain later means replacing that one string.
  • The product's README ("Custom domain") and ai/context/operations.md: both ship with the site. They now tell the owner to attach the domain in Cloudflare and replace the placeholder in BASE_DOMAIN.
  • Tests and CI
    • testing/fixtures/acme.json carries no domain, so the leak gate, the offline bootstrap and e2e run with exactly what a console build supplies.
    • testing/rebrand.test.sh pins the placeholder for both an absent and an empty domain.
    • baseline.yml's blueprint read sets no domain.
  • Factory docs: BOOTSTRAP.md, README.md and docs/phases/README.md drop --set productdomain= and list three required inputs.
  • Records: new milestone ND6 with task ND-8, written up as tagged baseline-v3.

Verified locally

check result
testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer}.test.sh all exit 0. rebrand.test.sh has 29 checks; the 2 new ones fail against the old rebrand.mjs
gen-component-docs.py --check exit 0 (2 components)
orun new --status (orun v2.58.11) with no productdomain exit 0; 01-product pending, 61 files
testing/leak.test.sh (orun v2.58.11) ok; 61 files derived, ai/context exactly the 2 declared pages
testing/placement.test.sh (orun v2.58.11, the pin of the job that runs it) ok with the no-domain fixture; 61 files placed, the site's own orun plan green, --resume places nothing again and un-brands nothing
the offline-bootstrapped site, kept and read .rebrand/values.json has "productdomain": "". BASE_DOMAIN: acme-docs.example.com appears in all 3 environments, and the README and operations.md name the same string (5 lines, 3 files). rebrand --verify finds no leftovers
orun task check ND-8 complete yes

testing/e2e.test.sh was not run locally because nothing in it reads the domain. CI runs it.


Generated by Claude Code

…text pack

- Remove kiox.yaml/kiox.lock, their two blueprint modules and the kiox
  mention in docs/phases/01-product.md: nothing ran the kiox pin
  (v2.15.0); every workflow pins orun through orun-action.
- Generate docs/{overview,architecture,runbook}.md for both 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).
- ND4 shipped, on main and untagged; reconcile ND-I with the live
  bootstrap of baseline-v1 (2026-10-15, 8m15s): the one-landing shape is
  what is not yet proven live (still OPEN); record ND5 (ND-6).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
- blueprint.yaml: the subdomain input declares
  `from: connection.cloudflare.workersSubdomain`, with the reason at the
  input, as cirrus-baseline's card does since baseline-v23; key, label,
  pattern, help and example unchanged
- testing/manifest.test.sh: cirrus-baseline's rule, byte for byte: the
  source is accepted and its provider must be in
  spec.requires.integrations (mutation-checked)
- repo-blueprint.yaml, BOOTSTRAP.md, docs/phases/README.md: a console or
  --from bst_… build reads it from the connection; only a hand-run build
  passes --set subdomain
- records: ND-7 under ND5; ND4 and ND5 tagged baseline-v2, the first tag
  of the one-landing shape (risk ND-I closes with a bootstrap from it)

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 and nothing in the
build needs a domain, 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 intent.yaml, dev/stage/prod), so setting it later is
  replacing one string
- 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: ND6 / ND-8, tagged baseline-v3

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 22, 2026 04:01
@ruehowl
ruehowl merged commit 4459eac into main Oct 22, 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