Repository navigation
feat: the console asks for no domain — the domain is set later - #365
Merged
Merged
Conversation
- blueprint.yaml: the subdomain input declares from: connection.cloudflare.workersSubdomain, with the reason at the field; the card already requires [github, cloudflare, supabase] - testing/manifest.test.sh accepts the source and requires its provider in spec.requires.integrations (cirrus-baseline's block, verbatim; mutation-checked) - repo-blueprint.yaml, BOOTSTRAP.md, docs/phases/01-scaffold.md and docs/phases/README.md: a console or --from bst_… build never asks for it; only a hand-run build passes --set subdomain - saas-lumen-baseline status: dated record, with a superseded note for the console section that called the field typed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
…06-console, parked - repo-blueprint.yaml: the `domain` input, its .rebrand/values.json key and the 07-domain phase are gone; cloudflare-domain joins 06-console (it ships parked: subscribe.environments: []) - blueprint.yaml: the programme drops the conditional 07-domain milestone (nine phases, seven milestones) - tasks/07-domain.TaskContract.yaml and docs/phases/07-domain.md deleted; what is still true is a section of docs/phases/06-console.md and a row in ai/context/operations.md; 06-console's contract says why `affects` leaves the parked component out - tests: phases.test.sh records 07-domain as folded into 06-console; leak/placement no longer force `domain` on (1083 files placed, as before); the phased sequence places 08-docs after the rebrand - tests/fixtures/acme.json drops "domain": false - docs and records: BOOTSTRAP.md, docs/phases/*, a "Since then" note on the epic's phase table, and a dated status section Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
The product answers on workers.dev from its first deploy and nothing in the build needs a domain, so the console card no longer asks for one. Everything that uses the domain stays where it is, carrying a placeholder until an owner sets it. As turso-starter #9. - blueprint.yaml: no productdomain input, and no apibaseurl (it derived from {productdomain}; a card can only derive from inputs it declares) - repo-blueprint.yaml: productdomain optional, default empty - rebrand.mjs: productdomain no longer required; empty brands the reserved placeholder <reponame>.example.com where sourceplane.ai stood as the product domain (intent BASE_DOMAIN/CONSOLE_CUSTOM_DOMAIN, edge and identity origins, mail sender, billing success URLs); with no domain the CLI default is the prod edge, https://<brandSlug>-api-edge-prod.<subdomain>.workers.dev - cloudflare-domain README examples name sourceplane.ai and sourceplane-web-console-next, so they follow the placeholder and the console Worker like baseDomain/workerNamePrefix already did (cirrus #32) - ai/context/operations.md: "Setting the domain later" - render-deployment-docs.sh: the placeholder is no domain to probe - tests: fixture carries no domain; placement checks the product's CLI default and placeholder instead of the card's derive; rebrand.test.sh covers no domain, an empty one and a given one; CI reads the blueprint with no domain - docs: BOOTSTRAP.md, docs/phases; record in saas-lumen-baseline (baseline-v4, with #364) 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 product answers on workers.dev from its first deploy, every phase probes workers.dev, and the one component that attaches a domain (
cloudflare-domain) ships parked, so nothing in the build needs a domain. With this change the console card stops asking for one. Everything that uses the domain stays where it is and carries a placeholder until an owner sets it. Same change as turso-starter #9.It goes in the same release as #364:
baseline-v4was never pushed, and it gets pushed at this PR's merge commit.What changes
Card (
blueprint.yaml): theproductdomaininput is removed.apibaseurlis removed too, because it wasderive: "https://api.{productdomain}"and a card can only derive from inputs it declares.Build (
repo-blueprint.yaml):productdomainis optional with default"". A hand-run build can still pass--set productdomain=.repo-blueprint.yamlkeepsapibaseurl(default empty).Rebrand:
productdomainis no longer required. When it is empty, the reserved placeholder<reponame>.example.com(RFC 2606) goes everywheresourceplane.aistood as the product domain:BASE_DOMAINandCONSOLE_CUSTOM_DOMAIN, plus the parkedcloudflare-domain'sbaseDomainCONSOLE_CUSTOM_DOMAINOAUTH_ALLOWED_CONSOLE_ORIGINS, which still lists the workers.dev console, so sign-in keeps workingPOLAR_SUCCESS_URLCompany mailboxes stay protected. No component logic changed. The Supabase root sets no auth URLs.
CLI default API:
https://<brandSlug>-api-edge-prod.<subdomain>.workers.dev. This follows the worker-name rule forapi-edgedeployed--env prod.https://api.<domain>.apibaseurlstill overrides both.cloudflare-domain(the bug found in cirrus fix(supabase): use versioned secret names to avoid deletion conflicts #32):baseDomain/workerNamePrefixand their Terraform defaults already namedsourceplane.ai/sourceplane-web-console-next. Its README examples did not: they namedmulti-tenant-saas.appandmulti-tenant-saas-web-console-next, which the rebrand turns into<reponame>.app, not the placeholder. They now name the baseline's own identity, so all of them follow the placeholder and the console Worker. Nothing asks an owner to set them by hand.Shipped
ai/context/operations.md: new section "Setting the domain later". It lists every place the domain goes, then the steps:git grep -lF).subscribeblock.hooks/render-deployment-docs.sh: an empty domain already skipped the custom-domain probes. The placeholder now counts as no domain too, and the stale "phase 07" text is gone.Tests:
placement.test.shused to read the card'sderive. It now checks the placed product directly: itsDEFAULT_API_URLmust match the branded api-edge's prod worker on workers.dev, and its intent must carry the placeholder. It refuses to pass when there is nothing to check.rebrand.test.shgains 9 checks: no domain, an empty domain, a given domain, and an explicitapibaseurl.baseline.ymlreads the blueprint with no domain.Docs and records:
saas-lumen-baseline/IMPLEMENTATION-STATUS.md: a dated section, plus a "Since then" note on the superseded "typed inputs" quote.Verified locally (orun 2.58.11, the CI pin)
render-component-docs.py --checkorun new --statuswith noproductdomaintesting/leak.test.shtesting/placement.test.shDEFAULT_API_URL=https://acme-cloud-api-edge-prod.acme.workers.dev;BASE_DOMAIN×3 andCONSOLE_CUSTOM_DOMAIN×2 readacme-cloud.example.com, and 10 files carry itcloudflare-domain, branded with no domainbaseDomain: acme-cloud.example.com,workerNamePrefix: acme-cloud-web-console-next(the console Worker); the same in the TF defaults and README; withbrandSlug: acme,acme-web-console-nextBASE_DOMAIN ''; restored, both passBASE_DOMAIN/baseDomain=acme.devGenerated by Claude Code