carlos / platform Public

Woodstar World: serve one custom domain from a writable placement in every region Feature Request open

Claimed by paul@keymail.dev 1 month ago

Context. Woodstar is turning its World relay (woodstar-relay, account bdm) into one replica per region: ie, uk, us, au. Every replica accepts writes. The design is in the woodstar repo, DESIGN.md §11.2.

Woodstar copies data between replicas itself. Events are signed and content-addressed, so replicas converge by pulling each other's new arrivals over public HTTPS and ingesting them idempotently. The few writes that need a single writer (username claims, invites, the community directory) stay on the ie replica, and the other replicas proxy them there.

Not asked for: cross-region data movement, a private instance-to-instance channel (the siblings file from #162 is not needed, because every replicated record verifies itself), or write arbitration. Each replica's database being region-local, and fenced to its own region's bucket, is fine.

What exists:

  • #162's replica placements serve an account host from a local replica.
  • #169 arms latency steering.
  • Ruling H24 pins woodstar to the IE platform box.

The gaps:

  1. The public names are custom domains. They are the apex woodstar.app plus the *.woodstar.app catch-all (wildcard + catchall capabilities on woodstar-relay), which also carries every user's AT Proto handle. #162 left custom domains out of its first landing.
  2. woodstar-relay is not an instance. It is a TCP-addr app route on the IE platform box (H24), not a socket instance. #162's placements are instance-only.
  3. DNS is ours. woodstar.app is a Route 53 zone Woodstar controls, so Woodstar could write its own latency records for it pointing at each region's edge. That sidesteps #169's oncarlos.com zone problems, as long as each region's edge serves woodstar.app from its local placement instead of backhauling to IE.
  4. Wording. The CLI docs call a replica a one-way mirror that never holds authoritative data. Woodstar's replicas take writes.

Asks:

  1. Let a custom domain (apex plus wildcard catch-all) carry placements in several regions, each served locally by that region's process of the same app and never backhauled.
  2. Say which shape you prefer for World. Either World becomes a socket instance (lifting H24 for it), or placements extend to app routes. Woodstar is happy to become instance-kind if that is the preferred shape; its woodstar-community binary already is.
  3. Confirm Woodstar may point its own Route 53 latency records for woodstar.app at per-region edge addresses, and name which addresses are stable. Or say what you want instead.
  4. Confirm nothing on the platform side assumes a replica is read-only: residence wording, delete refusals, backups.

Satellites: the bridges (AP, AT) and the indexer stay singletons in ie. Only the relay needs the multi-region shape.

Interim, needing nothing from the platform: four ordinary app routes with per-region hostnames (ie.world.woodstar.app …) that gossip with each other. Clients pin to one. That lets Woodstar prove the replication before the routing exists.

LLM

Woodstar wants woodstar.app (apex + *.woodstar.app) served by the nearest of four writable World replicas. Woodstar replicates the data itself; the platform part is local per-region serving for a custom domain on a non-instance app.

Taken in Paul's current Codex Astra session, on branch custom-domain-placements-447 (tip 9999f7daf). Separate worktree: /home/paulca/worktrees/platform-custom-domain-placements-447.

A design proposal and review brief are pushed under implementation/. Proposed direction: explicit per-domain regional bindings to ordinary writable socket instances, rather than inferring a primary from role=replica. The current replica role has separate instance-key restrictions as well as no explicit primary binding.

Design-only so far. The proposal still needs concrete stable-address and serving-version-admission contracts; the independent review is blocked because both Opus and Fable launches hit the Claude provider's weekly limit before producing findings. Zero completed review rounds. No runtime code, release or infrastructure changes, and no approval to move Woodstar under H24 or change its DNS. The branch description records the evidence, acceptance tests and next step. #447 remains open.

A concrete answer to the four asks, following the earlier ownership update. These are findings and a proposed direction; the regional-routing feature is not implemented or approved yet.

1. Apex plus wildcard served locally

This still needs platform work. The final #162 merge added replica records, placement marks and publication rules, but left serving the primary's public hostname from the replica box as a follow-up. It is not just a matter of switching custom domains on. Existing domain reconciliation resolves a claim's single Route on the box where that route exists; an edge miss can then backhaul elsewhere.

The proposal on custom-domain-placements-447 binds the verified domain explicitly to one instance per region. The apex and its wildcard catch-all use that region's target. If that target is unavailable, the edge returns unavailable rather than sending the write to another region. Exact-name ownership, domain proof and wildcard certificate restrictions still apply. This is the proposed contract, not current behaviour.

2. Preferred shape for World

Use ordinary writable socket-backed instances, one per region, with explicit domain bindings. Keep Woodstar's replication and unique-write forwarding in Woodstar. Do not infer the relationship from “same app” or repurpose role=replica: there is no explicit primary-instance binding in that record, and the role has additional instance-key restrictions.

That recommendation does not lift H24. Moving the relay off its present TCP route and repointing the public domain needs a concrete, approved migration using supported API/CLI operations. The bridges and indexer can remain singletons in IE.

3. Customer-managed latency DNS

Customer-managed latency records are compatible with the proposed design, provided each advertised endpoint actually serves the selected local instance. I cannot yet give a supported list of stable per-region endpoints: that API/CLI contract is one of the design's unresolved prerequisites. Raw addresses from a box report are not, by themselves, a stability promise. There is no authorization in this work to change Woodstar's zone.

Also, #169's latest deployment report corrects its opening premise: flagship latency steering was already armed, and the flagship wildcard became latency-routed on October 21. The current single-home routing of the app is what still causes backhaul; changing DNS alone does not fix it.

4. Writable data, deletion and backups

I would not make a blanket promise that the existing replica role has no relevant assumptions. In particular, internal/activator/instancekey.go withholds ordinary key minting for replica rows, and replicaKeyGate checks their relationship to a home key. The proposal avoids changing those semantics by using ordinary instances with their existing independent identities, regional storage and backup contracts.

CARLOS would not determine whether an event has replicated, drain a regional journal, or promote another database. Woodstar must decide when a regional copy can be retired. Ordinary instance deletion already preserves parked database/blob data; it is not a replication-drain acknowledgement.

Status: the design and review brief are pushed at 9999f7daf; hub CI passed. This is a design-only branch. Stable endpoint discovery and safe mixed-version activation remain unresolved. Opus and Fable review attempts both hit the provider limit before producing findings, so there are zero completed review rounds. No runtime code, release, deployment or DNS change has occurred. #447 remains open.

Paul asked platform-17 (Claude) to build this on 2026-10-28. Work moves to branch regional-domains-447, cut from main 803c6800 with the rev 1 design cherry-picked. The custom-domain-placements-447 branch and its worktree are left as they were.

Paul's rulings on the design's two prerequisites and the scope:

  1. Stable per-region address: each box's EIP, the address the box publishes in its edges file and the platform's own latency DNS already uses. It stays stable for the life of that box's stack.
  2. Older edge binaries: a release floor modelled on the rootfs floor. While any regional claim exists, no channel moves below the floor without an override. Enabling regional mode requires every fresh edge box to be at the floor or above.
  3. Scope: the platform capability first: built, reviewed, merged and released. The Woodstar migration (relay to socket instances, lifting H24 for it, DNS) is a separate go.

Next: spec rev 2 with an Opus reading of rev 1 (round 1), Astra review, then plan and build.

Spec review stopped at round 2 (stopping rule 2). The fix needs a choice.

Branch regional-domains-447, tip 93db5293.

Round history for the design:

  • Rev 1 (Astra): no completed rounds.
  • R1: an independent Opus read of rev 1 (docs/superpowers/reviews/OPUS-REVIEW-regional-domains-447-R1.md). NOT READY: 2 P1, 7 P2, 8 P3. Spec rev 2 (docs/superpowers/specs/2026-10-28-regional-domains-447-design.md) applies Paul's three rulings and cuts heavily: no new edges-file role, no digests, no lifetime binding, no probe, no startup gate, no delete or move refusals, no same-region proxy.
  • R2: Astra on rev 2 (docs/superpowers/specs/CODEX-FINDINGS-regional-domains-447-R2.md). NOT READY: 4 P1, 2 P2, 1 P3. I checked the code citations and they hold.

The R2 P1s fall in the same fault families as R1's: cross-region isolation and old-binary exclusion. That triggers rule 2, so I am not writing a second fix.

  1. Live single-to-regional conversion. Schema 2 does not remove serving state the box already holds. An old binary keeps its persisted alias row and serves the name from it until a claim listing succeeds (edge.go:479,1067, aliases.go:369). A box that was stale at activation can come back on an old binary and serve that row.
  2. Inherited path maps. Path maps are folded in before aliases, and the bound instance's map is copied into the regional entry. A prefixed request then resolves to an ordinary upstream with no regional marker, ahead of the gate (edge.go:999,1528). A signed hop then executes instead of answering 503.
  3. Enclosing ordinary catch-all. Publishing nothing does not leave a box without a dial target: shop.example.com still matches an ordinary *.example.com (edge.go:1366, homemap.go:1009). A fresh or rolled-back box can serve or backhaul through the parent.
  4. Rows kept for an unreadable claim. They name a hostname, not the checks it passed. If the target is replaced under another owner, or becomes tunnel- or fleet-backed, it would be served (edge.go:713,798).

Options (rule 2):

  • A. Refuse up front, and cut. Regional mode only on a claim that has never served as an ordinary alias (no live conversion). Refuse namespace overlap in both directions: a regional name under an ordinary catch-all parent, and a catch-all turned on above a regional name. Residual: a box that was stale at activation can return on an old binary holding an alias row from before an earlier detach. The floor's promotion gate covers rollbacks, not that case. We would state it as a limit.
  • B. One name-level invariant, enforced in one place. The edge decides on the request's Host before path selection. Regional entries carry no path map, and Reload revalidates each target with the predicate the derivation uses. A randomized simulation covers old/new binaries, restarts, unreadable claims, conversion, overlap, paths and replacement.
  • C. Cut the feature back further. For example, apex only, with no catch-all.

Recommendation: A for P1-1 and P1-3, B's single-place fixes for P1-2 and P1-4. That is one refusal pass plus two local mechanisms, with no new review family opened. It uses design round 3 of 3. Astra recommends the same cuts (live conversion and overlapping namespaces).

Waiting for a go from platform-17 or Paul. No code has been written.

Paul's ruling on the round 2 stop (2026-10-29, relayed by platform-17): option A plus B's two local fixes.

  • No live conversion. Regional mode is only for a domain that has never served as an ordinary alias.
  • Overlap with ordinary catch-alls is refused in both directions.
  • Regional entries carry no path map.
  • Reload rechecks each target with the derivation's own test.
  • The stale-box / old-binary gap is stated as a limit.

Next: spec rev 3 with these and R2's two P2s (the collision check loses its owner exemption; the request budget counts the helpers' reads), then Astra round 3. That is the last design round: a P1 there stops the work and gets reported, not fixed. main merged into the branch at c6a5ba51.

Design round 3 (the last) is NOT READY: 2 P1, 4 P2. The work stops here. A fourth round needs Paul.

Branch regional-domains-447, tip 1db58695. Spec rev 3: docs/superpowers/specs/2026-10-28-regional-domains-447-design.md. Findings: docs/superpowers/specs/CODEX-FINDINGS-regional-domains-447-R3.md. I checked the P1 citations and they hold.

Round 3 resolved two of R2's P1s: inherited path maps (P1-2) and replaced targets (P1-4). The accepted stale-box limit was not raised. Two P1s remain, and both are on current binaries, outside that limit:

  1. A failed alias read looks like "no aliases". When ListAliases fails, the box agent logs it and still publishes its heartbeat with no alias map (internal/host/agent.go:4480). That reads exactly like a box with no alias rows. The edges file is no backstop: aliases whose DNS isn't pointing are left out of it (internal/host/edgesfile.go:648), but the edge still serves them (edge.go:1071). So a current box that still holds an ordinary alias from a detached claim can pass the never-served check and the readiness check while it keeps serving the old upstream. Family: ordinary-state exclusion (carried from R2 P1-1).
  2. A hand route can take the regional catch-all's own key. The spec keeps "a real route wins at the same key" (spec §7.3). A root carlos add '*.shop.example.com' on a current box then beats the regional star entry. alice.shop.example.com resolves to an unmarked upstream (TCP allowed, edge.go:855), so the gate does nothing. Family: covering routes (carried from R2 P1-3).

P2s, fixed without a round if work resumes:

  • a declared instance at the name that hasn't been provisioned yet escapes the collision check;
  • heldElsewhere adds a second deployment-wide read to the PUT;
  • W1's path-map mutation can't fail as written;
  • the overlap check skips *.X for a two-label apex.

Astra's reading: the two P1s share one assumption, that ordinary serving authority cannot coexist with regional policy, but they have separate causes. Refusing incomplete alias evidence removes the first. Cutting regional catch-alls removes the second. Cutting catch-alls alone does not remove both.

Options for Paul:

  • A. A narrow fourth round on two local fixes. - (a) The heartbeat says whether its alias read succeeded. The PUT and the GET treat a failed or missing read as incomplete evidence: the PUT refuses and the GET reports not ready. - (b) A regional row beats a real route at its own key. Reload gives a deny entry and logs it, for the apex and the star alike, instead of letting the route win. carlos add also refuses a host that a regional claim holds when it can read the claims listing. - Round 4 would review only these two diffs and the four P2 fixes.
  • B. Cut regional catch-alls from the first slice (apex only) and apply fix (a). This is the smallest change. The #447 consumer's user handles live under the catch-all, though, so this ships less than #447 asks for.
  • C. Park the design at rev 3 with the findings on record.

Recommendation: A. Both fixes are refuse-up-front and each lives in one place. Neither reopens the floor, the addresses or the gate. Waiting for Paul's go. No code has been written.

Paul's ruling 5 (2026-10-29, relayed by platform-17): option A, a narrow round 4.

  • (a) The heartbeat says whether its alias read succeeded. A failed or missing read counts as incomplete evidence at both the PUT and the GET.
  • (b) A regional row beats a real route at its own key, for the apex and the star alike. Reload gives a deny entry and logs it. carlos add refuses a host a regional claim holds when it can read the claims listing.
  • R3's four P2s get fixed.

Round 4 reviews only those diffs and the P2 fixes. It is the final design round: a P1 there stops the work, with cut options reported.

Design round 4 (final) is NOT READY: 1 P1, 1 P2. The work stops here. Cut options are below.

Branch regional-domains-447, tip 9d6424e4. Findings: docs/superpowers/specs/CODEX-FINDINGS-regional-domains-447-R4.md. I checked the citations and they hold.

Round 4 resolved R3's failed-alias-read P1 and three of its four P2s. What's left:

  • P1: the catch-all deny is missing while a capability change converges. Derivation writes the regional *.X row only when Wildcard && Catchall (spec §7.2). Suppose a current box has derived regional apex X with catch-all off, and a root carlos add '*.X' hand route exists. That route can point at a TCP backend in another region, and the carlos add check skipped it because the shell had no deployment variables. When the owner turns catch-all on (apidomains.go:740), that box serves alice.X from the hand route until it reads the change. Family: covering routes (carried from R3 P1-2).
  • P2: a pending lifetime allocation escapes the ownership walk. The allocation is persisted before the record (lifetimes_create.go:128), and recovery writes the record later (lifetimes_recovery.go:233). Fix: the PUT refuses while PendingForHost(host, "") is nonzero, under the host lock (lifetimes_store.go:345).

Options for Paul (no fifth round was offered):

  • A. Refuse up front: a regional claim's capabilities are fixed when it is created. The capability door refuses wildcard or catch-all changes on a regional claim; to change them, detach and create again. Then the *.X row exists from the claim's first derivation, just like the apex, and the transition case can't happen. Any box that lacks the row falls into the same "never read the claim" class as the apex. It's a one-line refusal plus a witness, and the P2 fix comes with it. The build-time Astra review of the edge and routing task (required anyway under rule 3) would check both.
  • B. Astra's fix: every regional claim derives a deny row at *.X from creation, catch-all on or off, and serving there starts only once catch-all is derived on. This is one more mechanism than A, checked the same way.
  • C. Cut regional catch-alls from the first slice (apex only). This is Astra's named cut. It's the safest, but the #447 consumer's user handles live under the catch-all, so it ships less than #447 asks for.
  • D. Park at rev 4.

Recommendation: A. It removes the case instead of guarding it, and it costs the member nothing they need for #447 (the catch-all is chosen once, at creation). Waiting for Paul's go. No code has been written.

Paul's ruling 6 (2026-10-29, relayed by platform-17): option A.

  • A regional claim's wildcard and catch-all capabilities are fixed when it is created. The capability door refuses changes to them. Changing them means detaching and creating the claim again.
  • Also the R4 P2 fix: the placements PUT refuses while PendingForHost(host, "") is nonzero, under the host lock.

Both go into spec rev 5. There is no further design round: the build's per-task Astra review of the edge and routing task stands in for the design re-check, and its brief names both changes. If a per-task or whole-branch review finds another P1 in the covering-routes family, the work stops and gets reported (rule 2). Next: plan, build, census, copy, finish.

Build stopped: the Task 4+5 Astra review found a P1 in the covering-routes family again. Per ruling 6 I am reporting, not fixing.

Branch regional-domains-447, tip a44a4cff (pushed; origin/main merged at 7fc98ba1, v0.30.3).

Built so far (each with tests; mutation checks recorded in the commits):

  • T1 placements GET and CLI read: review clean.
  • T2 claim shape and T3 console writer rules: Astra R1 NOT READY (1 P1, team scope race), fixed, R2 READY.
  • T4 derivation, regional_domains, aliases_read, and T5 the edge's regionalGate: Astra R1 NOT READY, see below.
  • T6 carlos add refusal: Astra R1 READY AFTER FIXES (2 P2, not yet applied).
  • T7 placements PUT: built (63f904b2), not reviewed yet.
  • T8-T13 not started.

The P1 (docs/superpowers/reviews/regional-domains-447/CODEX-FINDINGS-T4T5-R1.md; I checked the citation and it holds): the box's derivation writes a regional claim's apex row and *.X row as separate statements. A failed upsert is logged and the pass carries on (internal/domains/aliases.go:863, internal/registry/registry.go:3535). So a failed star write with a successful apex write leaves a box that has read the current claim but holds no *.X row. If a root hand route holds *.X there (the carlos add check can be skipped), alice.X goes to that route's backend, which may be in another region. Later unreadable passes keep the partial state. This is outside the accepted never-read-the-claim limit.

Astra's reading: the cause is partial persistence of the enforcement state. Refusing or cutting regional catch-alls removes the demonstrated case.

The same review also confirmed that the R4 pending-allocation fix is sufficient. It found two P2s:

  • an unread claim drops its wildcard certificate parent (TLS continuity);
  • §10.5's recovery bound for the detach/recreate residual is wrong: adoption alone doesn't end it.

Options for Paul:

  • A. Make each claim's rows one transaction. Write a claim's apex and star rows in a single SQLite transaction (one ReplaceRegionalSet per claim, local and remote registry), so a failure writes neither. A box with neither row is in the accepted never-read class. It's a small, local change with a witness that injects the star failure, plus the hand-route backend and a restart. Then one scoped Astra re-review (round 2 of 3 for this change).
  • B. Cut regional catch-alls (apex only) from this branch. This removes the case outright, but the #447 consumer's user handles live under the catch-all.
  • C. Park the branch as built.

Recommendation: A, plus the two P2 fixes and T6's two P2s. Waiting for Paul's go.

Paul's ruling 7 (2026-10-29, relayed by platform-17): option A.

  • Each regional claim's apex and *.X rows are written in one SQLite transaction, in both the local and the remote registry, so a failure writes neither.
  • Witness: inject the star-write failure with a hand-route backend at *.X, then a restart.
  • Guard test: for every regional claim a box has read, its rows exist as a pair or not at all.
  • Also fixed: Task 4+5 round 1's two P2s (an unread claim keeps its wildcard certificate parent; spec §10.5's recovery bound) and Task 6's two P2s.

Then one scoped Astra re-review of Tasks 4+5 (round 2 of 3), and the build carries on. Another covering-routes P1 stops the work again.

Build stopped again: the Task 7+8 Astra review found a P1 in the covering-routes family. Per ruling 7 I am reporting, not fixing.

Branch regional-domains-447, tip 04464e34 (pushed).

State:

  • T1-T6 are done and reviewed. T4+T5 were READY after ruling 7's per-claim transaction (R2).
  • T7 (placements PUT) and T8 (reverse doors, interleavings, fixed capabilities) are built. Astra R1: NOT READY (1 P1, 2 P2).
  • T9 (regional readiness and the CLI write) is built (9ef198a0, b892cd42) and not reviewed.
  • T10-T13 are not started.

The P1 (docs/superpowers/reviews/regional-domains-447/CODEX-FINDINGS-T7T8-R1.md; I checked the citation and it holds): the capability door takes regionalMu and scans for regional descendants only when its own earlier read says the parent's catch-all was off (internal/console/apidomains.go:710). The writer then rereads and writes the current claim.

The race:

  1. Request A reads a parent with catch-all on and pauses.
  2. B turns the catch-all off.
  3. A placements PUT creates a regional child.
  4. A resumes and skips the scan, because its stale read said catch-all was on. The writer then turns the catch-all back on above the regional name.

How far it reaches: on a box holding the regional rows, the regional apex is an exact key and beats the parent's *.<parent> wildcard. So the serving consequence falls on boxes that have not successfully derived the regional claim: the class §10.5 already accepts. It is still an admission hole against ruling 4's "overlap refused both directions".

The P2s:

  • The PUT accepts TCP-backed instance targets (Addr/Addrs). Serving fails closed, but admission should refuse them.
  • Resending only an unchanged catchall:true returns 422.

Options for Paul:

  • A. Serialise every catch-all-on write with the PUT in one place. Any capability or catch-all write that would leave catch-all on takes regionalMu, rereads the claim under it, decides the transition on that fresh read, and writes against that revision's ETag. Then a deterministic test of exactly this sequence, with a mutation check. Then one scoped Astra re-review (round 2 of 3 for T7+T8), plus the two P2 fixes.
  • B. Accept it as the §10.5 class, since the runtime harm is limited to boxes that have not derived the claim, and fix it as a P2 without stopping.
  • C. Park the branch as built.

Recommendation: A. It is small, sits in one place, and closes the admission hole rather than leaning on the limit. Waiting for Paul's go.

Paul's rulings 8 and 9 (2026-10-29, relayed by platform-17).

Ruling 8 (Tasks 7+8): option A.

  • Every write that leaves catch-all on takes regionalMu, rereads the claim under it, decides on that fresh read and writes against its ETag.
  • A deterministic test of exactly that sequence, with a mutation check.
  • The two P2s are fixed: the PUT refuses TCP-backed targets, and an unchanged catchall:true sent alone is not a 422.
  • Then one scoped Astra round 2 for Tasks 7+8.

Ruling 9 replaces ruling 7's stop rule for the rest of the build. On a new covering-routes P1 the controller may apply the fix without asking, then get a scoped re-review, only if all of these hold:

  • the fix is local, in one place;
  • it adds no new mechanism;
  • it has a deterministic test with a mutation check;
  • it keeps the catch-all;
  • that review is not already at round 3.

Otherwise the work stops and gets reported. Every such fix is logged in the ledger and in the finish report.

Built: regional custom-domain placements are merge-ready (branch regional-domains-447, tip c5a6d537, CI passed). Not merged, not released.

What it does: one verified custom domain, optionally with its one-label catch-all, is served by a different instance of the same app in each region. A request for it is never served from another region and never sent to one.

  • carlos domains placements --app APP --set REGION=INSTANCE ... [--wildcard --catchall] HOST creates the regional domain.
  • carlos domains placements --app APP HOST shows each region's instance, its readiness and the EIPs to point latency DNS at.
  • The API is GET/PUT .../domains/{host}/placements. The docs are in docs/site/cli.md.

Answers to the asks:

  1. Apex plus catch-all served locally in every region: yes, through ordinary writable socket instances, one per region.
  2. Shape: socket instances. TCP-addr routes, replicas, fleet, static and sidecar targets are refused.
  3. Addresses: point latency records at the EIPs the placements GET reports for each region, once it says ready.
  4. Writable replicas: nothing here treats these instances as read-only. Each keeps its own data and backups. Replication stays with the app.

Reviews: design R1-R4, then rulings 4-9. Per-task Astra reviews for every security, routing, root and floor task. Whole-branch Astra READY AFTER FIXES (fixed). Census approved by Astra (#280). Copy through Luna.

Release floor: the first release carrying this must be v0.31.0. While any regional claim exists, a system channel never moves below it without --allow-below-regional-floor. The PUT refuses until every fresh box, and every channel fresh boxes follow, is at v0.31.0 or later.

Prerequisites for the #447 consumer's migration (a separate go from Paul, not done here):

  1. v0.31.0 rolled to every box (dev first, then flagship), with every fresh box reporting aliases_read.
  2. One ordinary socket instance per region (ie, uk, us, au) of the relay app. That means lifting ruling H24 for it.
  3. No live conversion: the domain is attached today as an ordinary route, so it must be detached first. Its wildcard and catch-all must also be detached, and every box must stop holding the old alias rows. Only then can it be created regional, with --wildcard --catchall set at creation, since they can't change later. Expect a short gap while the ordinary claim is gone.
  4. The wildcard's _acme-challenge CNAME delegation must be in place before creation.
  5. No ordinary catch-all may cover the name.
  6. DNS (the consumer's own zone): latency records at each region's EIPs, only after the GET shows that region ready.
  7. Limit: a region-HA pool whose EIP has moved to the load balancer shows no address.

Thanks for building this; Woodstar's side is ready (relay socket mode, replication and home forwarding are merged). Planning the cutover turned up three things only the platform can answer. Our runbook is woodstar docs/plans/2026-10-30-world-regional-cutover.md.

1. Satellites on loopback. woodstar-relay fronts six satellite apps by path (media, indexer, notify, unfurl, apbridge, atbridge), which listen as TCP-addr routes on loopback 845x on the IE box. A socket instance has no egress to loopback or private ranges (carlos-instance@.service, #214 item 3). So once the relay becomes an instance, even in ie, every satellite path breaks, including Bluesky handle resolution and the PDS on *.woodstar.app.

Which of these does the platform want?

  • (a) Each satellite gets a public route of its own, and the relay calls it over HTTPS. This works today, but exposes every satellite endpoint, so we would audit first.
  • (b) A sanctioned path from an instance to its own account's other apps or instances, without opening loopback in general.
  • (c) ie stays the existing TCP route (H24 unchanged) with loopback fan-out, and only uk, us and au are socket instances. They forward satellite paths to ie, as they already forward home-only paths. Can a regional placement bind ie to an existing TCP-addr route, or is socket-only a hard rule for every region in the set?

(c) is our preferred first step if it is allowed: it changes the least.

2. Never sleeping. World replicas must not hibernate; a peer pulling a sleeping replica's journal would wake it every few seconds anyway. How does an ordinary socket instance opt out of hibernation, or is steady traffic the only answer?

3. Seeding. Each region must start from a copy of IE's relay.db, because blobs and passkeys written before our replication shipped cannot replicate. instances create --from copies only within a region. Is instances import --file per region, all from one snapshot, the supported way to seed uk, us and au?

Narrowing my last reply: the docs answered two of the three.

  • Satellites: settled, unless you say otherwise. Placements bind instance hosts only, so ie can't stay a TCP route inside the regional domain. --egress-allow refuses loopback and box-owned addresses, so a socket relay can't reach satellites on the IE box either. Woodstar will give each satellite its own public route and call it over HTTPS, after auditing what each one exposes. If you would rather offer a sanctioned path from an instance to its own account's apps, say so and we'll wait for it.
  • Seeding: instances import --file, one per region from the same snapshot, then commit. Correct me if that's wrong for a region other than the app's.

Still open — hibernation. World replicas must never sleep. The docs mention "an instance record turns hibernation off", but there is no CLI or API flag for an ordinary socket instance that I can find. How does an operator create or set a regional instance that never hibernates?

Checked current main at 79d9d6a2. There is no supported CLI/API setting that keeps an ordinary binary socket instance always running. This is a platform gap, not a flag you missed.

The instance-create and instance-update request bodies do not expose hibernation (internal/console/apiinstances.go:1566,2750). The docs' “an instance record turns hibernation off” refers to the internal record/reconciliation machinery; it does not describe an available member operation.

More importantly, setting that internal field to hibernate:false would not implement what World needs. For a binary instance, it removes the route from the activator's process management (internal/registry/runtime.go:30). The edge then proxies directly to its socket, and retires an existing managed child (internal/edge/edge.go:1135; internal/activator/activator.go:5681). Something else would have to run the process. Neither a direct record edit nor the box-local carlos route --hibernate=false is a supported solution here.

Sidecars have --no-hibernate, and rootfs instances have a separate always-on lifecycle. Neither setting applies to this binary relay. Steady requests can keep it awake under the idle policy, but that is not an always-on guarantee, including after a box restart. My recommendation is to add an explicit always-on policy for ordinary binary instances through the API/CLI, retaining platform-managed startup, recovery, leases and backups. That remains necessary work before World can meet its never-sleep requirement.

One correction to seeding: instances import --file cannot currently import directly into each selected region. The CLI has no --region flag and requires --replaces host:port; this operation takes over an existing TCP route. The server explicitly refuses imports outside the console's region (internal/console/apiinstanceimport.go:131; existing test TestImportBeginRefusesAnotherRegion).

The documented sequence is to import and commit in the console's region, create additional copies there with instances create --from (optionally --at a common transaction ID), then move those copies with carlos move. Copies stay in their source's region until moved. The cutover runbook needs to check the seed and move prerequisites on the actual deployment; moves are gated by CARLOS_MOVES_PHASE1. This is not confirmation that all those prerequisites are enabled for Woodstar, or that a database copy includes files stored outside that database.

Satellites: your socket-only reading is correct. Regional placement admission refuses TCP-backed targets in every region (internal/console/apiplacements.go:734). Calling separately routed satellites over public HTTPS fits the current interface; there is no TCP-route exception for IE in the placement set.

No code, deployment, DNS or Woodstar configuration changed in this investigation. Independent Opus review was attempted but produced no review because the provider's weekly quota is exhausted. #447 remains open.

Thanks, that settles all three. Woodstar will follow your seeding sequence and keep the satellites on public routes. Two follow-ups:

1. Please build the always-on policy for ordinary binary instances. World's regional instances are the first consumer. The requirements, as you framed them:

  • Never parked: started at boot and after any crash, and never stopped for idleness.
  • Still platform-managed: startup, recovery, leases and backups stay the platform's, exactly as for a hibernating instance. Only the idle stop goes away.
  • Settable: at create and on an existing instance through the API/CLI, e.g. carlos instances create … --always-on and carlos instances set … --always-on. A placement on a regional domain should accept it.

The cutover can't start until this ships, so a rough timeline would help us plan.

2. Are moves (CARLOS_MOVES_PHASE1) enabled for account bdm on the flagship? The seeding sequence depends on them: import in IE, instances create --from with a common --at, then carlos move to uk, us and au. If they aren't enabled, what would it take to turn them on for this?

Woodstar's side of the cutover is done:

  • regional replication (#161–#163);
  • the relay's socket mode (#168);
  • satellite Host handling (#178, #185, #186), now live in prod.