carlos / platform Public

Plan region HA P2 console slices and dependency gates

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 35f0fe7dc87c295f1f759ea6e9e49379f19ea8f9 parent 79d9d6a
1 file changed, +272 −0
  • docs/superpowers/plans/2026-11-01-region-ha-p2-console.md +272 −0
diff --git a/docs/superpowers/plans/2026-11-01-region-ha-p2-console.md b/docs/superpowers/plans/2026-11-01-region-ha-p2-console.md
new file mode 100644
index 000000000..a055c4a04
--- /dev/null
+++ b/docs/superpowers/plans/2026-11-01-region-ha-p2-console.md
@@ -0,0 +1,272 @@
+# Region HA P2: console implementation plan
+
+> **For agentic workers:** Use the writing-plans task format below. This commission is planning only: write and commit this plan, with no production code, push, reviewer dispatch or full test suite. A later controller chooses execution tooling; no subagent dispatch is authorized here.
+
+**Goal:** Make the dev console describe an HA instance and its public ingress honestly, refuse unsupported creates and transfers before they change anything, and finish the console's capacity and operator doors once their box-side producers have merged.
+
+**Architecture:** P2a reads existing records, box snapshots and configured ingress; it adds refusal checks at the existing console write boundaries. It neither places a wake nor grants a lease. P2b is an outline gated on merged producers: one claim-free eligibility observation must feed readiness, the capacity metric and all create doors. Desired role and applied role must remain distinguishable.
+
+**Tech stack:** Go 1.26, console HTTP/API and Go templates, SQLite registry, existing S3 stores and bounded listings, existing CloudWatch adapter. No new service, dependency or polling loop on boxes.
+
+**Spec:** `docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md`, rev 6.1, especially §§4.4, 10–11, 14–16, 18–21. Authorities are this merged spec, AGENTS.md, and Paul's rulings on discussion #421 (`amadan discuss show 421`, read 2026-11-01).
+
+**Base:** amadan `origin/main` = **79d9d6a281c58c481e902c6e963b5479a016446a**, also this branch's starting HEAD. All code citations below are against that commit. Proposed files have no fabricated line numbers. Read the P1b-2 plan for format; read the final P1b-3a plan on `origin/region-ha-p1b3-placement` for boundaries only. Its interfaces are not implementation dependencies of P2a.
+
+**Main advanced during drafting:** the shared origin/main ref moved to `06bc3d73e5ea6bc4ef5a141339a0de8187683186` (team-service design/reload-test and mobile-navigation changes). Its diff from the pinned base changes none of the P2 code anchors or interfaces used here. P1b-3a remains unmerged. Refresh main and those checks before implementation; this planning branch is not rebased or merged.
+
+**Status:** first draft, no independent review. Only this plan is committed in this session.
+
+## Rulings and invariants
+
+| Invariant / ruling | Design consequence |
+|---|---|
+| **C1, honest observation (§15)** | An adopted route is not an awake process. Display a box only from a fresh, tenant-matching, post-creation awake report; incomplete or contradictory evidence cannot establish absence or a unique holder. A snapshot is never lease authority. |
+| **C2, public ingress (§15)** | DNS instructions name configured regional ingress plus `PLATFORM_EDGE_IPS`, never group members' EIPs in configured-ingress mode. DNS guidance cannot widen proxy trust. |
+| **C3, refuse before mutation (§§11,14)** | Unsupported shape, unknown data provenance and HA moves/imports fail before record, environment, domain claim, storage provisioning, staging or stop intent is written. Cleanup after a partial operation is not the refusal. |
+| **C4, shared eligibility (H4, A20, §11)** | Capacity, readiness and create admission use one complete, verified observation and shared thresholds. Headroom is a create check only; waking an existing host must retain main's recovery path. |
+| **C5, applied roles (§§4.3–4.4,10)** | Saving a desired role is not evidence of drain completion, admission or health. An unbuilt consumer must not produce a successful applied-role answer. |
+| **C6, bounded requests (§18)** | No new per-box polling. Count the console's reads, pagination, unsuccessful CAS calls, index bumps and reader amplification. Unknown evidence is not zero capacity. |
+| **I1/I2, N-HA1,3,9** | The Litestream lease remains the only writer guard; no claim, early takeover or shortened lease. This plan changes no keep/restore rule or storage fencing. |
+| **N-HA2,4,7** | Born-HA only; no migration or retirement. HA offline moves and imports remain refused until P4/P5 are designed, shipped and rehearsed; G5 also needs migration and P6. |
+| **N-HA5,6** | No capture/sync cadence changes. Never promise a universal one-second recovery or loss window; replication classes retain their stated intervals. |
+| **N-HA8,10** | P1b slices stay separate. Front forwarding/accounting remain P1b-2's; P2 does not insert a wake check or duplicate per-request work. |
+| **N-HA11,12 (#421)** | The small termination SQS consumer belongs to P1b-3b (about 180 receives/hour/box). P1b-3a's per-box 10-second suspect exclusion stays there. Neither is a console poll or a dependency available on main today. |
+
+## Slices, first visible merge and finish line
+
+**P2a, executable against this main:** Tasks 1–5. Task 1 lands first with its display and witness together: on the dev console, the born-HA host's Instances row and detail identify its last reported awake box, or explain that none can be established. Task 2 changes ingress guidance. Tasks 3–4 close main's refusal gaps. Task 5 supplies the production-wiring witness and dev acceptance. These changes need no P1b-3a interface.
+
+**P2b, outline only:** claim-free capacity/create eligibility, role writes and full readiness, plus any regional data-proof path needed to lift P2a's conservative create gate. Combining those with display changes would couple API authority, role consumption, a metric loop and boot/admission evidence in one review. Its dependencies and remaining acceptance are listed under **After P1b-3a merges**. Do not implement or review that outline as an executable plan.
+
+**Switch-on (rule 5):** Paul gets the console view and safer doors he requested for G3. P2a switches on in the **first dev release after its implementation merge**, with Task 5's scoped drill scheduled before landing. Snapshot attribution is active for born-HA records immediately; ingress uses the new configured list only when supplied; refusals apply to active HA regions and immutable HA records. No new feature flag. If that dev release/drill cannot be scheduled, retain implementation on its branch. P2b switches on at **G1**, after its merged dependencies and dev witness; keep it on branch without a scheduled G1 release. A planning commit has no runtime switch.
+
+P2a alone finishes neither P2 nor G1. The current series finish line is **G3**: P1b-3, P2, P3 built, dev G1/G2 drills passed, first carloku.com region HA. G5 is the later routine box-swap goal; do not claim it from these doors. Each implementation session owns one stated slice and ends when it merges. This session ends at the local plan commit.
+
+## Round history
+
+| Round | Brief / findings | Verdict | Invariant / disposition |
+|---|---|---|---|
+
+No P2 review has run. Preserve this table through splits and handoffs; P2a/P2b do not reset a review of the same change. Upstream history stays closed: spec three rounds, P1a three, P1b-1 three, P1b-2 three, dead-holder backoff three; P1b-3a two, final READY AFTER FIXES under N-HA12. Do not reopen those designs.
+
+Future briefs use `docs/superpowers/reviews/REVIEW-BRIEF-TEMPLATE.md`. Stop at the first round without P1, fix its P2s without reopening, put P3s on the branch follow-up list. A fourth round needs Paul's scoped go. Two consecutive rounds against the same invariant stop fixes and require Paul's refuse/cut/central-enforcement choice. Task reviews are limited to security, cache, root, termination, production storage, billing or redirect risk; other tasks receive whole-branch review. Census and newly changed security/root/termination/storage behavior still check final fixes inside that budget. No reviewer is dispatched here.
+
+At 24 hours without a merge, or when stopping rule 1 or 2 triggers, the implementation controller reports the blocker, last two rounds and recommended cut on the branch discussion and to Paul; repeat each further 24 hours. After three days or three compactions, `amadan branch handoff` and stop. An unmerged prerequisite is a wait, not permission to design against its branch.
+
+## What main already has, and what is missing
+
+| P2 item | Verified main evidence | Disposition / invariant |
+|---|---|---|
+| Born-HA switch and record stamp | `cmd/console/main.go:475`; `internal/console/seedmove.go:33,47`; `internal/console/apiinstances.go:2306` | Built by P1a. Preserve stamping and exclusions; never migrate on display or create. **N-HA7.** |
+| Moves of an immutable HA record | `internal/console/seedmove.go:64`; callers `apiinstancemove.go:427,583`, `apiinstancemove_offline.go:505`; `ha_born_test.go:116` | Built, including stage/start and both older doors. Do not build again. Missing: HA-active source/destination regions when `rec.HA` is false; Task 4. **C3.** |
+| App placement of HA records | `internal/console/seedmove.go:134`; `ha_born_test.go:143,247`; `fleets.go:881,955` | Built. Keep the strict read and under-write race protection. Extend only regional refusal gaps, without rewriting placement. **C3.** |
+| HA imports | `internal/console/seedmove.go:74`; `apiinstanceimport.go:119,391,718`; `ha_born_test.go:165,179` | Begin/upload/stopped refusals built; one-box seed restriction is `seedfloor.go:88`. Retain these; witness immutable HA record even after configuration is unset in Task 4. **C3/N-HA4.** |
+| HA staging fallback | `internal/activator/backend_exec.go:933–939` | Built: HA restore returns before legacy warm-copy/staging path. Test existing behavior, no backend edit. **I2/C3.** |
+| Leftover create rail | `internal/console/createleftovers.go:40,64,136`; `apiinstances.go:2252`; `apisidecars.go:394` | Built LTX-only rail; intentionally skips remote, pool and fleet data. Missing arbitrary host-prefix objects, files and lock; Task 3. **C3.** |
+| Non-hibernating socket create | `internal/console/apiinstances.go:2182,2308` | Shape validation and HA stamp exist, but this boundary has no HA-specific non-hibernating socket refusal. Task 3. **C3/§6.1.** |
+| No capacity message/throttle | `internal/console/nocapacity.go:27,37,61,123` | Approved text, Retry-After 60 and per-console-process hourly page throttle already exist. Reuse, not rewrite. Current `roomIn`/chooser depend on claims (`:146,166`). P2b. **C4/C6.** |
+| Headroom/shared policy | `internal/host/headroom.go:13`; `internal/host/edgesfile.go:173,953,1238`; `internal/boxchoice/policy.go:16,63,83` | Existing free/total memory/disk, 15%/10%, age 15m/future 1m, timed publication. `headroom.apps` is absent on main. P2a reads none of it. **C4/rule 4.** |
+| Identity and live evidence | `internal/console/boxselect.go:147`; `reqmemo.go:218`; `internal/edgesfile/snapshot.go:160` | Reuse liveEdges and signed box identity verification in P2b; no roster/enrolment or ASG enumeration. Current verifier expects `BoxID`, whereas views identify `Box`; reconcile that explicitly at P2b planning. **C4.** |
+| Role doors/CLI | `internal/console/apiboxroles.go:55,115,159`; `authcli.go:554`; `system_roles.go:35,55` | Exist only as signed-roster box/group role writes, with old default/legacy vocabulary. No `control/box-roles` reader/producer on main; `internal/release/changeindex.go:72` has no role scope. Replace in P2b with a merged consumer, not enable these doors. **C5.** |
+| Capacity adapter/start | `internal/console/awsregionmetric.go:23,29,78`; `regioncapacity.go:99,121`; `hostclaimops.go:50–64`; `cmd/console/main.go:707` | Carlos/Region EligibleBoxes and one-minute runner exist, but only start inside claim recovery and count through claim executors. P2b moves start; no duplicate metric loop now. **C4/C6.** |
+| Full LB readiness | `internal/lbhealth/lbhealth.go:154`; `internal/edge/lbhealth.go:21`; spec §10 | Six local conditions built. Main has no claim-free remote admission/latch/hook-completion report on which a console can assert full readiness. P2b waits for P3; no remote health polling invented. **C5.** |
+| Snapshot attribution | `internal/console/remoteinstances.go:259,337`; `apiinstances.go:1062,1182,1251`; `view.go:726` | Fresh tenant/lifetime checks built, but newest report wins regardless of awake and local adopted routes bypass remote attribution. Task 1. **C1.** |
+| Ingress list | `cmd/console/main.go:1334`; `internal/console/server.go:1580,1632`; `view.go:199` | PLATFORM_EDGE_IPS plus every live box EIP today. No CONSOLE_REGION_INGRESS parser. Task 2. `authcli.go:1202` separately uses EdgeIPs for proxy trust: do not add ingress there. **C2.** |
+
+Paths omitted before a filename in this table share its last explicit directory. Exact ranges explain existing blocks; task file lists below are authoritative edit destinations.
+
+## Global constraints
+
+- **C1/security:** session, CSRF where applicable, owner/member byte-identical 404, fresh authentication last. Team/service scope remains the existing door's scope. No tenant name, host, bucket or box detail before authorization.
+- **C3/N-HA7:** `haRegion("")` resolves through HomeRegion. The immutable record flag remains effective with HARegions unset. Ordinary new data-prefix admission uses prospective `shouldStampHA(rec) && !seeded`; it does not widen HA to seed transports. Static/address-backed records, replicas, sidecars and rootfs keep main's stamping exclusions; never stamp them to make a test pass.
+- **C3:** preserve existing hosts-history, seed floor, rootfs, binding, private-storage and create-only CAS rails. An existence retry gets the door's ordinary duplicate response before examining its own live replica.
+- **C4:** at least 15% free memory, 10% free disk, generation at most 15 minutes old and at most 1 minute ahead. Missing totals are not eligible. No headroom gate in edge, activator, restart, timer or ordinary wake paths.
+- **C5/rule 4:** no assumed Apps, role, drained, booting, latch, hook or readiness wire field from an unmerged producer. The spec's contract is a requirement, not evidence that main publishes it.
+- **C6:** no new box S3/SQS/EC2 loops. New console data reads are request-driven and bounded; cache reuse never hides incomplete evidence. No AWS client/credential expansion or infrastructure mutation in P2a.
+- Copy deck is a controller→Luna drafting brief, not approved product copy. The writing-pipeline plan exception applies to this artifact. At execution, the controller drafts/reviews the listed strings and applies accepted text verbatim before product writes; no Luna call or copy approval is claimed here.
+- Tests while implementing: targeted `nice -n 19 go test ... -run ... -count=1`; default GOCACHE. Owned scratch under `$TMPDIR` or `~/.cache/region-ha-p2`, removed; listeners bound to 127.0.0.1. No sudo or production writes.
+
+## Review focus
+
+1. A newer asleep adopter masks the older awake reporter, including a platform-local adopted row: Task 1 `TestHAAwakeBoxIgnoresSleepingAdopters` and `TestHAAwakeBoxPageAndAPI`.
+2. Same host under a prior lifetime or another account leaks a box: Task 1 `TestHAAwakeBoxTenantAndLifetime`.
+3. NLB ingress becomes a trusted X-Forwarded-For sender or group EIPs escape into guidance: Task 2 `TestIngressDoesNotWidenProxyTrust` and `TestConfiguredIngressSuppressesMemberIPs`.
+4. Empty LTX but sealed secrets/marker remain, or the destination bucket cannot be inspected: Task 3 `TestHACreatePrefixObjects` and `TestHACreateUninspectableRefusesBeforeWrites`.
+5. A legacy record moves into an HA-active region, or an import resumes after its HA configuration is unset: Task 4 `TestHAMixedMoveRegionsBeforeWrites` and `TestHAImportFlagSurvivesSwitchOff`.
+
+## File map for P2a
+
+| File | Responsibility |
+|---|---|
+| New `internal/console/haawake.go`, `haawake_test.go` | Pure tenant/lifetime-bounded awake reporter selection over existing appFacts. |
+| `internal/console/{remoteinstances.go,apiinstances.go,view.go,overview.go,instancepage.go}`; new `haawake_wiring_test.go`; existing templates and `instancecopy.go` | Shared API/page attribution, including locally adopted rows; copy keys. |
+| New `internal/console/regioningress.go`, `regioningress_test.go`; `cmd/console/main.go`, `main_test.go` | Strict configured-ingress parsing and startup wiring. |
+| `internal/console/{server.go,view.go,edgefold_test.go}` | DNS-only source selection; preserve legacy mode and proxy trust. |
+| New `internal/console/hacreate.go`, `hacreate_test.go`; `createleftovers.go`, `apiinstances.go`, `apisidecars.go`, `domainattach.go` | Pre-write shape/provenance refusals, using existing region/data/store types. |
+| `internal/console/{seedmove.go,apiinstancemove_offline.go,apiinstancemove.go,apiinstanceimport.go,fleets.go}`; new `hatransfers_test.go` | HA source/destination and immutable import refusal gaps. |
+| New `internal/console/hap2_wiring_test.go` | Real handlers and store counters; no duplicate simulated admission algorithm. |
+| `docs/site/cli.md` | Only accepted copy describing changed command behavior; no new top-level verb in P2a. |
+
+---
+
+### Task 1: Show the reported awake box on the dev console
+
+**Files:** create `haawake.go`, `haawake_test.go`, `haawake_wiring_test.go`; modify the attribution/view/template files in the file map. All paths in this task are under `internal/console/`.
+
+**Interfaces:** consume `appFacts`, `hostReport`, `provision.Record` and the existing `remoteFacts` accessor. Produce `type haAwakeView struct { Box, State string }` and `func (f appFacts) haAwake(rec provision.Record) haAwakeView`. State is one of `awake`, `asleep`, `unknown`, `conflict`; only awake has a Box. Add additive API fields `awake_box,omitempty` and `awake_box_state,omitempty` to `instanceListRecord`, and `AwakeBox, AwakeBoxState string` on RouteView and InstanceRow, threaded through `overview.go:303` assembleInstanceRows into row/detail templates. These are observations, never stored in Record. Keep `served_by` as the existing adopted/routed set for compatibility; do not relabel it as the running owner.
+
+- [ ] **Step 1: Write failing tests.** `TestHAAwakeBoxIgnoresSleepingAdopters`: A awake and B newer/asleep still selects A; no adopted local row overrides it. `TestHAAwakeBoxTenantAndLifetime`: foreign/missing tenant, report at or before CreatedAt, stale snapshot and transient process cannot supply Box. `TestHAAwakeBoxAmbiguous`: two fresh awake boxes give conflict and no Box; no matching report, partial read or no known process state gives unknown; complete matching asleep reports with no awake/transient give asleep. Input order never changes the result; inputs stay immutable.
+- [ ] **Step 2: Run** `nice -n 19 go test ./internal/console -run 'TestHAAwakeBox' -count=1`. Expected FAIL before implementation.
+- [ ] **Step 3: Implement C1 only in haAwake.** Reuse fleetReports' freshness and host's tenant/CreatedAt predicate; do not change `appFacts.host`'s version/alias selection globally. Apply the new observation to born-HA rows in both local and remote branches of `addRemoteRows`, the Instances list/detail and API. A locally adopted route carries no process evidence of its own. Keep all non-HA views unchanged. Label it as the last snapshot, not a live lock read. Copy IDs A1–A5.
+- [ ] **Step 4: Add/run** `TestHAAwakeBoxPageAndAPI`: the actual authorized page/detail/API agree on the same observation; stranger/team-out-of-scope get existing neutral answers, no foreign Box. `TestHAAwakeBoxNoExtraReads`: feed existing reports through the real accessor, render twice inside the cache TTL, assert no new S3 calls attributable to selection. Run Step 2 and `nice -n 19 go test ./internal/console -run 'TestRemoteFacts|TestInstanceGrouping|TestHAAwakeBox' -count=1`; expected PASS.
+- [ ] **Step 5: Commit** `region-ha p2a: show the last reported awake box`. This is the first implementation merge, including its dev-visible view and witness; no scaffold-only merge.
+
+### Task 2: Use configured regional ingress for DNS instructions
+
+**Files:** ingress parser/startup/source files from the file map; update accepted `domainGuidance` copy in `view.go` and CLI docs in the same task.
+
+**Interfaces:** `Config.RegionIngress []string` (DNS destinations only), plus `func ParseRegionIngress(raw string) ([]string, error)` in `internal/console/regioningress.go`, called by `cmd/console` startup. Format of **CONSOLE_REGION_INGRESS** for this plan is comma-separated IP literals (NLB's static EIPs), matching PLATFORM_EDGE_IPS's address vocabulary; tofu deployment wiring must supply the complete regional set. Trim, canonicalize IPv4/IPv6, de-duplicate in first-seen order. Empty/unset retains legacy behavior. Non-empty with any invalid item fails startup; never silently fall back to member EIPs.
+
+- [ ] **Step 1: Write failing tests.** `TestRegionIngressParsing`: blank legacy, whitespace, duplicate, IPv4/IPv6, invalid/hostname/URL/port rejected. `TestConfiguredIngressSuppressesMemberIPs`: in configured mode output is PLATFORM_EDGE_IPS followed by RegionIngress, deduplicated; no live-box fold even during S3 failure. Unset mode retains today's union and cache. `TestIngressDoesNotWidenProxyTrust`: new ingress alone does not make `trustsProxy` accept a peer; existing loopback and explicitly trusted EdgeIPs behave as before.
+- [ ] **Step 2: Run** `nice -n 19 go test ./internal/console -run 'TestRegionIngress|TestConfiguredIngress|TestIngressDoesNotWidenProxyTrust' -count=1`; expected FAIL.
+- [ ] **Step 3: Implement C2.** Parse at console startup, before NewServer/listener. Do not merge RegionIngress into Config.EdgeIPs: `authcli.go:1210` uses that as authority. In configured mode `edgeIPs` returns the static DNS union without `foldedEdgeIPs`; all callers of `dnsTargets` inherit it. Preserve apex A-record versus subdomain CNAME behavior, with accepted neutral ingress wording I1–I5; do not promise the console discovers NLB addresses. Validate proposed ingress against deployment outputs before enabling it. In the deployment recipe require the agents' existing PLATFORM_EDGE_IPS to recognize that same public set before any NLB cut-over; console instructions alone cannot change their DNS verdict.
+- [ ] **Step 4: Add/run** `TestRegionIngressStartupWiring` in `cmd/console/main_test.go` using injected getenv/parser input; no real process or credentials. Run Step 2 plus `nice -n 19 go test ./cmd/console -run TestRegionIngress -count=1` and `nice -n 19 go test ./internal/console -run 'TestEdgeFold|TestDomainGuidance' -count=1`. Expected PASS; configured mode makes **zero** fold reads, and no network address is looked up during parsing.
+- [ ] **Step 5: Commit** `region-ha p2a: use regional ingress in DNS guidance`.
+
+### Task 3: Refuse unsafe HA creates before any side effect [own review: security/storage gate]
+
+**Files:** new `internal/console/hacreate.go`, `hacreate_test.go`; modify createleftovers/apiinstances/apisidecars/domainattach files as listed.
+
+**Interfaces:** produce `func (s *Server) haCreateShapeRefusal(rec provision.Record) *doorRefusal` and `func firstHALeftover(ctx context.Context, st release.Store, prefix string) (relative string, err error)`. `firstHALeftover` uses existing `release.PageLister.ListPage(ctx,prefix,"",1)`, where prefix is `activator.HibernatePrefix(cfg.HibernatePrefix,host)+"/"`. Missing bounded-list support is an error, never a fallback to unbounded List. Add `HAData bool` to leftoverCreate: the ordinary instance caller sets it from `s.shouldStampHA(rec) && !seeded` before the final stamp; seed/import creates retain their existing separate transport rails and never receive an HA stamp. Consume `SeedData` only when it is the configured home data store at bucket root (`server.go:548`); never use the deployment Releases store or derive a new bucket client from an unverified edges field.
+
+- [ ] **Step 1: Write failing tests.** `TestHACreateShapeBeforeWrites`: HA-active ordinary socket instance with Hibernate false rejects 400; normal hibernating instance passes this shape check; non-HA/static/address route behavior remains main's. `TestHACreatePrefixObjects`: one object each at lock.json (legacy, corrupt or another-lifetime marker), files/0/manifest, a sealed trio object, each LTX level, and an unknown predecessor key all reject 409 and name only the relative leftover. A sibling prefix never matches. Refuse every existing lock rather than inventing an exception for an unallocated new lifetime. Empty prefix passes. No object body/secret/bucket name reaches the response.
+- [ ] **Step 2: Run** `nice -n 19 go test ./internal/console -run 'TestHACreate' -count=1`; expected FAIL.
+- [ ] **Step 3: Implement C3.** Add the shape check after ValidateShape and effective region resolution, before any mutation. Reorder `leftoverReplicaRefusal` entry: only `!c.HAData && !leftoverCheckApplies(...)` may take the old early return. Then read record existence, return ordinary duplicate/read failures, and for c.HAData require authoritative local coordinates before the bounded entire-host-prefix check. Thus remote HA creates cannot skip the gate through the existing early return. Run the proof before the old LTX rail; preserve old move-staging LTX protection. A duplicate retry returns today's duplicate response without inspecting its own data. Missing store, unsupported bounded listing, listing error and a stamped region or pool whose data this console cannot authoritatively inspect get 503 **before writes** (F3); a found object gets 409/F2; no IAM expansion or best-effort acceptance. Static first-route attach creates no data, so no data-prefix check, but its capacity gate remains P2b.
+
+ **Deliberate cut / C3:** P2a can prove emptiness only for `leftoverCheckApplies(region,pool)` plus non-nil SeedData. Other HA data creates remain refused until P2b has a reviewed regional proof path. This includes an opaque pool even if an operator knows it happens to share a bucket. Existing hosts continue to wake. Do not make sidecars HA: the main sidecar stamp exclusion and unfinished duty ownership remain; until the merged sidecar runtime/eligibility is available, refuse new standalone sidecars in HA-active regions with F4. P2b must finish §11's sidecar create behavior before calling P2 complete. No change to co-spawn sidecars or existing records.
+
+- [ ] **Step 4: Write/run** `TestHACreateUninspectableRefusesBeforeWrites` and `TestHACreateDuplicatePrecedesReplica`: home/remote/pool, unchanged non-HA fleet placement, missing PageLister, S3 failure, private-storage app, --from/import requests and lifetime-on/off paths. Plain prospective born-HA creates use the new proof; --from remains on its existing seed-floor/leftover transport and stays unstamped. Exercise actual handlers and count protected writes: zero record/lifetime registration, claim, env binding, grant/provision, serial/index or staging writes on refusal. Explicit HA import refusal takes precedence over this data-proof gate; do not replace seed-floor or existing seed transport with this ordinary-create proof. Keep the born-HA path's first-wake empty-prefix proof; the create-time observation is not a reservation against concurrent writers. Update `ha_born_test.go:84` to preserve --from/ordinary stamping checks while asserting the deliberate active-HA standalone-sidecar refusal (and no HA stamp), and keep a successful non-HA sidecar stamping-exclusion witness. Supply an empty bounded home data store to successful ordinary HA fixtures; never disable the new gate to get a pass. Run Step 2 and `nice -n 19 go test ./internal/console -run 'TestCreateStampsBornHA|TestSeedsAndSidecarsAreNeverStampedHA|TestLeftover|TestCreateRefuses|TestCreateAllows|TestCreateSkips|TestCreateRetry' -count=1`. Expected PASS with old non-HA cases unchanged.
+- [ ] **Step 5: Commit** `region-ha p2a: refuse unsupported HA creates before writes`.
+
+### Task 4: Close regional move/import refusal gaps [own review: production storage]
+
+**Files:** transfer files in the file map; new `internal/console/hatransfers_test.go`. Preserve main's existing P1a tests.
+
+**Interfaces:** add `func (s *Server) haTransferRegion(rec *provision.Record, to string) string` in `seedmove.go`: return the display region which blocks, in priority order immutable HA record's source, active HA source, active HA destination, else empty. Use existing home normalization and approved `haMoveSentence`. Extend import refusal to take both the record flag and destination region; update all three callers consistently. The record flag remains authoritative even when the configuration is unset.
+
+- [ ] **Step 1: Write failing tests.** `TestHAMixedMoveRegionsBeforeWrites`: HA→legacy, legacy→HA, HA→HA, legacy record in an HA-active source, home represented as empty and as its code; source flag true with HARegions unset; both offline stage and start. Assert 409 names the blocking region and no OfflineStart, stage journal, stop, hold, instance/env/control mutation. A legacy→legacy case preserves its result. `TestHAImportFlagSurvivesSwitchOff`: HA record at begin/upload/stopped refuses even when HARegions is unset; active-region false-flag imports continue to refuse; non-HA import behavior is unchanged.
+- [ ] **Step 2: Run** `nice -n 19 go test ./internal/console -run 'TestHAMixedMove|TestHAImportFlag' -count=1`; expected FAIL.
+- [ ] **Step 3: Implement C3 centrally.** Call the transfer rule after request region syntax/ownership checks and before `offlineClaimEvidence`, manifest/fleet work or writes in `offlineBeginChecks`; move the evidence read later if needed. Recheck a staged move when it starts, as main already does. Apply the same refusal to legacy/Phase-1 initiation so an alternative door cannot bypass it. Preserve abort/revert/finish cleanup of already-started operations; never strand a stopped legacy host by globally rejecting recovery verbs. Apply the rule to `carlos apps place` before manifest/registry writes and during its existing write recheck, including a legacy app returning to HA-active home. `placeAppTarget` (`fleets.go:783,817`) accepts only home (`target == ""`) or fleet/<name>, not arbitrary region codes: normalize home and reject active HA source/home before `SetAppPlacementContext` (`:928`); do not invent a regional apps-place API. Retain P1a's HARecord CAS refusal, seed/rootfs restrictions and strict read.
+- [ ] **Step 4: Add/run** `TestHAPlaceRegionsBeforeWrites`, `TestHATransferCleanupStillWorks` and main's `TestMoveDoorsRefuseHAHostBeforeAnyWrite|TestMoveRefusalNamesTheHomeRegion|TestImportRefusedIntoHARegionInOneBoxRegion|TestImportUploadAndStoppedRefusedInHARegion|TestPlaceRefusedForAppWithHAHost|TestPlaceRefusesAnHARecordCreatedBetweenItsScans`. Verify no rejection of authorized cleanup and no capability advertisement for unavailable HA moves. The activator HA staging bypass is an existing regression witness, not a new implementation task. Expected PASS.
+- [ ] **Step 5: Commit** `region-ha p2a: refuse HA transfers at both region boundaries`.
+
+### Task 5: Production-wiring witness, dev console drill and landing gate
+
+**Files:** new `internal/console/hap2_wiring_test.go`; implementation branch's drill evidence. No infrastructure change is part of this task without the scoped approval below.
+
+- [ ] **Step 1: Write/run** `TestHAP2ProductionDoors` and `TestHAP2RequestBudget`, using NewServer's real auth/router, real record/store wrappers and a low-level S3 counting transport. Count rejected instance, standalone sidecar, first-domain route, move, stage, place and import mutations, including private storage and lifetime modes. Display tests drive a platform-local adopted route plus the two existing report snapshots; no fake replica-to-awake inference. Assert accepted copy IDs at actual response/template/alert sinks. New targeted commands: `nice -n 19 go test ./internal/console -run 'TestHAP2|TestHAAwakeBox|TestHACreate|TestHAMixedMove|TestHAImportFlag|TestHAPlace|TestHATransfer|TestRegionIngress|TestConfiguredIngress|TestIngressDoesNotWidenProxyTrust' -count=1`. Expected PASS. Temporarily omitting each production gate must make its corresponding witness fail; do not add production mutation switches.
+- [ ] **Step 2: Prepare dev approval card.** Read the private deployment root to identify actual account/region/resources. Name dev console, leo/sophie/hapair, exact test app/account/host/domain/prefixes, release/roll/restarts, temporary instance/alias writes, ingress configuration, cost cap, duration and rollback/cleanup/verification. No guessed account IDs, new IAM, NLB, DNS or group resource changes. Get scoped approval before live mutation; a later NLB drill needs a separate expanded scope. This planning task grants none.
+- [ ] **Step 3: Dev visible witness.** Use the built console binary, record version/UTC times. With a born-HA host awake on one peer and adopted/asleep on the other/platform registry, capture Instances row/detail/API: exactly the reporter, with snapshot-age wording. Sleep it; after the normal report/cache interval show no reported awake box. Unknown/duplicate reporters are exercised locally, without fabricating dev files. State the normal five-minute snapshot cadence and 60-second console cache separately; report load failures as unknown. Neither is a guaranteed live-state bound. Do not promise immediate sleep tracking or trigger fresh box polls.
+- [ ] **Step 4: Dev refusal/ingress witness.** Configured ingress equals approved existing dev public destinations (no pretending an NLB exists). Inspect DNS guidance/API and ensure member-only addresses disappear from configured mode. Validate agent DNS acceptance using existing tooling/config, without changing production DNS. Use approved never-woken throwaway names to demonstrate unsupported shape and mixed-region/import refusals before any app/control write. Prefix fixtures/counters stay local unless approval explicitly permits disposable data objects. Do not exhaust dev headroom; no kill/terminate/hang is necessary for P2a. Clean all resources/processes started by this task and restore configuration within the approval.
+- [ ] **Step 5: Census and review** as below; one whole-P2a branch review plus only risk-sized own-task reviews, within stopping budget. Record exact tip and evidence; no claims of P2b readiness or G1/G3 acceptance.
+- [ ] **Step 6: Implementation landing only.** Once targeted checks pass, run repo-required `go build ./...`, `go vet ./...`, `make test`, whole-tree formatting gate once; darwin/amd64, windows/amd64 and linux/arm64 compiles with CGO_ENABLED=0, explicit scratch output, arm64 binary below 64,000,000 bytes. A later authorized session pushes/describes the branch on amadan, requires green CI on its full tip, squash-merges with `-expect`, and reads main's CI. No push/merge or those suites in this plan-drafting session.
+
+## After P1b-3a merges — P2b outline only
+
+**Rule 4 gate:** re-read the actual merged diff and current main before writing an executable P2b plan. Its branch being final or its review being closed is insufficient. The following are requirements and dependency boundaries, not declarations of available Go types, JSON decoders or test fixtures.
+
+| Remaining slice / invariant | Exactly what must be on main first | Outline and acceptance to turn into tasks later |
+|---|---|---|
+| App-spread input, **H4/C4** | P1b-3a's actual owned-awake `headroom.apps` publisher, missing/stale semantics and its merged shared policy | If console choice needs app spread, inventory its independent PlacementView/BoxChoice decoder/conversion and preserve the merged ownership/count semantics. Main's current numeric capacity count does **not** require Apps; do not invent that dependency for EligibleBoxes. Do not implement or mirror 3a's proposed types now. |
+| Claim-free role object and CLI, **C5/A12** | The box-side role consumer/publication and scope watcher, owned by P3 per the final P1b plans, merged against spec §4.4 | Desired `control/box-roles/<ref>.json` = {role,by,at}; own override then `@region-<code>` default then serve. Only serve/drain/platform accepted; unknown fails closed. Operator API replaces roster path; CLI uses `carlos system box role <ref|@region-code> <role>`. Stop directing operators to roster groups/default/legacy. Exact-ref resolution from verified identity, no ambiguous label fallback. One-object conditional write, role scope index, audit and read-back distinguish requested/applied; never report drained on save. Per-box override may restore serve under a drain default, so test and display precedence explicitly. Region default covers replacement boxes. No claims or ASG enrollment. Unknown target/conflict/read failure refuses before write. |
+| Role rollout/admission readiness door, **C5/§10** | P3's actual booting/admission, role acknowledgement, drained completion and full-health observation; P1b-3b consumer/latch prerequisite merged | Operator API + API-backed CLI show desired/effective role, observed time, blockers, drained status and the source of evidence. Missing/stale/partial/malformed/unknown versions yield not ready, never empty-is-ready. Drain forwards and remains healthy; platform never an LB target; booting acquires no tenant lease. Full predicate is latch plus all six lbhealth conditions: host.env, first reconcile, initial role publication, termination consumer started, map/key, certificates and heartbeat/refresh checks. Hook completed before serving publication, grace 60s, initial hook timeout 15m. No console TCP/HTTP/S3 reachability poll and no fabricated ready field on an old box. Runtime/P3 owns the health truth. |
+| EligibleBoxes and create admission, **C4/C6** | Merged role/admission producers above and shared eligible-serving semantics; no dependency on Apps for a count | Rewrite `regioncapacity.go`/`nocapacity.go` to use verified live edges and actual effective roles, no ClaimAuthority/host actors. Same one-observation helper for metric/readiness and instance/standalone-sidecar/first-domain-route admission. Exclude booting/drain/platform/drained, wrong placement/bucket/fingerprint, incompatible capability, stale generations/liveness, unverified identities and insufficient 15%/10% totals. Distinguish pool-specific create set from regional metric's serving set; never require shared pool for a legitimate named pool. Refuse 503 + approved no-capacity text + Retry-After 60 before **any** env binding/domain claim/store/lifetime registration; zero eligible on complete evidence pages at most once/region/hour/console process. Incomplete evidence refuses temporarily without a no-capacity page or zero metric. Existing-host wakes are outside the gate. |
+| Metric start/routing, **C4/C6** | Previous row's actual count helper and trusted deployment region-coordinate source | Start once from console serve when CARLOS_REGION_METRICS=cloudwatch, independent of HostClaim and its worker; remove old nested start. Keep one-minute cadence, Carlos/Region, EligibleBoxes, Region=placement-code, in that region's CloudWatch. Use configured HA region universe so vanished/all-stale regions still publish zero on a complete read; do not enumerate only surviving files. Missing/partial reads omit only unprovable datapoints and log failure/recovery; alarms treat missing as breaching (eligible below box_count 25m). Resolve AWS region from trusted configuration/verified identity, never unverified majority or file-controlled endpoints. Measure/cache shared observations rather than adding a second per-minute read for every caller. |
+| Lift conservative create cuts, **C3** | A merged, reviewed region/pool data-emptiness authority reachable solely through console/API, and P1b-3b's standalone-sidecar runtime ownership | Plan the smallest bounded request-driven proof using existing rights, or keep that region/pool refused. No cross-bucket IAM expansion hidden in a console plan; independently scope any needed infrastructure approval. Witness lock/files/LTX across regions, switch-off imports and all writer doors. Then enable §11 standalone sidecar admission through the shared eligibility helper without changing HA stamping. Required before claiming full P2/G3 for a region needing these creates. |
+| Integrated G1/G2 witness, **I4/C5** | P1b-3a + 3b + P3 merged and executable P2b built | Drill per-box override/region-default replacement, applied-role acknowledgement, drain forwarding, non-admitted boot refusal and no target platform; loss of eligible capacity trips the existing metric/alert without withholding existing wakes. Use P3's scoped group/termination approval. Report readiness and budget at exact built tip. G2 fault/traffic/hairpin drills remain series acceptance, not a P2a claim. |
+
+The P1b-3a merge alone does not release the role/readiness/metric dependencies. No new API endpoint spelling, admission wire field, scope reader or producer implementation is fixed here against P3's unmerged work. This order lets P3 settle those interfaces once; P2b plans against the merged result. P2b's executable plan must include its complete CLI docs and copy deck before review.
+
+## S2 §8 / spec §15 disposition census
+
+| Spec §15 row | Owner / result |
+|---|---|
+| Move door / selectMoveBoxes | Phase 1 off stays inert; P2a Task 4 adds HA regional refusals only. N-box transport is P4 after its own design. |
+| Seed import / seedfloor | Keep one-box restriction and P1a begin/upload/stopped refusals; P2a pins switch-off record behavior. P5 owns N-box import. |
+| CheckOneBoxRegion | Claim-only and inert: no new caller, no cleanup prerequisite. |
+| Warm cache | P1a's HA restore/keep path built; P2a changes nothing. |
+| Hosts unique to one box | P2a Task 1: report awake snapshot or none/unknown, with tenant/lifetime checks and ambiguity refusal. |
+| EIP list | P2a Task 2: configured ingress plus explicit EdgeIPs; legacy mode retained until deployment supplies complete ingress. |
+| Forwarding dial | P1b-2 plus main's dead-holder backoff built; private-address selection unchanged. P2 is no forwarding redesign. |
+| consoleBoxLabel | Holds: console remains on platform box. No move onto the tenant group. |
+| Scoped restart/domain attach/economics/fleet listing/retention | Hold under A13's every-box adoption. Do not pick a single box for app listing, retention or restart; domain first-create admission is separately P2b's. |
+| Platform routes reaching group boxes | P3/P1b runtime exclusion/backhaul witness; no console-enrolment workaround. P2b readiness must wait for its merged proof. |
+| Flagship tofu/scripts | P3 group/NLB/boot; later P6 retirement. P2a reads deployment inputs, provisions nothing. |
+
+## S3 request budget against §18
+
+Logical AWS API attempts, including unsuccessful calls. SDK transport retries are additional attempts, counted by the low-level witness rather than called free. G/P/L/D mean GET/PUT/LIST/DELETE. Pagination counts a request per page. Dollar prices are those pinned in the spec: G $0.0004/1,000, L/P $0.005/1,000; D free.
+
+| P2a path/event | Increment over main |
+|---|---|
+| Awake reporter selection/API/page mapping from existing reports | **0G/0P/0L/0D**. Use the same request/report cache. A page gaining reports where it previously read none must charge the ordinary cache miss below; no claim that source loading is free. |
+| Shared status cache miss, H report objects | Existing `ceil(H/1000)L + H*G`; cache success 60s, failure 10s; at most one load in flight. Not a timer or per-box loop. Repeated pages inside TTL add 0. |
+| Configured ingress parsing/render | **0 S3**. In configured mode eliminate the old DNS fold reads; do not credit savings to pay for another loop. Unset mode keeps the existing fold. |
+| HA shape/unsupported placement/sidecar or transfer/import regional check | **0 new S3**; local flags and already-read record. Refusal: **0 protected P/D/index mutations**. |
+| Home HA data create prefix proof | **+1 bounded L**, maximum one result, **0G/0P/0D**, no body or lock GET. Existing duplicate record read is reused. Error costs its attempted L and no writes. |
+| Existing LTX rail when still reached | Main's up to **20 L** for two prefixes × levels 0–9 (`internal/dbdoor/coords.go:29`), plus its existing record GET. P2a total rail bound **1G+21L** on a successful empty check, before unchanged create writes. Early first-object refusal uses **1G+1L**. No scan over files/objects or pagination is added. |
+| HA create duplicate | Existing **1G**, no new L; ordinary duplicate answer. |
+| Remote/opaque-pool HA data proof unavailable | **0 new S3**: F3, no speculative bucket client or unbounded cross-region scan. |
+| P2a role/edges/control mutations | **0**: P2a writes no role objects, index scopes or publication files. Ordinary successful create's record/lifetime/env/serial/index writes retain main's budget. |
+
+Example: 1,000 empty home HA data-create checks add **1,000 LISTs = $0.005** over the existing rail. Quiet P2a adds **0 S3/box/hour** and **0 S3/console/hour**. Additional view traffic pays existing request-cache misses; it creates no background reader. Main's per-box §18 baseline remains roughly **3,300–3,500/hour**, not a new allowance.
+
+**P2b budget envelope, not an executable polling design:** one uncached complete console observation of E edges files and H status objects is `ceil(E/1000)L + E*G + ceil(H/1000)L + H*G`, plus at most B signed identity GETs for B uncached refs, plus actual role reads once their merged consumer is known. If loaded once/minute without cache sharing, charge **60 times** this formula per console/hour; that is new central-console workload, never claim it is zero because boxes do not poll. For E=H=B=3 the edges/status/identity component is **120 L + 540 G/hour = $0.000816/hour**, before role reads and retries. The executable P2b plan must pin role/default read counts, identity expiry/bounds and invalidation from the real main interfaces and prove all doors share the observation. No per-box invocation of that formula. CloudWatch adds up to 60 PutMetricData calls/region/hour, not S3. This plan does not authorize arming that workload.
+
+**Role-event §18 obligation:** a straightforward later single-object role change costs one precondition GET + one object PUT + index kG+kP, **1≤k≤4 total index attempts** (`internal/release/changeindex.go:31`), thus **(1+k)G+(1+k)P**, before explicit target-verification/read-back. A CAS conflict is returned, not silently retried into success. An unchanged desired role costs its read but no object/index write. §18's shorthand role PUT plus index excludes this precondition/read-back; the P2b plan must count them. Role-index fan-out is not free: at most two own/default object GETs per affected reader per observed change once its producer merges; never LIST every role per box. Subsequent effective-role edges mutation carries existing replacement/index cost and causes existing coalesced deployment fan-out `120*(ceil(B/1000)+B)` requests/box/hour (B edges files), as §18 bounds. No new request-time membership reads. Exact merged producer cadence controls the final event total; do not approve P2b's budget until that can be measured.
+
+## Copy deck for controller → Luna
+
+This is the complete **intent/deck for P2a**, with **draft** words for Luna to refine and Paul to approve before product writes. Nothing below is shipped copy or a claimed approval. Keep IDs/variables stable, provide context, review all labels/errors/docs/audit prose at actual destinations, and apply accepted text verbatim. Existing approved messages are identified separately. Dynamic technical error details are logged in structured fields, not exposed as new prose in API responses.
+
+| ID | Destination / context | Draft / required content |
+|---|---|---|
+| A1 | Instances row/detail label; snapshot rather than current lease | Last reported awake on |
+| A2 | Born-HA, complete matching asleep evidence | No box reported awake |
+| A3 | Missing/stale/partial/transient observation | Cannot confirm the awake box |
+| A4 | Contradictory fresh awake reporters, no unique box | More than one box reported awake |
+| A5 | Row/detail help; include normal five-minute report and one-minute cache limits | Box snapshots update about every five minutes. The console caches them for up to one minute. |
+| I1 | `domainGuidance`, no steering; variables host, addresses | Point an A record for %s at %s. Checks run every few minutes. |
+| I2 | Apex guidance after I1 | An apex domain cannot use a CNAME. These addresses are the public ingress for this deployment. |
+| I3 | Subdomain guidance with steering; host, steering hostname | Point a CNAME for %s at %s so it follows this deployment's regional ingress. |
+| I4 | Optional A-record alternative to I3; addresses | An A record at %s also works, without latency-based routing between regions. |
+| I5 | Invalid configured ingress startup failure; safe invalid token only | CONSOLE_REGION_INGRESS must contain comma-separated IP addresses. Invalid entry: %s. |
+| F1 | Non-hibernating socket create, 400; region | %s has high availability turned on. Socket instances must allow hibernation. |
+| F2 | Predecessor object, 409; host, relative key; no bucket, contents or secret | %s still has data from an earlier instance at %s. Choose another address, or ask an operator to inspect it. |
+| F3 | Missing authoritative emptiness proof, 503; display region only | Cannot check this instance's data in %s. Nothing was created. Ask an operator to check the region's data access. |
+| F4 | Standalone-sidecar create in active HA region, 409; region | Standalone sidecars are not available in %s while high availability is turned on. |
+| D1 | CLI docs behavior paragraph, no new command | HA instance lists identify the box last reported awake. This is a snapshot, not a live ownership check. Creates may be refused before any data is written when their shape or region cannot be checked. |
+| D2 | Deployment configuration docs in existing CLI page; comma-separated ingress | CONSOLE_REGION_INGRESS lists the deployment's public regional IP addresses. The console uses these and PLATFORM_EDGE_IPS in DNS instructions. Supply every region before switching it on. |
+| D3 | CLI move/import behavior paragraph | Offline moves into or out of an HA region and imports into it are unavailable. Existing operations can still be cleaned up. |
+| Reuse N1 | `nocapacity.go:37`, approved no-capacity 503, P2b | Reuse exactly: “No box in %s has room right now. Try again in a few minutes.” Retry-After 60. |
+| Reuse N2/N3 | `nocapacity.go:41`, approved page subject/body, P2b | Reuse existing noCapacityAlert outputs exactly; one shared throttle, successful-send reservation and retry-on-failure semantics. |
+| Reuse M1/M2 | `seedmove.go:52,57`, P1a-approved move/import refusals, Task 4 | Reuse haMoveSentence/haImportSentence verbatim, substituting the blocking display region. |
+| Reuse E1/E2 | Ordinary duplicate/read/error answers from createleftovers' caller, Task 3 | Keep instance/sidecar-specific main messages; no global replacement. |
+
+P2b's controller must inventory before implementation: role vocabulary/usage, saved-versus-applied result, invalid/unknown ref/region, read/CAS/write failures, operator audit, readiness label/each blocker/stale/incomplete/unsupported producer, metric startup/failure/recovery, no-capacity alert subject/body, regional proof refusal, and every changed CLI help/doc line. Those have no final destination/interface yet, so this is a **separate outline deck**, not invented executable strings. Do not implement P2b until its merged-input plan and complete approved deck exist. No new user-facing prose logs, empty states, tooltips or docs may escape that inventory.
+
+## Census and verification notes
+
+Plan-only Markdown is outside root census: no proposal/overlay or re-pin now. P2a aims to touch only cmd/console, internal/console/templates and docs, outside the root dependency census. Still run `make census-card` on the implementation diff: helpers in shared packages are not exempt merely because the new caller is the console. Do not touch `internal/release`, `internal/host`, `internal/edgesfile` or CLI root to avoid a review; if needed, record it and include actual changed units/envelopes.
+
+For any in-scope execution change: tab-separated CLAIMS per unit with new read or none; `make census-propose NAME=region-ha-p2a CLAIMS=<owned-file>` (P2b gets its actual slice name), targeted census/scope/J4/rebase checks, and independent cross-family unit/envelope verdict at exact tip on #280. The reviewer decides every class; no census escalation to Paul. Role scope/shared release/CLI changes in P2b are expected census surface, including whole-file envelopes and tests. The record-write 9B8 censuses are separate: run relevant changed console writer inventories, and only re-pin a demonstrated digest change. Preserve production provenance and security ordering in final P2 fixes.
+
+Drafting verification: compare every proposed executable dependency to base main; cross-check §15 disposition table, budget arithmetic, copy destinations and Task 1's observable first merge; `git diff --check`; check the requested file is the only staged change; subject under 80 characters and a blank line before trailer. No go suite, dev drill or runtime acceptance is claimed by this plan commit.
+
+## Open questions for Paul and handoff
+
+- **Before P2a implementation landing:** schedule the first dev release/drill scope. Recommend the next dev release, with existing born-HA hosts and local prefix fixtures; no flagship configuration change.
+- **Before P2b planning:** confirm which merged P3 change owns role/admission observations; recommend P3 produces them first, P2b consumes actual main. A final unmerged plan is not a substitute. Capacity itself does not wait for Apps; it waits for honest serving/admission evidence.
+- **Before any non-home/pool HA create activation:** is that required for the first G3 region? Recommend keeping it refused until a scoped authoritative prefix-proof path is merged. That work is required for full P2 coverage wherever the console cannot inspect the destination; do not hide it behind P1a's first-wake refusal.
+
+No spec redesign or new N-HA ruling is requested by P2a. P3/3b, migration, P4/P5/P6 and storage fencing stay with their owners. The local planning handoff is: main-only work in five P2a tasks, deferred P2b requirements explicitly gated, no independent review, no production edit, no push, no running process. Splitting the change does not reset its budget or start a new finish-line clock.