carlos / platform Public

Merge remote-tracking branch 'origin/main' into design-agent-login-link

# Conflicts:
#	internal/provision/testdata/plan14-root-reads-chain.tsv
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 712d25438128e2531d5e385a4adbe2c89710b5f2 parent 295e72dparent a0133a5
88 files changed, +5,891 −227
  • apps.go +4 −0
  • apps_source.go +141 −0
  • apps_source_e2e_test.go +269 −0
  • apps_source_test.go +178 −0
  • docs/site/cli.md +9 −0
  • docs/superpowers/notes/census-proposal-agent-login-link.md +1 −1
  • docs/superpowers/notes/census-proposal-claim-source.md +17 −0
  • docs/superpowers/notes/census-proposal-dr1-left-link.md +16 −0
  • docs/superpowers/notes/census-proposal-region-ha-graceful-terminate-t1.md +21 −0
  • docs/superpowers/notes/census-proposal-region-ha-graceful-terminate-t2.md +25 −0
  • docs/superpowers/notes/census-proposal-static-sweep-periodic.md +30 −0
  • docs/superpowers/plans/2026-11-08-region-ha-graceful-terminate.md +219 −0
  • docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md +78 −1
  • docs/superpowers/specs/2026-11-07-claimed-app-source-design.md +260 −0
  • docs/superpowers/specs/LUNA-COPY-BRIEF-CLAIM-SOURCE.md +7 −0
  • docs/superpowers/specs/LUNA-COPY-RESULT-CLAIM-SOURCE.md +33 −0
  • docs/superpowers/specs/LUNA-COPY-RESULT-COUNTDOWN.md +2 −1
  • internal/activator/activator.go +30 −1
  • internal/activator/cmd.go +3 −3
  • internal/activator/harelease.go +31 −3
  • internal/activator/harelease_shutdown_test.go +276 −0
  • internal/console/app_source.go +289 −0
  • internal/console/app_source_browser_test.go +131 −0
  • internal/console/app_source_test.go +932 −0
  • internal/console/appsettings.go +5 −0
  • internal/console/authcli.go +6 −1
  • internal/console/claim_invariant_fixtures_test.go +2 −0
  • internal/console/claim_invariant_source_test.go +64 −0
  • internal/console/demo_claim_browser_test.go +1 −1
  • internal/console/demo_claim_csp_test.go +3 −4
  • internal/console/demo_claim_kept_test.go +63 −2
  • internal/console/demo_claim_moved_test.go +1 −1
  • internal/console/demo_claim_page.go +37 −1
  • internal/console/demo_claim_resume_browser_test.go +3 −0
  • internal/console/demo_claim_store.go +8 −3
  • internal/console/demo_claim_target.go +2 −0
  • internal/console/demo_claim_transfer.go +60 −10
  • internal/console/demo_claim_transfer_test.go +13 −0
  • internal/console/demo_claim_ux_test.go +1 −1
  • internal/console/demo_jobs_test.go +10 −2
  • internal/console/server.go +7 −1
  • internal/console/static/demo_claim.js +30 −16
  • internal/console/store.go +13 −2
  • internal/console/svcroutes_test.go +21 −9
  • internal/console/templates/app_overview.html +2 −0
  • internal/console/templates/demo_claim.html +9 −6
  • internal/console/testdata/app_source_browser.mjs +83 −0
  • internal/console/testdata/claim-routes.txt +2 −0
  • internal/console/testdata/demo_claim_browser.mjs +1 −1
  • internal/console/testdata/demo_claim_resume_browser.mjs +11 −11
  • internal/console/testdata/perf-budgets.txt +1 −0
  • internal/demobuild/source.go +15 −2
  • internal/demobuild/source_test.go +74 −0
  • internal/edge/edge.go +18 −5
  • internal/edge/shutdown.go +14 −0
  • internal/edge/shutdown_test.go +32 −0
  • internal/edge/static.go +41 −0
  • internal/edge/static_periodic_sweep_test.go +303 −0
  • internal/edge/static_recordlock_linux.go +26 −0
  • internal/edge/static_recordlock_other.go +13 −0
  • internal/edge/static_sweep_other.go +9 −7
  • internal/edge/static_sweep_test.go +33 −13
  • internal/edge/static_sweep_unix.go +155 −84
  • internal/edge/static_trees.go +274 −0
  • internal/host/agent.go +26 −3
  • internal/host/claimfilesseed_shutdown.go +10 −6
  • internal/host/claimfilesseed_shutdown_test.go +37 −1
  • internal/host/coldwake_leftlink_test.go +57 −0
  • internal/host/diskalertline_test.go +74 −0
  • internal/host/haplacement_root_linux_test.go +39 −7
  • internal/host/haterminate_rootrunner_linux_test.go +670 −0
  • internal/host/metrics_loop.go +28 −0
  • internal/host/plan14_generation_registry_root_linux_test.go +2 −0
  • internal/host/startup_largebox_linux_test.go +1 −1
  • internal/host/units/carlos-edge.service +9 −1
  • internal/host/units/carlos-instance-control.service +16 −7
  • internal/host/units_shutdown_test.go +131 −0
  • internal/provision/claim_source_census_test.go +30 −0
  • internal/provision/plan9_b8_census_test.go +1 −1
  • internal/provision/testdata/plan14-root-reads-agent-login-link.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-chain.tsv +6 −1
  • internal/provision/testdata/plan14-root-reads-claim-source.tsv +11 −0
  • internal/provision/testdata/plan14-root-reads-dr1-left-link.tsv +8 −0
  • internal/provision/testdata/plan14-root-reads-region-ha-graceful-terminate-t1.tsv +7 −0
  • internal/provision/testdata/plan14-root-reads-region-ha-graceful-terminate-t2.tsv +11 −0
  • internal/provision/testdata/plan14-root-reads-static-sweep-periodic.tsv +16 −0
  • internal/release/adopt.go +36 −5
  • internal/release/unstamped_live_test.go +196 −0

CI passed — run details

Intent

Human

<task-notification> <task-id>bwsgv4ewi</task-id> <tool-use-id>toolu_011kfD4jzvt91U38wzKPMH56</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/a1de5273-c148-49b8-8267-3dee9d49c9c1/tasks/bwsgv4ewi.output</output-file> <status>completed</status> <summary>Background command "Wait for CI on branch tip 295e72d" completed (exit code 0)</summary> </task-notification>

Human

<task-notification> <task-id>bnnjlp38r</task-id> <tool-use-id>toolu_01VffBHKgYTmvu337LEt1GV9</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/a1de5273-c148-49b8-8267-3dee9d49c9c1/tasks/bnnjlp38r.output</output-file> <status>completed</status> <summary>Background command "Wait for CI rerun to finish" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 105 g CO₂e (8,265,474 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-agent-login-link, 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.

apps.go

Loading diff…

apps_source.go

Loading diff…

apps_source_e2e_test.go

Loading diff…

apps_source_test.go

Loading diff…

docs/site/cli.md

Loading diff…

docs/superpowers/notes/census-proposal-agent-login-link.md

Loading diff…

docs/superpowers/notes/census-proposal-claim-source.md

Loading diff…

docs/superpowers/notes/census-proposal-dr1-left-link.md

Loading diff…

docs/superpowers/notes/census-proposal-region-ha-graceful-terminate-t1.md

Loading diff…

docs/superpowers/notes/census-proposal-region-ha-graceful-terminate-t2.md

Loading diff…

docs/superpowers/notes/census-proposal-static-sweep-periodic.md

Loading diff…

docs/superpowers/plans/2026-11-08-region-ha-graceful-terminate.md

Loading diff…

docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md

Loading diff…

docs/superpowers/specs/2026-11-07-claimed-app-source-design.md

Loading diff…

docs/superpowers/specs/LUNA-COPY-BRIEF-CLAIM-SOURCE.md

Loading diff…

docs/superpowers/specs/LUNA-COPY-RESULT-CLAIM-SOURCE.md

Loading diff…

docs/superpowers/specs/LUNA-COPY-RESULT-COUNTDOWN.md

Loading diff…

internal/activator/activator.go

Loading diff…

internal/activator/cmd.go

Loading diff…

internal/activator/harelease.go

Loading diff…

internal/activator/harelease_shutdown_test.go

Loading diff…

internal/console/app_source.go

Loading diff…

internal/console/app_source_browser_test.go

Loading diff…

internal/console/app_source_test.go

Loading diff…

internal/console/appsettings.go

Loading diff…

internal/console/authcli.go

Loading diff…

internal/console/claim_invariant_fixtures_test.go

Loading diff…

internal/console/claim_invariant_source_test.go

Loading diff…

internal/console/demo_claim_browser_test.go

Loading diff…

internal/console/demo_claim_csp_test.go

Loading diff…

internal/console/demo_claim_kept_test.go

Loading diff…

internal/console/demo_claim_moved_test.go

Loading diff…

internal/console/demo_claim_page.go

Loading diff…

internal/console/demo_claim_resume_browser_test.go

Loading diff…

internal/console/demo_claim_store.go

Loading diff…

internal/console/demo_claim_target.go

Loading diff…

internal/console/demo_claim_transfer.go

Loading diff…

internal/console/demo_claim_transfer_test.go

Loading diff…

internal/console/demo_claim_ux_test.go

Loading diff…

internal/console/demo_jobs_test.go

Loading diff…

internal/console/server.go

Loading diff…

internal/console/static/demo_claim.js

Loading diff…

internal/console/store.go

Loading diff…

internal/console/svcroutes_test.go

Loading diff…

internal/console/templates/app_overview.html

Loading diff…

internal/console/templates/demo_claim.html

Loading diff…

internal/console/testdata/app_source_browser.mjs

Loading diff…

internal/console/testdata/claim-routes.txt

Loading diff…

internal/console/testdata/demo_claim_browser.mjs

Loading diff…

internal/console/testdata/demo_claim_resume_browser.mjs

Loading diff…

internal/console/testdata/perf-budgets.txt

Loading diff…

internal/demobuild/source.go

Loading diff…

internal/demobuild/source_test.go

Loading diff…

internal/edge/edge.go

Loading diff…

internal/edge/shutdown.go

Loading diff…

internal/edge/shutdown_test.go

Loading diff…

internal/edge/static.go

Loading diff…

internal/edge/static_periodic_sweep_test.go

Loading diff…

internal/edge/static_recordlock_linux.go

Loading diff…

internal/edge/static_recordlock_other.go

Loading diff…

internal/edge/static_sweep_other.go

Loading diff…

internal/edge/static_sweep_test.go

Loading diff…

internal/edge/static_sweep_unix.go

Loading diff…

internal/edge/static_trees.go

Loading diff…

internal/host/agent.go

Loading diff…

internal/host/claimfilesseed_shutdown.go

Loading diff…

internal/host/claimfilesseed_shutdown_test.go

Loading diff…

internal/host/coldwake_leftlink_test.go

Loading diff…

internal/host/diskalertline_test.go

Loading diff…

internal/host/haplacement_root_linux_test.go

Loading diff…

internal/host/haterminate_rootrunner_linux_test.go

Loading diff…

internal/host/metrics_loop.go

Loading diff…

internal/host/plan14_generation_registry_root_linux_test.go

Loading diff…

internal/host/startup_largebox_linux_test.go

Loading diff…

internal/host/units/carlos-edge.service

Loading diff…

internal/host/units/carlos-instance-control.service

Loading diff…

internal/host/units_shutdown_test.go

Loading diff…

internal/provision/claim_source_census_test.go

Loading diff…

internal/provision/plan9_b8_census_test.go

Loading diff…

internal/provision/testdata/plan14-root-reads-agent-login-link.tsv

Loading diff…

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

Loading diff…

internal/provision/testdata/plan14-root-reads-claim-source.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-dr1-left-link.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-region-ha-graceful-terminate-t1.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-region-ha-graceful-terminate-t2.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-static-sweep-periodic.tsv

Loading diff…

internal/release/adopt.go

Loading diff…

internal/release/unstamped_live_test.go

Loading diff…