Repository navigation
BL6: the console asks for no domain — the domain is set later - #8
Merged
Merged
Conversation
…text pack, SVG uploads closed
- Close a stored XSS: uploads accepted any image/*, SVG included, and
/api/blob served it from the app's own origin. Uploads are now raster
images only (PNG, JPEG, GIF, WebP, AVIF; media type without parameters,
case-insensitive), one list in lib/blob/content-types.ts shared by the
route and the uploader's accept/check. /api/blob answers every object
with `Content-Security-Policy: default-src 'none'; sandbox` beside
nosniff, and its comment no longer claims to authenticate. tests/web
(16 tests, was 11) and testing/e2e.test.sh assert both (risk BL-L).
- 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 BL4 (shipped, tagged baseline-v1), note the footer's Vercel
logo the page-copy section left out, and record BL5 (BL-6).
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. - Word the kiox exit criterion as it can be true: 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 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 declares `from: connection.cloudflare.workersSubdomain`; the console fills it from the connection the build is bound to (the one CLOUDFLARE_ACCOUNT_ID and the deploy tokens mint from) and renders no field for it - testing/manifest.test.sh: cirrus-baseline's check, byte for byte — a `connection.<provider>.<fact>` source is accepted only when spec.requires.integrations lists the provider (mutation-checked) - repo-blueprint.yaml, BOOTSTRAP.md, docs/phases/README.md: a hand-run build still passes --set subdomain - records: BL-7 joins BL5; status, plan, epic index, current.md and decisions.md say BL5 ships as baseline-v2 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 — the page builds its absolute links from the request it answers — 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), 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: BL6 / BL-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 03:55
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's Product step asked for the site's Domain, with help text that said it did not need to exist. Nothing in the build needs one:
BASE_DOMAINinintent.yaml.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 declaresproductdomain. The Product step asks for the site's name alone.repo-blueprint.yaml:productdomainis optional, with an empty default. No hook, probe orwhen:reads it; the.rebrand/values.jsontemplate writes"". 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) wherever the domain goes:BASE_DOMAINin dev, stage and prod. Setting the real domain later means replacing that one string.ai/context/operations.mdboth ship with the product. They now say to attach the domain in Cloudflare and 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,wire}.test.shgen-component-docs.py --checkorun new --statuswith no domain (orun v2.58.11)testing/leak.test.sh(orun v2.58.11)testing/placement.test.sh(orun v2.78.4, the job's pin)--resumeplaces nothing again and un-brands nothing"productdomain": "";acme-blob-uploads.example.comin 3BASE_DOMAINlines + README + operations.md (5 lines, 3 files); 0 lines ofblob-starter.example.comleftorun task check BL-8complete yese2e (v2.78.4) was not run locally because no assertion there reads the domain. CI runs it.
Generated by Claude Code