carlos / platform Public

Regional domains (#447): RD-46 approved by Luna and applied verbatim

Single-row pass after the whole-branch review: the regional state detail
now reads 'carlos domains placements shows whether each region is ready.'
The deck row is approved, the Luna result is appended to the review record,
and RD-46 joins the built list; the draft-only test is gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 5d7290fcc3a836ff7555398b359e37a4f38b1fb0 parent 0093184
4 files changed, +20 −30
  • approved_regional_domains_copy_test.go +5 −25
  • docs/superpowers/plans/2026-10-28-regional-domains-447-copy.md +4 −3
  • docs/superpowers/plans/LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md +10 −1
  • internal/console/apiplacements.go +1 −1

CI cancelled — superseded by a newer push — run details

diff --git a/approved_regional_domains_copy_test.go b/approved_regional_domains_copy_test.go
index daf991b54..01aca9b32 100644
--- a/approved_regional_domains_copy_test.go
+++ b/approved_regional_domains_copy_test.go
@@ -31,14 +31,10 @@ var regionalDomainsCopyIDPattern = regexp.MustCompile(`^RD-[0-9]+$`)
var regionalDomainsCopyIDs = regionalDomainsIDRange(46)
// regionalDomainsCopyBuilt is every id whose approved text the code or docs
-// carry: RD-1 to RD-45. Luna's pass 3 approved those (2026-10-29, Paul's
-// delegation for large decks) and Task 11 applied them verbatim. RD-46 came
-// after (whole-branch R1 P2-2) and is a draft for the final copy pass.
-var regionalDomainsCopyBuilt = regionalDomainsIDRange(45)
-
-// regionalDomainsDraft is the status of a row written after Luna's pass 3,
-// waiting for the final copy pass.
-const regionalDomainsDraft = "draft (post-Luna; for the final copy pass)"
+// carry: RD-1 to RD-46. Luna's pass 3 approved RD-1 to RD-45 (2026-10-29,
+// Paul's delegation for large decks) and Task 11 applied them verbatim. RD-46
+// came after (whole-branch R1 P2-2) and had its own single-row Luna pass.
+var regionalDomainsCopyBuilt = regionalDomainsIDRange(46)
func regionalDomainsIDRange(n int) []string {
ids := make([]string, 0, n)
@@ -55,7 +51,7 @@ func mustParseRegionalDomainsRecord(t *testing.T) []copyRow {
t.Fatal(err)
}
rows, err := parseCopyTableStatuses(string(raw), regionalDomainsCopyRecordPath, regionalDomainsCopyIDPattern, "an RD-<n>",
- "pending", "approved", regionalDomainsDraft)
+ "pending", "approved")
if err != nil {
t.Fatal(err)
}
@@ -129,22 +125,6 @@ func TestRegionalDomainsBuiltCopyIsApplied(t *testing.T) {
reportAll(t, checkRegionalDomainsApplied(builtRows(mustParseRegionalDomainsRecord(t), regionalDomainsCopyBuilt), "."))
}
-// A post-Luna draft row is in the code as drafted too, so the final copy
-// pass reviews exactly what ships. Checked as the approved rows are.
-func TestRegionalDomainsDraftCopyIsApplied(t *testing.T) {
- var drafts []copyRow
- for _, r := range mustParseRegionalDomainsRecord(t) {
- if r.Status == regionalDomainsDraft {
- r.Status = "approved"
- drafts = append(drafts, r)
- }
- }
- if len(drafts) == 0 {
- t.Fatal("no draft rows: once the final copy pass approves RD-46, add it to regionalDomainsCopyBuilt and drop this test")
- }
- reportAll(t, checkRegionalDomainsApplied(drafts, "."))
-}
-
// The gate bites: a row whose text is not in its file, and a fragment that
// is only in a comment, are refused; a row inside a multi-line literal and a
// placeholder row are accepted.
diff --git a/docs/superpowers/plans/2026-10-28-regional-domains-447-copy.md b/docs/superpowers/plans/2026-10-28-regional-domains-447-copy.md
index 5af873ba6..51abdf715 100644
--- a/docs/superpowers/plans/2026-10-28-regional-domains-447-copy.md
+++ b/docs/superpowers/plans/2026-10-28-regional-domains-447-copy.md
@@ -17,8 +17,9 @@ The rules:
review.
- RD-46 came after that pass (whole-branch review R1 P2-2: the state
detail of a regional domain on the domain list, the per-host GET and the
- settings page). It is `draft (post-Luna; for the final copy pass)`; the
- code carries the draft text until that pass approves it.
+ settings page). It had its own single-row Luna pass and is `approved`
+ (approved by Luna, 2026-10-29, single-row pass after the whole-branch
+ review; applied verbatim; `LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md`).
- Every row started `draft`. The implementing tasks write the draft text
into code so the branch works end to end. The copy task (plan Task 11)
runs the review: a Luna pass on Paul's house rules, then Paul's approval
@@ -95,7 +96,7 @@ count.
| RD-41 | internal/console/apiplacements.go | <box> does not say which release it runs. try again when every server runs <floor> or later. | approved |
| RD-44 | internal/console/apiplacements.go | <host> is a regional domain. carlos domains placements shows the addresses to point DNS at for each region. | approved |
| RD-45 | internal/console/apiplacements.go | servers on the <channel> channel are moving to <release>, which cannot serve regional domains. try again when they move to <floor> or later. | approved |
-| RD-46 | internal/console/apiplacements.go | a regional domain is ready region by region. carlos domains placements shows which regions are ready. | draft (post-Luna; for the final copy pass) |
+| RD-46 | internal/console/apiplacements.go | a regional domain is ready region by region. carlos domains placements shows whether each region is ready. | approved |
## Release floor (operators: internal/release, internal/console, system.go)
diff --git a/docs/superpowers/plans/LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md b/docs/superpowers/plans/LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md
index 9c05d5c29..2a754bcb4 100644
--- a/docs/superpowers/plans/LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md
+++ b/docs/superpowers/plans/LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md
@@ -572,4 +572,13 @@ ROWS: 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
+ROWS: 45
+
+## RD-46 (single-row pass, after the whole-branch review)
+
+### RD-46
+- verdict: revise
+- text: a regional domain is ready region by region. carlos domains placements shows whether each region is ready.
+- why: Covers both ready and not-ready regions and matches the command’s per-region readiness view.
+
+ROWS: 1
diff --git a/internal/console/apiplacements.go b/internal/console/apiplacements.go
index cb3287784..6a56e612e 100644
--- a/internal/console/apiplacements.go
+++ b/internal/console/apiplacements.go
@@ -399,7 +399,7 @@ func regionalDNSGuidance(host string) string {
// state on the domain list, the per-host GET and the settings page
// (claimState). Readiness is per region, and the placements read is the
// only surface that judges it.
-const regionalStateDetail = "a regional domain is ready region by region. carlos domains placements shows which regions are ready."
+const regionalStateDetail = "a regional domain is ready region by region. carlos domains placements shows whether each region is ready."
// placementsControlPlaneVerb (RD-40) completes controlPlaneRefusal's
// sentence: "<app> is marked as the control plane, so it cannot be ...".