carlos / platform Public

Merge remote-tracking branch 'origin/main' into design-managed-fleets-457

claude agent, operated by paul@keymail.dev 5ec88df61fa4adecf9fd3e67cba2d69a4080575d parent bdfa25aparent 65fd806
123 files changed, +16,835 −625
  • apimode.go +5 −0
  • approved_fleet_routes_copy_test.go +128 −0
  • cli.go +149 −38
  • docs/superpowers/notes/census-proposal-fleet-public-routes.md +233 −0
  • docs/superpowers/plans/2026-10-30-fleet-public-routes-copy.md +60 −0
  • docs/superpowers/plans/2026-10-30-fleet-public-routes.md +499 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-R1.md +27 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-R2.md +45 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-R3.md +36 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-branch-R1.md +199 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-branch-R2.md +76 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-plan-R1.md +19 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-plan-R2.md +21 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-plan-R3.md +24 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-R2.md +168 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-R3.md +200 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-branch-R2.md +9 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-branch.md +33 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-plan-R2.md +133 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-plan-R3.md +143 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-plan.md +99 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes.md +33 −0
  • docs/superpowers/reviews/fleet-public-routes-deferred-minors.md +23 −0
  • docs/superpowers/specs/2026-10-29-fleet-public-routes-design.md +1,735 −0
  • fleet_public_routes_e2e_test.go +756 −0
  • forward_cli_race_test.go +100 −0
  • forward_cli_test.go +212 −0
  • instances_cli.go +12 −2
  • instances_cli_refusals_test.go +57 −0
  • internal/console/accountfleet_test.go +50 −3
  • internal/console/apiinstances.go +79 −8
  • internal/console/apiplacements_put_test.go +1 −1
  • internal/console/apisystemupdate.go +16 −7
  • internal/console/fleetfloor.go +251 −0
  • internal/console/fleetfloor_test.go +1,148 −0
  • internal/console/fleetforward_test.go +454 −0
  • internal/console/fleetowner_test.go +52 −1
  • internal/console/fleets.go +94 −55
  • internal/console/fleets_test.go +37 −29
  • internal/console/fleetsecretskey.go +1 −1
  • internal/console/hostactivation.go +66 −40
  • internal/console/hostactivation_test.go +3 −3
  • internal/console/plan9_b_test.go +2 −2
  • internal/console/regionalfloor_test.go +14 −14
  • internal/console/regionfacts.go +20 −0
  • internal/console/rootfs_move_test.go +13 −7
  • internal/console/rootfsfloor.go +21 −13
  • internal/console/rootfsfloor_test.go +6 −6
  • internal/console/sealkey.go +3 −3
  • internal/console/server.go +10 −0
  • internal/domains/aliases.go +29 −7
  • internal/domains/forward_trash_test.go +128 −0
  • internal/domains/reconcile.go +8 −0
  • internal/edge/assetcatch.go +5 −2
  • internal/edge/edge.go +186 −64
  • internal/edge/fleetalias_dest_test.go +51 −0
  • internal/edge/fleetforward.go +302 −0
  • internal/edge/fleetforward_policy_test.go +259 −0
  • internal/edge/fleetforward_test.go +824 −0
  • internal/edge/fleetforward_watch_test.go +161 −0
  • internal/edge/fleetverdict_test.go +214 −0
  • internal/edge/issuer_forward_test.go +80 −0
  • internal/edge/planthrottle.go +6 −3
  • internal/edge/ratelimit.go +4 −2
  • internal/edge/testdata/edges-forward-hub.json +1 −0
  • internal/host/agent.go +42 −23
  • internal/host/changeindex_test.go +1 −1
  • internal/host/edgesfile.go +124 −13
  • internal/host/edgesfile_forward_test.go +745 −0
  • internal/host/egress_source.go +14 −2
  • internal/host/fleet_forward_budget_test.go +459 −0
  • internal/host/fleetbind.go +48 −14
  • internal/host/fleetbind_door_test.go +250 −0
  • internal/host/fleetbind_test.go +59 −31
  • internal/host/forward_readers_test.go +334 −0
  • internal/host/forward_rootupdates_test.go +143 −0
  • internal/host/hawake_wiring_test.go +2 −1
  • internal/host/hub.go +71 −0
  • internal/host/hub_test.go +20 −0
  • internal/host/lifetime_gating_test.go +1 −1
  • internal/host/plans_pass.go +4 −3
  • internal/host/plans_pass_test.go +25 −0
  • internal/host/policycache_wiring_test.go +9 −7
  • internal/host/retention.go +4 −1
  • internal/host/sizestatus_test.go +5 −4
  • internal/provision/fleet_public_routes_census_test.go +118 −0
  • internal/provision/forward.go +300 −0
  • internal/provision/forward_parity_test.go +117 −0
  • internal/provision/forward_test.go +874 −0
  • internal/provision/plan9_b8_census_test.go +1 −1
  • internal/provision/reconcile.go +154 −6
  • internal/provision/seedreconcile.go +18 −4
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-fleet-public-routes.tsv +239 −0
  • internal/registry/aliassocket.go +13 −4
  • internal/registry/claimhold.go +5 −1
  • internal/registry/claimrows.go +24 −3
  • internal/registry/coldhandover.go +16 −3
  • internal/registry/fleetbox_if_test.go +134 −0
  • internal/registry/fleets_test.go +7 −5
  • internal/registry/forward.go +390 −0
  • internal/registry/forward_inventory_test.go +249 −0
  • internal/registry/forward_test.go +440 −0
  • internal/registry/forward_writers_test.go +774 −0
  • internal/registry/hold_test.go +5 −1
  • internal/registry/identity_fingerprint_test.go +166 −0
  • internal/registry/importjournal.go +35 −7
  • internal/registry/policycols_test.go +5 −1
  • internal/registry/ratelimit_fingerprint_test.go +5 −1
  • internal/registry/recoveryhandover.go +19 −4
  • internal/registry/registry.go +195 −112
  • internal/registry/registry_test.go +28 −46
  • internal/registry/remote.go +1 −1
  • internal/registry/remote_dispatch.go +6 −2
  • internal/registry/routecas.go +8 −1
  • internal/release/layoutintent.go +41 −0
  • internal/release/layoutintent_test.go +44 −0
  • internal/release/rootupdates.go +15 −0
  • internal/release/systempointer.go +22 −6
  • internal/release/systempointer_test.go +72 −0
  • region_labels.go +8 −4
  • system.go +8 −0
  • system_fleetfloor_test.go +85 −0
apimode.go

Loading diff…

approved_fleet_routes_copy_test.go

Loading diff…

cli.go

Loading diff…

docs/superpowers/notes/census-proposal-fleet-public-routes.md

Loading diff…

docs/superpowers/plans/2026-10-30-fleet-public-routes-copy.md

Loading diff…

docs/superpowers/plans/2026-10-30-fleet-public-routes.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-R1.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-R3.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-branch-R1.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-branch-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-plan-R1.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-plan-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-fleet-public-routes-plan-R3.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-R3.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-branch-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-branch.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-plan-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-plan-R3.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-plan.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes.md

Loading diff…

docs/superpowers/reviews/fleet-public-routes-deferred-minors.md

Loading diff…

docs/superpowers/specs/2026-10-29-fleet-public-routes-design.md

Loading diff…

fleet_public_routes_e2e_test.go

Loading diff…

forward_cli_race_test.go

Loading diff…

forward_cli_test.go

Loading diff…

instances_cli.go

Loading diff…

instances_cli_refusals_test.go

Loading diff…

internal/console/accountfleet_test.go

Loading diff…

internal/console/apiinstances.go

Loading diff…

internal/console/apiplacements_put_test.go

Loading diff…

internal/console/apisystemupdate.go

Loading diff…

internal/console/fleetfloor.go

Loading diff…

internal/console/fleetfloor_test.go

Loading diff…

internal/console/fleetforward_test.go

Loading diff…

internal/console/fleetowner_test.go

Loading diff…

internal/console/fleets.go

Loading diff…

internal/console/fleets_test.go

Loading diff…

internal/console/fleetsecretskey.go

Loading diff…

internal/console/hostactivation.go

Loading diff…

internal/console/hostactivation_test.go

Loading diff…

internal/console/plan9_b_test.go

Loading diff…

internal/console/regionalfloor_test.go

Loading diff…

internal/console/regionfacts.go

Loading diff…

internal/console/rootfs_move_test.go

Loading diff…

internal/console/rootfsfloor.go

Loading diff…

internal/console/rootfsfloor_test.go

Loading diff…

internal/console/sealkey.go

Loading diff…

internal/console/server.go

Loading diff…

internal/domains/aliases.go

Loading diff…

internal/domains/forward_trash_test.go

Loading diff…

internal/domains/reconcile.go

Loading diff…

internal/edge/assetcatch.go

Loading diff…

internal/edge/edge.go

Loading diff…

internal/edge/fleetalias_dest_test.go

Loading diff…

internal/edge/fleetforward.go

Loading diff…

internal/edge/fleetforward_policy_test.go

Loading diff…

internal/edge/fleetforward_test.go

Loading diff…

internal/edge/fleetforward_watch_test.go

Loading diff…

internal/edge/fleetverdict_test.go

Loading diff…

internal/edge/issuer_forward_test.go

Loading diff…

internal/edge/planthrottle.go

Loading diff…

internal/edge/ratelimit.go

Loading diff…

internal/edge/testdata/edges-forward-hub.json

Loading diff…

internal/host/agent.go

Loading diff…

internal/host/changeindex_test.go

Loading diff…

internal/host/edgesfile.go

Loading diff…

internal/host/edgesfile_forward_test.go

Loading diff…

internal/host/egress_source.go

Loading diff…

internal/host/fleet_forward_budget_test.go

Loading diff…

internal/host/fleetbind.go

Loading diff…

internal/host/fleetbind_door_test.go

Loading diff…

internal/host/fleetbind_test.go

Loading diff…

internal/host/forward_readers_test.go

Loading diff…

internal/host/forward_rootupdates_test.go

Loading diff…

internal/host/hawake_wiring_test.go

Loading diff…

internal/host/hub.go

Loading diff…

internal/host/hub_test.go

Loading diff…

internal/host/lifetime_gating_test.go

Loading diff…

internal/host/plans_pass.go

Loading diff…

internal/host/plans_pass_test.go

Loading diff…

internal/host/policycache_wiring_test.go

Loading diff…

internal/host/retention.go

Loading diff…

internal/host/sizestatus_test.go

Loading diff…

internal/provision/fleet_public_routes_census_test.go

Loading diff…

internal/provision/forward.go

Loading diff…

internal/provision/forward_parity_test.go

Loading diff…

internal/provision/forward_test.go

Loading diff…

internal/provision/plan9_b8_census_test.go

Loading diff…

internal/provision/reconcile.go

Loading diff…

internal/provision/seedreconcile.go

Loading diff…

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

Loading diff…

internal/provision/testdata/plan14-root-reads-fleet-public-routes.tsv

Loading diff…

internal/registry/aliassocket.go

Loading diff…

internal/registry/claimhold.go

Loading diff…

internal/registry/claimrows.go

Loading diff…

internal/registry/coldhandover.go

Loading diff…

internal/registry/fleetbox_if_test.go

Loading diff…

internal/registry/fleets_test.go

Loading diff…

internal/registry/forward.go

Loading diff…

internal/registry/forward_inventory_test.go

Loading diff…

internal/registry/forward_test.go

Loading diff…

internal/registry/forward_writers_test.go

Loading diff…

internal/registry/hold_test.go

Loading diff…

internal/registry/identity_fingerprint_test.go

Loading diff…

internal/registry/importjournal.go

Loading diff…

internal/registry/policycols_test.go

Loading diff…

internal/registry/ratelimit_fingerprint_test.go

Loading diff…

internal/registry/recoveryhandover.go

Loading diff…

internal/registry/registry.go

Loading diff…

internal/registry/registry_test.go

Loading diff…

internal/registry/remote.go

Loading diff…

internal/registry/remote_dispatch.go

Loading diff…

internal/registry/routecas.go

Loading diff…

internal/release/layoutintent.go

Loading diff…

internal/release/layoutintent_test.go

Loading diff…

internal/release/rootupdates.go

Loading diff…

internal/release/systempointer.go

Loading diff…

internal/release/systempointer_test.go

Loading diff…

region_labels.go

Loading diff…

system.go

Loading diff…

system_fleetfloor_test.go

Loading diff…