Regional domains (#447): Luna copy review, three passes (pass 3 final)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+575
−0
docs/superpowers/plans/LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md+575 −0
diff --git a/docs/superpowers/plans/LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md b/docs/superpowers/plans/LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md| new file mode 100644 |
| index 000000000..9c05d5c29 |
| --- /dev/null |
| +++ b/docs/superpowers/plans/LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md |
| @@ -0,0 +1,575 @@ |
| +# Luna copy review: regional domains (#447) |
| + |
| +Three passes with gpt-5.6-luna against LUNA-COPY-BRIEF-REGIONAL-DOMAINS.md. Pass 3 is final and applied verbatim (controller ruling: Luna-only, at most three passes). |
| + |
| +## Pass 3 (final, applied verbatim) |
| + |
| +### RD-1 |
| +- verdict: keep |
| +- text: placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>. without --set, shows which instance serves the hostname in each region, whether it is ready, and the addresses to point DNS at. with --set, makes the hostname a regional domain. each region serves it from the instance named for it, and a request is never sent to another region. give the whole set every time. --wildcard and --catchall take effect only when the domain is created. |
| + |
| +### RD-2 |
| +- verdict: keep |
| +- text: give the region and the instance that serves the hostname there, as region=instance. repeat this for each region |
| + |
| +### RD-3 |
| +- verdict: keep |
| +- text: use one wildcard certificate for the domain. set it only when the domain is created. it needs a CNAME. the message says which CNAME is missing |
| + |
| +### RD-4 |
| +- verdict: keep |
| +- text: also serve every one-label name under the domain from the same instances. set it only when the domain is created. it requires --wildcard |
| + |
| +### RD-5 |
| +- verdict: keep |
| +- text: REGION\tINSTANCE\tREADY\tADDRESSES |
| + |
| +### RD-6 |
| +- verdict: keep |
| +- text: <host> is a regional domain. each region serves it from its own instance. |
| + |
| +### RD-7 |
| +- verdict: keep |
| +- text: <host> is served from <route>. |
| + |
| +### RD-8 |
| +- verdict: keep |
| +- text: point DNS for <host> at the addresses of the ready regions, with latency-based routing. |
| + |
| +### RD-9 |
| +- verdict: keep |
| +- text: no server in this region serves <instance> yet. |
| + |
| +### RD-10 |
| +- verdict: keep |
| +- text: the servers here run a release too old for regional domains. |
| + |
| +### RD-11 |
| +- verdict: keep |
| +- text: no fixed address is published for this region. |
| + |
| +### RD-12 |
| +- verdict: keep |
| +- text: not every server has reported. try again in a few minutes. |
| + |
| +### RD-13 |
| +- verdict: keep |
| +- text: the domain was just created. wait for every server to report. this takes up to five minutes. |
| + |
| +### RD-14 |
| +- verdict: keep |
| +- text: another route already uses this hostname, so no region is ready. |
| + |
| +### RD-15 |
| +- verdict: keep |
| +- text: <host> now serves from one instance in each of <n> regions. |
| + |
| +### RD-16 |
| +- verdict: keep |
| +- text: this console does not support regional domains yet. |
| + |
| +### RD-17 |
| +- verdict: keep |
| +- text: give between one and eight placements, one per region. |
| + |
| +### RD-18 |
| +- verdict: keep |
| +- text: <region> is named twice. give one instance per region. |
| + |
| +### RD-19 |
| +- verdict: keep |
| +- text: <instance> is named for two regions. give a different instance in each region. |
| + |
| +### RD-20 |
| +- verdict: keep |
| +- text: <instance> is not an instance of this app in <region>. |
| + |
| +### RD-21 |
| +- verdict: keep |
| +- text: <host> is already attached to this app as an ordinary domain. detach it first, then set its placements to attach it again as a regional domain. |
| + |
| +### RD-22 |
| +- verdict: keep |
| +- text: could not check every server just now. try again in a few minutes. |
| + |
| +### RD-23 |
| +- verdict: keep |
| +- text: <box> runs <release>, which cannot serve regional domains. try again when every server runs <floor> or later. |
| + |
| +### RD-24 |
| +- verdict: keep |
| +- text: the placements changed while this request ran. try again. |
| + |
| +### RD-25 |
| +- verdict: keep |
| +- text: regional domains are not available on this console yet. |
| + |
| +### RD-26 |
| +- verdict: keep |
| +- text: this is a regional domain. carlos domains placements is the only way to change where it is served, and its wildcard and catch-all settings are fixed when it is created. to change those, detach it first, then set its placements again. |
| + |
| +### RD-27 |
| +- verdict: keep |
| +- text: <host> is a regional domain, so it cannot also be an instance's hostname. choose another name. |
| + |
| +### RD-28 |
| +- verdict: keep |
| +- text: a catch-all on <host> would cover a regional domain under it, so it cannot be turned on. |
| + |
| +### RD-29 |
| +- verdict: keep |
| +- text: an instance catch-all cannot cover a regional domain. |
| + |
| +### RD-30 |
| +- verdict: revise |
| +- text: <channel> runs <release>. this deployment has a regional domain, so it must run <floor> or later. <target> is not one. to move the channel there anyway, pass --allow-below-regional-floor |
| +- why: Restores the draft's single <channel> placeholder while keeping the operator instruction clear. |
| + |
| +### RD-31 |
| +- verdict: keep |
| +- text: moving to <target> below <floor> on <channel> with --allow-below-regional-floor: servers on that channel cannot read regional domains and stop serving them |
| + |
| +### RD-32 |
| +- verdict: keep |
| +- text: allow a release below <floor> while regional domains exist. servers running that release stop serving them |
| + |
| +### RD-33 |
| +- verdict: keep |
| +- text: <host> belongs to a regional domain, so it cannot be a route here. detach the domain first. |
| + |
| +### RD-34 |
| +- verdict: keep |
| +- text: could not read the domain claim for <host>, so the regional domain check was skipped. |
| + |
| +### RD-35 |
| +- verdict: keep |
| +- text: One domain, one instance per region |
| + |
| +### RD-36 |
| +- verdict: keep |
| +- text: A regional domain is served in each region by that region's own instance of the app. A request that reaches a server in one region is answered there and never sent to another region. If that region's instance is not running, the request gets a 503. |
| + |
| +### RD-37 |
| +- verdict: keep |
| +- text: `--set` gives the whole set each time, one `region=instance` per region. Without `--set`, the command shows each region's instance, whether it is ready, and the addresses where its servers answer. Once every region you named is ready, point DNS for the domain at those addresses with latency-based routing. |
| + |
| +### RD-38 |
| +- verdict: keep |
| +- text: A regional domain has to be new. A hostname already attached as an ordinary domain is refused, and so is one that a catch-all already covers. To make an attached hostname regional, detach it first, then set its placements again. `--wildcard` and `--catchall` are set when the domain is created and cannot be changed afterwards. To change them, detach it first, then set its placements again. |
| + |
| +### RD-39 |
| +- verdict: keep |
| +- text: Each instance stays separate, with its own data, backups and hostname. Path prefixes, static sites and fleet placements are not supported on a regional domain. |
| + |
| +### RD-40 |
| +- verdict: keep |
| +- text: given a regional domain |
| + |
| +### RD-41 |
| +- verdict: keep |
| +- text: <box> does not say which release it runs. try again when every server runs <floor> or later. |
| + |
| +### RD-42 |
| +- verdict: keep |
| +- text: write each --set as region=instance, like uk=shop-uk.example.net |
| + |
| +### RD-43 |
| +- verdict: keep |
| +- text: prove you control <host> first. add this TXT record, then run the same command again. |
| + |
| +### RD-44 |
| +- verdict: keep |
| +- text: <host> is a regional domain. carlos domains placements shows the addresses to point DNS at for each region. |
| + |
| +### RD-45 |
| +- verdict: keep |
| +- text: servers on the <channel> channel are moving to <release>, which cannot serve regional domains. try again when they move to <floor> or later. |
| + |
| +ROWS: 45 |
| +## Pass 2 |
| + |
| +### RD-1 |
| +- verdict: keep |
| +- text: placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>. without --set, shows which instance serves the hostname in each region, whether it is ready, and the addresses to point DNS at. with --set, makes the hostname a regional domain. each region serves it from the instance named for it, and a request is never sent to another region. give the whole set every time. --wildcard and --catchall take effect only when the domain is created. |
| + |
| +### RD-2 |
| +- verdict: revise |
| +- text: give the region and the instance that serves the hostname there, as region=instance. repeat this for each region |
| +- why: Makes clear that the whole region=instance entry is repeated. |
| + |
| +### RD-3 |
| +- verdict: keep |
| +- text: use one wildcard certificate for the domain. set it only when the domain is created. it needs a CNAME. the message says which CNAME is missing |
| + |
| +### RD-4 |
| +- verdict: keep |
| +- text: also serve every one-label name under the domain from the same instances. set it only when the domain is created. it requires --wildcard |
| + |
| +### RD-5 |
| +- verdict: keep |
| +- text: REGION\tINSTANCE\tREADY\tADDRESSES |
| + |
| +### RD-6 |
| +- verdict: keep |
| +- text: <host> is a regional domain. each region serves it from its own instance. |
| + |
| +### RD-7 |
| +- verdict: keep |
| +- text: <host> is served from <route>. |
| + |
| +### RD-8 |
| +- verdict: keep |
| +- text: point DNS for <host> at the addresses of the ready regions, with latency-based routing. |
| + |
| +### RD-9 |
| +- verdict: keep |
| +- text: no server in this region serves <instance> yet. |
| + |
| +### RD-10 |
| +- verdict: keep |
| +- text: the servers here run a release too old for regional domains. |
| + |
| +### RD-11 |
| +- verdict: keep |
| +- text: no fixed address is published for this region. |
| + |
| +### RD-12 |
| +- verdict: keep |
| +- text: not every server has reported. try again in a few minutes. |
| + |
| +### RD-13 |
| +- verdict: revise |
| +- text: the domain was just created. wait for every server to report. this takes up to five minutes. |
| +- why: Makes the creation timing explicit and avoids implying that reporting started earlier. |
| + |
| +### RD-14 |
| +- verdict: revise |
| +- text: another route already uses this hostname, so no region is ready. |
| +- why: Makes clear why readiness is currently blocked. |
| + |
| +### RD-15 |
| +- verdict: keep |
| +- text: <host> now serves from one instance in each of <n> regions. |
| + |
| +### RD-16 |
| +- verdict: keep |
| +- text: this console does not support regional domains yet. |
| + |
| +### RD-17 |
| +- verdict: keep |
| +- text: give between one and eight placements, one per region. |
| + |
| +### RD-18 |
| +- verdict: keep |
| +- text: <region> is named twice. give one instance per region. |
| + |
| +### RD-19 |
| +- verdict: keep |
| +- text: <instance> is named for two regions. give a different instance in each region. |
| + |
| +### RD-20 |
| +- verdict: keep |
| +- text: <instance> is not an instance of this app in <region>. |
| + |
| +### RD-21 |
| +- verdict: keep |
| +- text: <host> is already attached to this app as an ordinary domain. detach it first, then set its placements to attach it again as a regional domain. |
| + |
| +### RD-22 |
| +- verdict: keep |
| +- text: could not check every server just now. try again in a few minutes. |
| + |
| +### RD-23 |
| +- verdict: keep |
| +- text: <box> runs <release>, which cannot serve regional domains. try again when every server runs <floor> or later. |
| + |
| +### RD-24 |
| +- verdict: keep |
| +- text: the placements changed while this request ran. try again. |
| + |
| +### RD-25 |
| +- verdict: keep |
| +- text: regional domains are not available on this console yet. |
| + |
| +### RD-26 |
| +- verdict: keep |
| +- text: this is a regional domain. carlos domains placements is the only way to change where it is served, and its wildcard and catch-all settings are fixed when it is created. to change those, detach it first, then set its placements again. |
| + |
| +### RD-27 |
| +- verdict: keep |
| +- text: <host> is a regional domain, so it cannot also be an instance's hostname. choose another name. |
| + |
| +### RD-28 |
| +- verdict: keep |
| +- text: a catch-all on <host> would cover a regional domain under it, so it cannot be turned on. |
| + |
| +### RD-29 |
| +- verdict: keep |
| +- text: an instance catch-all cannot cover a regional domain. |
| + |
| +### RD-30 |
| +- verdict: revise |
| +- text: <channel> runs <release>. this deployment has a regional domain, so the <channel> channel must run <floor> or later. <target> is not one. to move the channel to <target> anyway, pass --allow-below-regional-floor |
| +- why: Names the channel in the release-floor rule and in the override instruction. |
| + |
| +### RD-31 |
| +- verdict: keep |
| +- text: moving to <target> below <floor> on <channel> with --allow-below-regional-floor: servers on that channel cannot read regional domains and stop serving them |
| + |
| +### RD-32 |
| +- verdict: revise |
| +- text: allow a release below <floor> while regional domains exist. servers running that release stop serving them |
| +- why: Uses the correct relationship between servers and releases. |
| + |
| +### RD-33 |
| +- verdict: keep |
| +- text: <host> belongs to a regional domain, so it cannot be a route here. detach the domain first. |
| + |
| +### RD-34 |
| +- verdict: keep |
| +- text: could not read the domain claim for <host>, so the regional domain check was skipped. |
| + |
| +### RD-35 |
| +- verdict: keep |
| +- text: One domain, one instance per region |
| + |
| +### RD-36 |
| +- verdict: keep |
| +- text: A regional domain is served in each region by that region's own instance of the app. A request that reaches a server in one region is answered there and never sent to another region. If that region's instance is not running, the request gets a 503. |
| + |
| +### RD-37 |
| +- verdict: keep |
| +- text: `--set` gives the whole set each time, one `region=instance` per region. Without `--set`, the command shows each region's instance, whether it is ready, and the addresses where its servers answer. Once every region you named is ready, point DNS for the domain at those addresses with latency-based routing. |
| + |
| +### RD-38 |
| +- verdict: revise |
| +- text: A regional domain has to be new. A hostname already attached as an ordinary domain is refused, and so is one that a catch-all already covers. To make an attached hostname regional, detach it first, then set its placements again. `--wildcard` and `--catchall` are set when the domain is created and cannot be changed afterwards. To change them, detach it first, then set its placements again. |
| +- why: Keeps both detach-and-recreate paths consistent with RD-21 and RD-26. |
| + |
| +### RD-39 |
| +- verdict: revise |
| +- text: Each instance stays separate, with its own data, backups and hostname. Path prefixes, static sites and fleet placements are not supported on a regional domain. |
| +- why: Replaces the awkward phrase “stays its own” with plain language. |
| + |
| +### RD-40 |
| +- verdict: keep |
| +- text: given a regional domain |
| + |
| +### RD-41 |
| +- verdict: keep |
| +- text: <box> does not say which release it runs. try again when every server runs <floor> or later. |
| + |
| +### RD-42 |
| +- verdict: keep |
| +- text: write each --set as region=instance, like uk=shop-uk.example.net |
| + |
| +### RD-43 |
| +- verdict: keep |
| +- text: prove you control <host> first. add this TXT record, then run the same command again. |
| + |
| +### RD-44 |
| +- verdict: keep |
| +- text: <host> is a regional domain. carlos domains placements shows the addresses to point DNS at for each region. |
| + |
| +### RD-45 |
| +- verdict: keep |
| +- text: servers on the <channel> channel are moving to <release>, which cannot serve regional domains. try again when they move to <floor> or later. |
| + |
| +ROWS: 45 |
| +## Pass 1 |
| + |
| +### RD-1 |
| +- verdict: revise |
| +- text: placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>. without --set, shows which instance serves the hostname in each region, whether it is ready, and the addresses to point DNS at. with --set, makes the hostname a regional domain. each region serves it from the instance named for it, and a request is never sent to another region. give the whole set every time. --wildcard and --catchall take effect only when the domain is created. |
| +- why: Clarifies the request routing sentence and separates the command syntax from the explanation. |
| + |
| +### RD-2 |
| +- verdict: revise |
| +- text: give the region and the instance that serves the hostname there, as region=instance. repeat it for each region |
| +- why: Makes the instruction grammatical and direct. |
| + |
| +### RD-3 |
| +- verdict: revise |
| +- text: use one wildcard certificate for the domain. set it only when the domain is created. it needs a CNAME. the message says which CNAME is missing |
| +- why: Makes the setting and missing-record message clear. |
| + |
| +### RD-4 |
| +- verdict: revise |
| +- text: also serve every one-label name under the domain from the same instances. set it only when the domain is created. it requires --wildcard |
| +- why: Fixes the grammar and makes the dependency clear. |
| + |
| +### RD-5 |
| +- verdict: keep |
| +- text: REGION\tINSTANCE\tREADY\tADDRESSES |
| + |
| +### RD-6 |
| +- verdict: keep |
| +- text: <host> is a regional domain. each region serves it from its own instance. |
| + |
| +### RD-7 |
| +- verdict: keep |
| +- text: <host> is served from <route>. |
| + |
| +### RD-8 |
| +- verdict: keep |
| +- text: point DNS for <host> at the addresses of the ready regions, with latency-based routing. |
| + |
| +### RD-9 |
| +- verdict: keep |
| +- text: no server in this region serves <instance> yet. |
| + |
| +### RD-10 |
| +- verdict: keep |
| +- text: the servers here run a release too old for regional domains. |
| + |
| +### RD-11 |
| +- verdict: keep |
| +- text: no fixed address is published for this region. |
| + |
| +### RD-12 |
| +- verdict: keep |
| +- text: not every server has reported. try again in a few minutes. |
| + |
| +### RD-13 |
| +- verdict: revise |
| +- text: the domain was just created. wait for every server to report. this takes up to five minutes. |
| +- why: Makes the creation timing explicit and avoids implying that reporting started earlier. |
| + |
| +### RD-14 |
| +- verdict: revise |
| +- text: another route already uses this hostname, so no region is ready. |
| +- why: Makes clear why readiness is currently blocked. |
| + |
| +### RD-15 |
| +- verdict: keep |
| +- text: <host> now serves from one instance in each of <n> regions. |
| + |
| +### RD-16 |
| +- verdict: keep |
| +- text: this console does not support regional domains yet. |
| + |
| +### RD-17 |
| +- verdict: keep |
| +- text: give between one and eight placements, one per region. |
| + |
| +### RD-18 |
| +- verdict: keep |
| +- text: <region> is named twice. give one instance per region. |
| + |
| +### RD-19 |
| +- verdict: keep |
| +- text: <instance> is named for two regions. give a different instance in each region. |
| + |
| +### RD-20 |
| +- verdict: keep |
| +- text: <instance> is not an instance of this app in <region>. |
| + |
| +### RD-21 |
| +- verdict: revise |
| +- text: <host> is already attached to this app as an ordinary domain. detach it first, then set its placements to attach it again as a regional domain. |
| +- why: Makes the restart path match the placements wording used elsewhere. |
| + |
| +### RD-22 |
| +- verdict: keep |
| +- text: could not check every server just now. try again in a few minutes. |
| + |
| +### RD-23 |
| +- verdict: keep |
| +- text: <box> runs <release>, which cannot serve regional domains. try again when every server runs <floor> or later. |
| + |
| +### RD-24 |
| +- verdict: keep |
| +- text: the placements changed while this request ran. try again. |
| + |
| +### RD-25 |
| +- verdict: keep |
| +- text: regional domains are not available on this console yet. |
| + |
| +### RD-26 |
| +- verdict: revise |
| +- text: this is a regional domain. carlos domains placements is the only way to change where it is served, and its wildcard and catch-all settings are fixed when it is created. to change those, detach it first, then set its placements again. |
| +- why: Aligns the detach and restart instructions with RD-21 and RD-38. |
| + |
| +### RD-27 |
| +- verdict: keep |
| +- text: <host> is a regional domain, so it cannot also be an instance's hostname. choose another name. |
| + |
| +### RD-28 |
| +- verdict: keep |
| +- text: a catch-all on <host> would cover a regional domain under it, so it cannot be turned on. |
| + |
| +### RD-29 |
| +- verdict: keep |
| +- text: an instance catch-all cannot cover a regional domain. |
| + |
| +### RD-30 |
| +- verdict: revise |
| +- text: the <channel> channel runs <release>. this deployment has a regional domain, so it can take only <floor> or later. <target> is not one. to move it there anyway, pass --allow-below-regional-floor |
| +- why: Makes the channel and release-floor relationship easier to read. |
| + |
| +### RD-31 |
| +- verdict: revise |
| +- text: moving to <target> below <floor> on <channel> with --allow-below-regional-floor: servers on that channel cannot read regional domains and stop serving them |
| +- why: Replaces the unclear reference to “it” with the channel. |
| + |
| +### RD-32 |
| +- verdict: revise |
| +- text: allow a release below <floor> while regional domains exist. servers on that release stop serving them |
| +- why: Replaces the unclear reference to “it” with the release. |
| + |
| +### RD-33 |
| +- verdict: keep |
| +- text: <host> belongs to a regional domain, so it cannot be a route here. detach the domain first. |
| + |
| +### RD-34 |
| +- verdict: keep |
| +- text: could not read the domain claim for <host>, so the regional domain check was skipped. |
| + |
| +### RD-35 |
| +- verdict: keep |
| +- text: One domain, one instance per region |
| + |
| +### RD-36 |
| +- verdict: keep |
| +- text: A regional domain is served in each region by that region's own instance of the app. A request that reaches a server in one region is answered there and never sent to another region. If that region's instance is not running, the request gets a 503. |
| + |
| +### RD-37 |
| +- verdict: revise |
| +- text: `--set` gives the whole set each time, one `region=instance` per region. Without `--set`, the command shows each region's instance, whether it is ready, and the addresses where its servers answer. Once every region you named is ready, point DNS for the domain at those addresses with latency-based routing. |
| +- why: Makes the description of server addresses more natural. |
| + |
| +### RD-38 |
| +- verdict: keep |
| +- text: A regional domain has to be new. A hostname already attached as an ordinary domain is refused, and so is one that a catch-all already covers. To make an attached hostname regional, detach it first. `--wildcard` and `--catchall` are set when the domain is created and cannot be changed afterwards. To change them, detach the domain and set its placements again. |
| + |
| +### RD-39 |
| +- verdict: revise |
| +- text: Each instance stays separate, with its own data, backups and hostname. Path prefixes, static sites and fleet placements are not supported on a regional domain. |
| +- why: Replaces the awkward phrase “stays its own” with plain language. |
| + |
| +### RD-40 |
| +- verdict: keep |
| +- text: given a regional domain |
| + |
| +### RD-41 |
| +- verdict: keep |
| +- text: <box> does not say which release it runs. try again when every server runs <floor> or later. |
| + |
| +### RD-42 |
| +- verdict: keep |
| +- text: write each --set as region=instance, like uk=shop-uk.example.net |
| + |
| +### RD-43 |
| +- verdict: keep |
| +- text: prove you control <host> first. add this TXT record, then run the same command again. |
| + |
| +### RD-44 |
| +- verdict: revise |
| +- text: <host> is a regional domain. carlos domains placements shows the addresses to point DNS at for each region. |
| +- why: Makes the DNS guidance read more naturally. |
| + |
| +### RD-45 |
| +- verdict: keep |
| +- text: servers on the <channel> channel are moving to <release>, which cannot serve regional domains. try again when they move to <floor> or later. |
| + |
| +ROWS: 45 |
| \ No newline at end of file |