carlos / platform Public

Merge origin/main into stateless-replicas-2-placement

Bring main through 0b3098cb, including deterministic timing tests,
managed fleet core, the store-policy fix and domain design revision.
Preserve both route inventories and layer the replica census after
main's new overlays; refresh the merged route-registration digest.
Co-Authored-By: Codex (gpt-6-astra) <noreply@openai.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev f96b76e9cabbfff2e7507e9e099439334a767ea3 parent 558bd8bparent 0b3098c
92 files changed, +11,596 −172
  • apimode_managedfleets.go +199 −0
  • cmd/console/claimworkers_started_test.go +11 −0
  • cmd/console/main.go +4 −0
  • docs/site/cli.md +81 −0
  • docs/superpowers/mockups/domains-account/buy-steps.html +82 −0
  • docs/superpowers/mockups/domains-account/domain-page.html +105 −0
  • docs/superpowers/mockups/domains-account/overview.html +83 −0
  • docs/superpowers/notes/census-proposal-managed-fleets-2a.md +75 −0
  • docs/superpowers/notes/census-proposal-region-host-store-deny.md +21 −0
  • docs/superpowers/notes/census-proposal-stateless-replicas-2.md +1 −1
  • docs/superpowers/notes/managed-fleets-2a-ledger.md +153 −0
  • docs/superpowers/plans/2026-11-01-managed-fleets-2a-core.md +991 −0
  • docs/superpowers/specs/2026-10-28-managed-fleets-design.md +13 −0
  • docs/superpowers/specs/2026-11-01-domain-registration-design.md +176 −1
  • fleets.go +37 −2
  • fleets_managed.go +105 −0
  • fleets_managed_test.go +197 −0
  • infra/modules/region-host/main.tf +9 −1
  • infra/modules/region-host/tests/store_scanning.tftest.hcl +21 −0
  • internal/activator/rootfs_wake_release_test.go +3 −3
  • internal/activator/rootfsrelease_test.go +85 −67
  • internal/activator/rootfsworkers_test.go +10 −3
  • internal/compute/fake.go +164 −0
  • internal/compute/fake_test.go +184 −0
  • internal/compute/imports_test.go +40 −0
  • internal/compute/provisioner.go +50 −0
  • internal/console/alertseal.go +26 −7
  • internal/console/alertseal_test.go +42 −0
  • internal/console/apisystemupdate.go +11 −1
  • internal/console/authcli.go +13 −4
  • internal/console/claim_authority_census_test.go +5 −0
  • internal/console/claim_invariant_fixtures_test.go +22 −0
  • internal/console/claim_invariant_probes_nonapp_test.go +15 −0
  • internal/console/claim_invariant_probes_read_test.go +5 −3
  • internal/console/claim_invariant_probes_worker_test.go +1 −0
  • internal/console/claim_invariant_test.go +1 −0
  • internal/console/claim_workers.go +1 −0
  • internal/console/fleetrelabel.go +27 −0
  • internal/console/fleets.go +30 −2
  • internal/console/jobs.go +1 −0
  • internal/console/jobs_test.go +1 −0
  • internal/console/managed_e2e_test.go +416 −0
  • internal/console/managedapi.go +316 −0
  • internal/console/managedapi_test.go +362 −0
  • internal/console/managedbudget_test.go +173 −0
  • internal/console/managedconfig.go +231 −0
  • internal/console/managedconfig_test.go +278 −0
  • internal/console/managedenrol.go +148 −0
  • internal/console/managedenrol_test.go +516 −0
  • internal/console/managedfinalfix_test.go +181 −0
  • internal/console/managedhistory.go +378 −0
  • internal/console/managedhistory_test.go +587 −0
  • internal/console/managedready.go +175 −0
  • internal/console/managedready_test.go +510 −0
  • internal/console/managedstore.go +623 −0
  • internal/console/managedstore_test.go +603 −0
  • internal/console/managedview.go +167 −0
  • internal/console/managedview_test.go +80 −0
  • internal/console/managedworker.go +688 −0
  • internal/console/managedworker_test.go +908 −0
  • internal/console/server.go +11 −1
  • internal/console/store.go +10 −0
  • internal/console/store_gate.go +4 −0
  • internal/console/svcroutes_test.go +7 −2
  • internal/console/system_managedfleets.go +98 −0
  • internal/console/system_managedfleets_test.go +85 −0
  • internal/console/testdata/claim-authority-sites.txt +2 −0
  • internal/console/testdata/claim-routes.txt +7 −0
  • internal/console/view.go +4 −0
  • internal/edge/heldstream_sim_test.go +46 −50
  • internal/edge/localhold_test.go +21 −3
  • internal/fleetstore/fake.go +72 −0
  • internal/fleetstore/fake_test.go +85 −0
  • internal/fleetstore/provisioner.go +14 −0
  • internal/hostops/storage_classifier.go +13 −0
  • internal/hostops/storage_classifier_test.go +24 −0
  • internal/provision/managed_fleets_2a_task5_census_test.go +42 −0
  • internal/provision/stateless_placement_census_test.go +3 −2
  • internal/provision/testdata/plan14-root-reads-chain.tsv +3 −1
  • internal/provision/testdata/plan14-root-reads-managed-fleets-2a.tsv +33 −0
  • internal/provision/testdata/plan14-root-reads-region-host-store-deny.tsv +8 −0
  • internal/provision/testdata/plan14-root-reads-stateless-replicas-2.tsv +5 −5
  • internal/registry/fleetdrain_test.go +112 −0
  • internal/registry/fleets.go +88 −11
  • internal/registry/fleets_test.go +159 −0
  • internal/registry/remote_dispatch.go +8 −0
  • internal/release/changeindex.go +5 −1
  • internal/release/changeindex_test.go +10 −0
  • internal/release/managedfleets.go +19 −0
  • system.go +4 −1
  • system_managedfleets.go +89 −0
  • system_managedfleets_test.go +64 −0

CI passed — run details

Intent

Human

<paseo-system version="1" kind="agent-message" source-agent-id="f6728a80-f5ce-4bf4-8bc2-6250fbf5e591" message-id="80be2f17-6bfe-43d4-bb3a-2692d2cd209d" source-agent-title="Region HA G1 dev switch-on (executing approved card)"> G1 dev switch-on is DONE and region HA is now ON for sophie-knitting and leo-climbing (dev v0.34.0); the boxes are free again. Every card check passed: Termination recovery Started on both boxes, edges files carry region-ha-1, wakecheck 200, the hapair-a1 asleep timer fired once on sophie (lock 159-&gt;160), queues empty, 0 errors. Restarts cost 2 s (sophie) and 1 s (leo). Item 8 was not done. Follow-up: pinfra dev-store-backend (store_bucket_prefix) needs merging to pinfra main. Details are on #421 and in ~/.cache/region-ha-next/g1-log.md. </paseo-system>

Human

<paseo-system version="1" kind="agent-message" source-agent-id="f6728a80-f5ce-4bf4-8bc2-6250fbf5e591" message-id="e2a7a5f5-6106-4fc6-acff-46d038af4d5f" source-agent-title="Region HA G1 dev switch-on (executing approved card)"> Dev console restart in about 2 minutes (one restart, about 3 s): G1 item 8 (Paul approved) adds CONSOLE_HA_REGIONS=ie to the dev console on sophie. After that, new dev IE creates are HA, and pooled HA creates and HA imports and moves are refused. Reply only if you&apos;re mid-operation on platform.dev.carlosframework.com. From G1 executor f6728a8. </paseo-system>

Human

<paseo-system version="1" kind="agent-message" source-agent-id="f6728a80-f5ce-4bf4-8bc2-6250fbf5e591" message-id="0950c916-b525-4d19-88e3-1777e0c8a764" source-agent-title="Region HA G1 dev switch-on (executing approved card)"> The dev console restart is done (23:03:11Z, no failed probes). CONSOLE_HA_REGIONS=ie is now on: new dev IE creates are HA, and pooled HA creates and HA imports and moves are refused. </paseo-system>

Attributed to this commit: 51.7 g CO₂e (6,534,137 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on stateless-replicas-2-placement, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

apimode_managedfleets.go

Loading diff…

cmd/console/claimworkers_started_test.go

Loading diff…

cmd/console/main.go

Loading diff…

docs/site/cli.md

Loading diff…

docs/superpowers/mockups/domains-account/buy-steps.html

Loading diff…

docs/superpowers/mockups/domains-account/domain-page.html

Loading diff…

docs/superpowers/mockups/domains-account/overview.html

Loading diff…

docs/superpowers/notes/census-proposal-managed-fleets-2a.md

Loading diff…

docs/superpowers/notes/census-proposal-region-host-store-deny.md

Loading diff…

docs/superpowers/notes/census-proposal-stateless-replicas-2.md

Loading diff…

docs/superpowers/notes/managed-fleets-2a-ledger.md

Loading diff…

docs/superpowers/plans/2026-11-01-managed-fleets-2a-core.md

Loading diff…

docs/superpowers/specs/2026-10-28-managed-fleets-design.md

Loading diff…

docs/superpowers/specs/2026-11-01-domain-registration-design.md

Loading diff…

fleets.go

Loading diff…

fleets_managed.go

Loading diff…

fleets_managed_test.go

Loading diff…

infra/modules/region-host/main.tf

Loading diff…

infra/modules/region-host/tests/store_scanning.tftest.hcl

Loading diff…

internal/activator/rootfs_wake_release_test.go

Loading diff…

internal/activator/rootfsrelease_test.go

Loading diff…

internal/activator/rootfsworkers_test.go

Loading diff…

internal/compute/fake.go

Loading diff…

internal/compute/fake_test.go

Loading diff…

internal/compute/imports_test.go

Loading diff…

internal/compute/provisioner.go

Loading diff…

internal/console/alertseal.go

Loading diff…

internal/console/alertseal_test.go

Loading diff…

internal/console/apisystemupdate.go

Loading diff…

internal/console/authcli.go

Loading diff…

internal/console/claim_authority_census_test.go

Loading diff…

internal/console/claim_invariant_fixtures_test.go

Loading diff…

internal/console/claim_invariant_probes_nonapp_test.go

Loading diff…

internal/console/claim_invariant_probes_read_test.go

Loading diff…

internal/console/claim_invariant_probes_worker_test.go

Loading diff…

internal/console/claim_invariant_test.go

Loading diff…

internal/console/claim_workers.go

Loading diff…

internal/console/fleetrelabel.go

Loading diff…

internal/console/fleets.go

Loading diff…

internal/console/jobs.go

Loading diff…

internal/console/jobs_test.go

Loading diff…

internal/console/managed_e2e_test.go

Loading diff…

internal/console/managedapi.go

Loading diff…

internal/console/managedapi_test.go

Loading diff…

internal/console/managedbudget_test.go

Loading diff…

internal/console/managedconfig.go

Loading diff…

internal/console/managedconfig_test.go

Loading diff…

internal/console/managedenrol.go

Loading diff…

internal/console/managedenrol_test.go

Loading diff…

internal/console/managedfinalfix_test.go

Loading diff…

internal/console/managedhistory.go

Loading diff…

internal/console/managedhistory_test.go

Loading diff…

internal/console/managedready.go

Loading diff…

internal/console/managedready_test.go

Loading diff…

internal/console/managedstore.go

Loading diff…

internal/console/managedstore_test.go

Loading diff…

internal/console/managedview.go

Loading diff…

internal/console/managedview_test.go

Loading diff…

internal/console/managedworker.go

Loading diff…

internal/console/managedworker_test.go

Loading diff…

internal/console/server.go

Loading diff…

internal/console/store.go

Loading diff…

internal/console/store_gate.go

Loading diff…

internal/console/svcroutes_test.go

Loading diff…

internal/console/system_managedfleets.go

Loading diff…

internal/console/system_managedfleets_test.go

Loading diff…

internal/console/testdata/claim-authority-sites.txt

Loading diff…

internal/console/testdata/claim-routes.txt

Loading diff…

internal/console/view.go

Loading diff…

internal/edge/heldstream_sim_test.go

Loading diff…

internal/edge/localhold_test.go

Loading diff…

internal/fleetstore/fake.go

Loading diff…

internal/fleetstore/fake_test.go

Loading diff…

internal/fleetstore/provisioner.go

Loading diff…

internal/hostops/storage_classifier.go

Loading diff…

internal/hostops/storage_classifier_test.go

Loading diff…

internal/provision/managed_fleets_2a_task5_census_test.go

Loading diff…

internal/provision/stateless_placement_census_test.go

Loading diff…

internal/provision/testdata/plan14-root-reads-chain.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-managed-fleets-2a.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-region-host-store-deny.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-stateless-replicas-2.tsv

Loading diff…

internal/registry/fleetdrain_test.go

Loading diff…

internal/registry/fleets.go

Loading diff…

internal/registry/fleets_test.go

Loading diff…

internal/registry/remote_dispatch.go

Loading diff…

internal/release/changeindex.go

Loading diff…

internal/release/changeindex_test.go

Loading diff…

internal/release/managedfleets.go

Loading diff…

system.go

Loading diff…

system_managedfleets.go

Loading diff…

system_managedfleets_test.go

Loading diff…