carlos / platform Public

merge main into edge-page-cache-1

Brings in managed-fleets-2b1 and design-console-secrets (origin/main
04dc1dc0). Census conflicts resolved:
- plan14-root-reads-chain.tsv: main's two overlay lines first, in main's
  order; edge-page-cache-1 last, re-proposed on top of main's chain (seal
  2774b43a). Same units, classes, read sites and envelopes as before;
  dispatchRemote's claim notes main's merged body.
- plan9_b8: edgePageCache1WriteCensusInventory now wraps
  consoleSecretsWriteCensusInventory; no digest moved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev f01b8cf260001973dfd340f768f59af8e8114c45 parent f62fdaaparent 04dc1dc
138 files changed, +29,941 −851
  • apimode.go +22 −0
  • apimode_managedfleets.go +4 −0
  • appconfig_cli.go +71 −1
  • appconfig_cli_test.go +167 −0
  • docs/console-mockup-kit/shell.html +147 −114
  • docs/console-styleguide.md +66 −0
  • docs/superpowers/notes/census-claims-edge-page-cache-1.tsv +1 −1
  • docs/superpowers/notes/census-proposal-design-console-secrets.md +27 −0
  • docs/superpowers/notes/census-proposal-edge-page-cache-1.md +1 −1
  • docs/superpowers/notes/census-proposal-managed-fleets-2b1.md +45 −0
  • docs/superpowers/notes/console-secrets-copy-brief.md +21 −0
  • docs/superpowers/notes/managed-fleets-2b1-ledger.md +140 −0
  • docs/superpowers/plans/2026-10-29-fleet-secrets-key-copy.md +4 −4
  • docs/superpowers/plans/2026-11-08-console-secrets.md +271 −0
  • docs/superpowers/plans/2026-11-08-managed-fleets-2b1-console-aws.md +852 −0
  • docs/superpowers/specs/2026-11-08-console-secrets-design.md +300 −0
  • docs/superpowers/specs/2026-11-08-console-secrets-mockup-v3.html +1,433 −0
  • docs/superpowers/specs/CODEX-FINDINGS-console-secrets-R2.md +31 −0
  • docs/superpowers/specs/CODEX-FINDINGS-console-secrets-R3.md +30 −0
  • docs/superpowers/specs/CODEX-FINDINGS-console-secrets.md +50 −0
  • docs/superpowers/specs/CODEX-REVIEW-BRIEF-console-secrets-R2.md +43 −0
  • docs/superpowers/specs/CODEX-REVIEW-BRIEF-console-secrets-R3.md +67 −0
  • docs/superpowers/specs/CODEX-REVIEW-BRIEF-console-secrets.md +34 −0
  • docs/superpowers/specs/CONTROLLER-BRIEF-console-secrets.md +38 −0
  • docs/superpowers/specs/settings-secrets-v2.html +1,430 −0
  • docs/superpowers/specs/settings-secrets-v3.html +1,433 −0
  • docs/superpowers/specs/settings-secrets.html +1,403 −0
  • fleets_managed.go +10 −0
  • fleets_managed_test.go +32 −0
  • infra/modules/region-host/main.tf +40 −16
  • infra/modules/region-host/managed_fleets.tf +313 −0
  • infra/modules/region-host/outputs.tf +15 −0
  • infra/modules/region-host/tests/managed_fleets/group_refusal.tftest.hcl +140 −0
  • infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl +711 −0
  • infra/modules/region-host/variables.tf +127 −0
  • internal/appconfig/bundleversion.go +103 −0
  • internal/appconfig/generation.go +7 −0
  • internal/appconfig/reach.go +488 −0
  • internal/appconfig/reach_test.go +957 −0
  • internal/appconfig/store.go +28 −8
  • internal/appconfig/store_test.go +191 −0
  • internal/appconfig/syncexec.go +24 −175
  • internal/awsmanaged/clients.go +261 −0
  • internal/awsmanaged/compute.go +609 −0
  • internal/awsmanaged/compute_test.go +1,341 −0
  • internal/awsmanaged/credentials.go +331 −0
  • internal/awsmanaged/credentials_test.go +744 −0
  • internal/awsmanaged/diagnostics.go +51 −0
  • internal/awsmanaged/diagnostics_test.go +161 −0
  • internal/awsmanaged/export_test.go +74 −0
  • internal/awsmanaged/infra_policy_test.go +657 −0
  • internal/awsmanaged/integration_test.go +1,042 −0
  • internal/awsmanaged/policy.go +167 −0
  • internal/awsmanaged/policy_test.go +507 −0
  • internal/awsmanaged/storage.go +479 −0
  • internal/awsmanaged/storage_test.go +750 −0
  • internal/awsmanaged/testdata/fleet-data-policy.json +71 −0
  • internal/awsmanaged/testdata/managed-boundary-policy.json +62 −0
  • internal/awsmanaged/testdata/managed-console-policy.json +229 −0
  • internal/compute/fake.go +1 −1
  • internal/compute/fake_test.go +7 −2
  • internal/compute/provisioner.go +5 −0
  • internal/console/apiconfig.go +95 −225
  • internal/console/apiconfigrestart_test.go +151 −0
  • internal/console/appsettings.go +121 −55
  • internal/console/appsettings_env_test.go +15 −19
  • internal/console/claim_invariant_fixtures_test.go +16 −0
  • internal/console/configreach.go +105 −0
  • internal/console/configseal.go +19 −0
  • internal/console/configseal.js +294 −0
  • internal/console/configseal_test.go +460 −0
  • internal/console/configwrite.go +363 −0
  • internal/console/configwrite_test.go +314 −0
  • internal/console/envcopy.go +366 −0
  • internal/console/envform.go +773 −0
  • internal/console/envform_test.go +808 −0
  • internal/console/envformgate_test.go +648 −0
  • internal/console/envsave.go +317 −0
  • internal/console/envsave_test.go +682 −0
  • internal/console/gettingstarted.go +24 −9
  • internal/console/gettingstarted_page_test.go +60 −0
  • internal/console/gettingstarted_test.go +4 −3
  • internal/console/gettingstartedcopy.go +5 −4
  • internal/console/managed_e2e_test.go +442 −0
  • internal/console/managedbudget_test.go +315 −1
  • internal/console/managedenrol.go +58 −10
  • internal/console/managedfreshsim_test.go +430 −0
  • internal/console/managedhistory.go +135 −33
  • internal/console/managedhistory_test.go +16 −2
  • internal/console/managedpreflight_test.go +728 −0
  • internal/console/managedready.go +97 −18
  • internal/console/managedready_test.go +237 −2
  • internal/console/managedrecovery_test.go +858 −0
  • internal/console/managedstore.go +154 −42
  • internal/console/managedstore_test.go +2 −2
  • internal/console/managedview.go +9 −0
  • internal/console/managedworker.go +258 −44
  • internal/console/managedworker_test.go +9 −1
  • internal/console/mockupkit_test.go +4 −0
  • internal/console/perfquickwins_test.go +1 −1
  • internal/console/remoteinstances.go +5 −0
  • internal/console/remoteinstances_test.go +25 −0
  • internal/console/server.go +4 −0
  • internal/console/store.go +2 −2
  • internal/console/store_gate.go +2 −0
  • internal/console/teamcreds_test.go +7 −5
  • internal/console/templates/app_settings.html +177 −10
  • internal/console/templates/console_chrome.html +37 −0
  • internal/console/templates/getting_started.html +1 −0
  • internal/console/testdata/claim-routes.txt +1 −0
  • internal/console/testdata/configseal_browser.mjs +90 −0
  • internal/console/testdata/configseal_run.mjs +250 −0
  • internal/console/testdata/configseal_vectors.json +31 −0
  • internal/console/testdata/configvalue_cases.json +26 −0
  • internal/console/testdata/perf-session-s3.txt +1 −1
  • internal/console/view.go +2 −0
  • internal/edge/storedoor.go +29 −2
  • internal/edge/storedoor_test.go +236 −0
  • internal/fleetstore/fake.go +20 −1
  • internal/fleetstore/fake_test.go +43 −7
  • internal/fleetstore/provisioner.go +13 −2
  • internal/host/rolloutdeclined_test.go +22 −0
  • internal/objstore/termination_credentials_test.go +195 −1
  • internal/provision/console_secrets_census_test.go +36 −0
  • internal/provision/edge_page_cache_1_census_test.go +5 −3
  • internal/provision/managed_fleets_2b1_census_test.go +44 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +3 −1
  • internal/provision/testdata/plan14-root-reads-design-console-secrets.tsv +17 −0
  • internal/provision/testdata/plan14-root-reads-edge-page-cache-1.tsv +5 −5
  • internal/provision/testdata/plan14-root-reads-managed-fleets-2b1.tsv +42 −0
  • internal/registry/fleets.go +26 −6
  • internal/registry/fleets_test.go +81 −0
  • internal/registry/remote.go +26 −8
  • internal/registry/remote_dispatch.go +2 −2
  • internal/registry/remote_test.go +154 −0
  • internal/rollout/status.go +1 −1
  • internal/rollout/status_test.go +15 −0
  • internal/status/snapshot.go +6 −0

CI passed — run details

Intent

Human

<task-notification> <task-id>a869f8f067e46afe7</task-id> <tool-use-id>toolu_01DnbPLuLwMRpbWHcVUrZci3</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/d79ef2b4-4291-4945-bd45-b3f16796c4ba/tasks/a869f8f067e46afe7.output</output-file> <status>completed</status> <summary>Agent "Final-review fix wave" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>Status: both CI failures are fixed in two new commits on top of fcb64b8a. Commits: - 218d4fb2 edge: republish process inputs when a departed instance returns. A test-only fix: after the row is re-added, `s.publish()` stands in for the spawn. The assertion is unchanged. - f62fdaae census: re-pin the root envelope after the copy correction. Tests: `TestRouteDepartureResetsAndClearsMark` passes 5 of 5, the full edge `-run 'Page|Purge|Demo|Reload|Tunnel|Cache|Churn|Departure|Mark|Gate|HA|Opted|Simulation'` set passes (166s), and `go test ./internal/provision -run Census` passes. Concerns: - **No claim line for the copy change.** The census saw only the root envelope (.) change, because `printSetPages` reads nothing. census-propose refuses a claim for a unit it does not see, so a claim line would have made the proposal fail. I recorded the change as a `#` comment in the claims file instead. - **My earlier test pattern missed this test**, since its name contains none of the words I filtered on. The wider pattern you sent covers every page-scene test that deletes a row, and they all pass. Report (appended): /home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-page-cache-1/.superpowers/sdd/2026-11-08-edge-page-cache-plan-1-home/final-fix-report.md</result> <usage><subagent_tokens>302382</subagent_tokens><tool_uses>9</tool_uses><duration_ms>346988</duration_ms></usage> </task-notification>

Human

<task-notification> <task-id>b3ndypfv1</task-id> <tool-use-id>toolu_0129ykLGHqaLvrHyR7T5G3Pf</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/d79ef2b4-4291-4945-bd45-b3f16796c4ba/tasks/b3ndypfv1.output</output-file> <status>completed</status> <summary>Background command "Push and wait for CI" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 9.86 g CO₂e (1,290,619 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on edge-page-cache-1, 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.go

Loading diff…

apimode_managedfleets.go

Loading diff…

appconfig_cli.go

Loading diff…

appconfig_cli_test.go

Loading diff…

docs/console-mockup-kit/shell.html

Loading diff…

docs/console-styleguide.md

Loading diff…

docs/superpowers/notes/census-claims-edge-page-cache-1.tsv

Loading diff…

docs/superpowers/notes/census-proposal-design-console-secrets.md

Loading diff…

docs/superpowers/notes/census-proposal-edge-page-cache-1.md

Loading diff…

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

Loading diff…

docs/superpowers/notes/console-secrets-copy-brief.md

Loading diff…

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

Loading diff…

docs/superpowers/plans/2026-10-29-fleet-secrets-key-copy.md

Loading diff…

docs/superpowers/plans/2026-11-08-console-secrets.md

Loading diff…

docs/superpowers/plans/2026-11-08-managed-fleets-2b1-console-aws.md

Loading diff…

docs/superpowers/specs/2026-11-08-console-secrets-design.md

Loading diff…

docs/superpowers/specs/2026-11-08-console-secrets-mockup-v3.html

Loading diff…

docs/superpowers/specs/CODEX-FINDINGS-console-secrets-R2.md

Loading diff…

docs/superpowers/specs/CODEX-FINDINGS-console-secrets-R3.md

Loading diff…

docs/superpowers/specs/CODEX-FINDINGS-console-secrets.md

Loading diff…

docs/superpowers/specs/CODEX-REVIEW-BRIEF-console-secrets-R2.md

Loading diff…

docs/superpowers/specs/CODEX-REVIEW-BRIEF-console-secrets-R3.md

Loading diff…

docs/superpowers/specs/CODEX-REVIEW-BRIEF-console-secrets.md

Loading diff…

docs/superpowers/specs/CONTROLLER-BRIEF-console-secrets.md

Loading diff…

docs/superpowers/specs/settings-secrets-v2.html

Loading diff…

docs/superpowers/specs/settings-secrets-v3.html

Loading diff…

docs/superpowers/specs/settings-secrets.html

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/managed_fleets.tf

Loading diff…

infra/modules/region-host/outputs.tf

Loading diff…

infra/modules/region-host/tests/managed_fleets/group_refusal.tftest.hcl

Loading diff…

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

Loading diff…

infra/modules/region-host/variables.tf

Loading diff…

internal/appconfig/bundleversion.go

Loading diff…

internal/appconfig/generation.go

Loading diff…

internal/appconfig/reach.go

Loading diff…

internal/appconfig/reach_test.go

Loading diff…

internal/appconfig/store.go

Loading diff…

internal/appconfig/store_test.go

Loading diff…

internal/appconfig/syncexec.go

Loading diff…

internal/awsmanaged/clients.go

Loading diff…

internal/awsmanaged/compute.go

Loading diff…

internal/awsmanaged/compute_test.go

Loading diff…

internal/awsmanaged/credentials.go

Loading diff…

internal/awsmanaged/credentials_test.go

Loading diff…

internal/awsmanaged/diagnostics.go

Loading diff…

internal/awsmanaged/diagnostics_test.go

Loading diff…

internal/awsmanaged/export_test.go

Loading diff…

internal/awsmanaged/infra_policy_test.go

Loading diff…

internal/awsmanaged/integration_test.go

Loading diff…

internal/awsmanaged/policy.go

Loading diff…

internal/awsmanaged/policy_test.go

Loading diff…

internal/awsmanaged/storage.go

Loading diff…

internal/awsmanaged/storage_test.go

Loading diff…

internal/awsmanaged/testdata/fleet-data-policy.json

Loading diff…

internal/awsmanaged/testdata/managed-boundary-policy.json

Loading diff…

internal/awsmanaged/testdata/managed-console-policy.json

Loading diff…

internal/compute/fake.go

Loading diff…

internal/compute/fake_test.go

Loading diff…

internal/compute/provisioner.go

Loading diff…

internal/console/apiconfig.go

Loading diff…

internal/console/apiconfigrestart_test.go

Loading diff…

internal/console/appsettings.go

Loading diff…

internal/console/appsettings_env_test.go

Loading diff…

internal/console/claim_invariant_fixtures_test.go

Loading diff…

internal/console/configreach.go

Loading diff…

internal/console/configseal.go

Loading diff…

internal/console/configseal.js

Loading diff…

internal/console/configseal_test.go

Loading diff…

internal/console/configwrite.go

Loading diff…

internal/console/configwrite_test.go

Loading diff…

internal/console/envcopy.go

Loading diff…

internal/console/envform.go

Loading diff…

internal/console/envform_test.go

Loading diff…

internal/console/envformgate_test.go

Loading diff…

internal/console/envsave.go

Loading diff…

internal/console/envsave_test.go

Loading diff…

internal/console/gettingstarted.go

Loading diff…

internal/console/gettingstarted_page_test.go

Loading diff…

internal/console/gettingstarted_test.go

Loading diff…

internal/console/gettingstartedcopy.go

Loading diff…

internal/console/managed_e2e_test.go

Loading diff…

internal/console/managedbudget_test.go

Loading diff…

internal/console/managedenrol.go

Loading diff…

internal/console/managedfreshsim_test.go

Loading diff…

internal/console/managedhistory.go

Loading diff…

internal/console/managedhistory_test.go

Loading diff…

internal/console/managedpreflight_test.go

Loading diff…

internal/console/managedready.go

Loading diff…

internal/console/managedready_test.go

Loading diff…

internal/console/managedrecovery_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/managedworker.go

Loading diff…

internal/console/managedworker_test.go

Loading diff…

internal/console/mockupkit_test.go

Loading diff…

internal/console/perfquickwins_test.go

Loading diff…

internal/console/remoteinstances.go

Loading diff…

internal/console/remoteinstances_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/teamcreds_test.go

Loading diff…

internal/console/templates/app_settings.html

Loading diff…

internal/console/templates/console_chrome.html

Loading diff…

internal/console/templates/getting_started.html

Loading diff…

internal/console/testdata/claim-routes.txt

Loading diff…

internal/console/testdata/configseal_browser.mjs

Loading diff…

internal/console/testdata/configseal_run.mjs

Loading diff…

internal/console/testdata/configseal_vectors.json

Loading diff…

internal/console/testdata/configvalue_cases.json

Loading diff…

internal/console/testdata/perf-session-s3.txt

Loading diff…

internal/console/view.go

Loading diff…

internal/edge/storedoor.go

Loading diff…

internal/edge/storedoor_test.go

Loading diff…

internal/fleetstore/fake.go

Loading diff…

internal/fleetstore/fake_test.go

Loading diff…

internal/fleetstore/provisioner.go

Loading diff…

internal/host/rolloutdeclined_test.go

Loading diff…

internal/objstore/termination_credentials_test.go

Loading diff…

internal/provision/console_secrets_census_test.go

Loading diff…

internal/provision/edge_page_cache_1_census_test.go

Loading diff…

internal/provision/managed_fleets_2b1_census_test.go

Loading diff…

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

Loading diff…

internal/provision/testdata/plan14-root-reads-design-console-secrets.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-edge-page-cache-1.tsv

Loading diff…

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

Loading diff…

internal/registry/fleets.go

Loading diff…

internal/registry/fleets_test.go

Loading diff…

internal/registry/remote.go

Loading diff…

internal/registry/remote_dispatch.go

Loading diff…

internal/registry/remote_test.go

Loading diff…

internal/rollout/status.go

Loading diff…

internal/rollout/status_test.go

Loading diff…

internal/status/snapshot.go

Loading diff…