Repository navigation
feat: subdomain from the Cloudflare connection; remove the domain input - #364
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
ruehowl
marked this pull request as ready for review
October 21, 2026 12:20
ruehowl
pushed a commit
that referenced
this pull request
Oct 22, 2026
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
added a commit
that referenced
this pull request
Oct 22, 2026
* feat: read the workers.dev subdomain from the Cloudflare connection - 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 * feat: remove the domain input — the custom-domain component lands in 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 * feat: the console asks for no domain — the domain is set later 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 --------- Co-authored-by: Claude <noreply@anthropic.com>
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.
Two changes, one commit each, the same as cirrus-baseline made in 7bd21bd (#30) and 07219ef (#31). Once merged, this is tagged
baseline-v4. The records already name that tag.What changes
1. The workers.dev
subdomainis read from the Cloudflare connection, not typedThe subdomain belongs to the Cloudflare account, just as the account id does, and it has exactly one right answer. A typed value could only be wrong, and a wrong one only showed up after deploy: in CORS, OAuth origins, smoke checks and the verify URLs.
blueprint.yaml: thesubdomaininput now declaresfrom: connection.cloudflare.workersSubdomain, with the reason written at the field.CLOUDFLARE_ACCOUNT_IDand the deploy tokens mint from.[github, cloudflare, supabase].testing/manifest.test.sh: accepts the new source and requires its provider inspec.requires.integrations. The block is copied byte for byte from cirrus-baseline.repo-blueprint.yaml,BOOTSTRAP.md,docs/phases/01-scaffold.md,docs/phases/README.md: a console or--from bst_…build never asks for the subdomain; only a hand-run build passes--set subdomain.BOOTSTRAP.md's console section said "productname,productdomainandsubdomainare typed"; it now says only the first two are.specs/epics/saas-lumen-baseline/IMPLEMENTATION-STATUS.md.2. The
domainon/off input is removed, and07-domainis folded into06-console07-domainwas the one conditional phase. It landed a single component,cloudflare-domain, which ships parked (subscribe.environments: [], checked). Its convergence was a green run with nothing in it, so the switch turned on a component that was already off.productdomainis unchanged.repo-blueprint.yaml:domaininput and its.rebrand/values.jsonkey are gone, and the 07-domain phase is deleted.cloudflare-domainjoins06-console's modules. That is the last landing that converges a deploy, and the one that places the console the custom domain routes.08-docsalready required06-console. The numbering keeps its gap.blueprint.yaml: the programme drops the conditional 07-domain milestone. There are now nine phases under seven milestones.tasks/07-domain.TaskContract.yamlis deleted.06-console's contract leaves the parked component out ofaffectsand says why in a comment.docs/phases/07-domain.mdis deleted. What is still true moves to a "The custom domain — parked" section ofdocs/phases/06-console.md: the zone must exist first, then restore thesubscribeblock, finish the provider-v5 re-import, and re-run 08-docs.docs/phases/README.md,08-docs.md,01-scaffold.mdandTIMINGS.md, plusBOOTSTRAP.md, are updated.ai/context/operations.md(which ships) points atinfra/terraform/cloudflare-domainand names no factory path.phases.test.shrecords07-domainas FOLDED into06-console, in cirrus's shape;WASis kept as history.leak.test.shandplacement.test.shno longer forcedomainon.08-docs, which requires the drifted06-console.tests/fixtures/acme.jsondrops"domain": false.design.md, and a dated "Thedomaininput, removed" section in the status page.Verified locally
Leak and placement ran with orun 2.58.11, the
baseline.ymlpin. Every exit code was checked explicitly.testing/manifest.test.shtesting/phases.test.shtesting/coverage.test.shtesting/rebrand.test.shrender-component-docs.py --checkorun new --status(blueprint-parses)testing/leak.test.shtesting/placement.test.shdomainforced on); 01 → 07--resumekeeps the brandingPlaced-file count: 1083 before (main,
domainforced on) and 1083 after. The same files are placed;06-consolenow places the custom-domain component.Mutation check (subdomain): deleting
cloudflarefrom the card'sspec.requires.integrationsmakesmanifest.test.shfail with exit 1, naminginputs[subdomain].from is 'connection.cloudflare.workersSubdomain' but spec.requires.integrations does not list cloudflare. Aftergit checkout -- blueprint.yamlit passes again (exit 0).Mutation check (fold): dropping
cloudflare-domainfrom06-console's modules makesphases.test.shfail with exit 1 (phase 06-console … lost ['cloudflare-domain']). Restored, it passes.Leftover check:
git grep -i '07-domain\|domain=true\|inputs.domain\|"domain": (true|false)' -- . ':!specs'only finds history notes.Generated by Claude Code