Merge origin/main into sec-h3-m2-scoped-key
Census: our chain line after main's, re-proposed (seal now b170d586); the record-write inventory layers on instanceUsageWriteCensusInventory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
apimode.go+1 −20apimode_limit.go+52 −0approved_usage_copy_test.go+149 −0cmd/console/instanceusage_test.go+89 −0cmd/console/main.go+29 −6commands.go+1 −0commands_test.go+2 −0docs/parity.md+11 −2docs/site/cli.md+26 −0docs/superpowers/notes/census-proposal-catchall-stamp-now.md+29 −0docs/superpowers/notes/census-proposal-gvisor-followups.md+29 −0docs/superpowers/notes/census-proposal-instance-usage.md+47 −0docs/superpowers/notes/census-proposal-sec-h3-m2-scoped-key.md+1 −1docs/superpowers/notes/instance-usage-copy.md+112 −0docs/superpowers/plans/2026-11-29-instance-usage.md+721 −0docs/superpowers/plans/CODEX-FINDINGS-instance-usage-plan-R1.md+24 −0docs/superpowers/plans/CODEX-FINDINGS-instance-usage-plan-R2.md+33 −0docs/superpowers/plans/CODEX-FINDINGS-instance-usage-plan-R3.md+18 −0docs/superpowers/plans/CODEX-REVIEW-BRIEF-instance-usage-plan-R2.md+93 −0docs/superpowers/plans/CODEX-REVIEW-BRIEF-instance-usage-plan-R3.md+102 −0docs/superpowers/plans/CODEX-REVIEW-BRIEF-instance-usage-plan.md+80 −0docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-branch-R1.md+7 −0docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-census-R1.md+49 −0docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-spec-R1.md+59 −0docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-spec-R2.md+93 −0docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-spec-R3.md+49 −0docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-task2-R1.md+11 −0docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-task3-R1.md+17 −0docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-task5-R1.md+17 −0docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-task6-R1.md+27 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-branch.md+77 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-census.md+41 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-spec-R2.md+36 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-spec-R3.md+38 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-spec.md+32 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-task2.md+59 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-task3.md+67 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-task5.md+66 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-task6.md+75 −0docs/superpowers/runbooks/gvisor-demos.md+52 −10docs/superpowers/specs/2026-11-29-instance-usage-design.md+726 −0internal/activator/backend_exec.go+13 −8internal/activator/exectee.go+102 −0internal/activator/exectee_test.go+222 −0internal/activator/loglistener_bounds_test.go+10 −0internal/activator/loglistener_cap_test.go+10 −0internal/activator/rootfsworkers_test.go+4 −0internal/activator/workerswap_test.go+9 −0internal/console/apilinks_test.go+6 −0internal/console/apipdf_test.go+27 −3internal/console/apiservices.go+21 −0internal/console/apiusage.go+377 −0internal/console/apiusage_e2e_test.go+100 −0internal/console/apiusage_test.go+684 −0internal/console/claim_workers.go+6 −0internal/console/domainstate.go+9 −2internal/console/domainstate_test.go+11 −9internal/console/economics_instances_compat_test.go+64 −0internal/console/hostnorm.go+43 −0internal/console/jobs.go+19 −0internal/console/jobs_test.go+23 −7internal/console/linkedpolicy.go+3 −0internal/console/links_auth_test.go+2 −1internal/console/platform_credentials_test.go+20 −0internal/console/routedecls.go+12 −1internal/console/routedecls_test.go+2 −1internal/console/server.go+6 −35internal/console/svcpage.go+29 −2internal/console/svcprincipal.go+64 −0internal/console/svcroutes_test.go+133 −16internal/console/usagedays.go+9 −2internal/console/usagefrom.go+255 −0internal/console/usagefrom_test.go+558 −0internal/console/usagerole_test.go+288 −0internal/demobuild/gvisor.go+3 −2internal/demobuild/gvisor_test.go+27 −0internal/domains/aliases.go+22 −2internal/domains/instancecatchall_test.go+35 −0internal/domains/reconcile.go+96 −0internal/domains/stamphosts_test.go+113 −0internal/edge/asset_far_test.go+67 −0internal/edge/assetcatch.go+11 −1internal/edge/demo_traffic.go+1 −1internal/edge/edge.go+1 −1internal/edge/replicaconsole_socket_test.go+6 −0internal/edge/usagemeter.go+64 −8internal/edge/usagemeter_instances_test.go+373 −0internal/edge/usagemeter_test.go+9 −9internal/execsandbox/hardening.go+122 −9internal/execsandbox/hardening_test.go+53 −0internal/host/agent.go+8 −64internal/host/applessroute_test.go+1 −1internal/host/canary_count.go+70 −0internal/host/edgesfile.go+5 −0internal/host/edgesschedule.go+13 −1internal/host/group_names_test.go+14 −3internal/host/gvisor_containment_rootrunner_linux_test.go+174 −16internal/host/gvisor_seccomp_rootrunner_linux_test.go+408 −0internal/host/gvisor_units_test.go+2 −0internal/host/instance_usage.go+262 −0internal/host/instance_usage_e2e_test.go+215 −0internal/host/instance_usage_test.go+893 −0internal/host/rollout.go+4 −2internal/host/stampwatch.go+263 −0internal/host/stampwatch_test.go+176 −0internal/host/systemapply_test.go+8 −2internal/host/testdata/gvisor-systemd257/README.md+10 −5internal/host/testdata/gvisor-systemd257/build-active.all.show+42 −42internal/host/testdata/gvisor-systemd257/build-active.cat+12 −10internal/host/testdata/gvisor-systemd257/build-active.show+42 −41internal/host/testdata/gvisor-systemd257/build-before.all.show+19 −19internal/host/testdata/gvisor-systemd257/build-before.cat+12 −10internal/host/testdata/gvisor-systemd257/build-before.show+19 −18internal/host/testdata/gvisor-systemd257/capture.json+38 −38internal/host/testdata/gvisor-systemd257/probe-active.all.show+32 −32internal/host/testdata/gvisor-systemd257/probe-active.cat+2 −0internal/host/testdata/gvisor-systemd257/probe-active.show+32 −31internal/host/testdata/gvisor-systemd257/probe-before.all.show+6 −6internal/host/testdata/gvisor-systemd257/probe-before.cat+2 −0internal/host/testdata/gvisor-systemd257/probe-before.show+6 −5internal/host/testdata/gvisor-systemd257/run-active.all.show+31 −31internal/host/testdata/gvisor-systemd257/run-active.cat+2 −0internal/host/testdata/gvisor-systemd257/run-active.show+31 −30internal/host/testdata/gvisor-systemd257/run-before.all.show+5 −5internal/host/testdata/gvisor-systemd257/run-before.cat+2 −0internal/host/testdata/gvisor-systemd257/run-before.show+4 −3internal/host/testdata/usage-edge-golden.json+1 −0internal/host/units/carlos-demo-build-gvisor@.service+2 −0internal/host/units/carlos-instance-gvisor-probe.service+2 −0internal/host/units/carlos-instance-gvisor@.service+2 −0internal/host/usage_compat_test.go+100 −0internal/host/usage_loop.go+24 −4internal/host/usage_loop_test.go+7 −7internal/instancectl/gvisorunit.go+3 −2internal/instancectl/gvisorunit_seccomp_test.go+57 −0internal/provision/instance_usage_census_test.go+56 −0internal/provision/sec_h3_m2_scoped_key_census_test.go+2 −2internal/provision/testdata/plan14-root-reads-catchall-stamp-now.tsv+17 −0internal/provision/testdata/plan14-root-reads-chain.tsv+4 −1internal/provision/testdata/plan14-root-reads-gvisor-followups.tsv+18 −0internal/provision/testdata/plan14-root-reads-instance-usage.tsv+39 −0internal/provision/testdata/plan14-root-reads-sec-h3-m2-scoped-key.tsv+1 −1internal/status/instanceusage_test.go+30 −0internal/status/snapshot.go+12 −0internal/svcrole/svcrole.go+23 −8internal/svcrole/svcrole_test.go+58 −3internal/usage/edge.go+5 −0internal/usage/instances.go+145 −0internal/usage/instances_test.go+165 −0internal/usage/testdata/instance-usage-e2e.golden.json+36 −0parity/cli.tsv+1 −0parity/packages.tsv+1 −0parity/parity.tsv+1 −0services.go+12 −5services_roles_help_test.go+47 −0testdata/clireg-golden.jsonl+10 −8usage_cmd.go+261 −0usage_cmd_test.go+308 −0
apimode.goLoading diff…
apimode_limit.goLoading diff…
approved_usage_copy_test.goLoading diff…
cmd/console/instanceusage_test.goLoading diff…
cmd/console/main.goLoading diff…
commands.goLoading diff…
commands_test.goLoading diff…
docs/parity.mdLoading diff…
docs/site/cli.mdLoading diff…
docs/superpowers/notes/census-proposal-catchall-stamp-now.mdLoading diff…
docs/superpowers/notes/census-proposal-gvisor-followups.mdLoading diff…
docs/superpowers/notes/census-proposal-instance-usage.mdLoading diff…
docs/superpowers/notes/census-proposal-sec-h3-m2-scoped-key.mdLoading diff…
docs/superpowers/notes/instance-usage-copy.mdLoading diff…
docs/superpowers/plans/2026-11-29-instance-usage.mdLoading diff…
docs/superpowers/plans/CODEX-FINDINGS-instance-usage-plan-R1.mdLoading diff…
docs/superpowers/plans/CODEX-FINDINGS-instance-usage-plan-R2.mdLoading diff…
docs/superpowers/plans/CODEX-FINDINGS-instance-usage-plan-R3.mdLoading diff…
docs/superpowers/plans/CODEX-REVIEW-BRIEF-instance-usage-plan-R2.mdLoading diff…
docs/superpowers/plans/CODEX-REVIEW-BRIEF-instance-usage-plan-R3.mdLoading diff…
docs/superpowers/plans/CODEX-REVIEW-BRIEF-instance-usage-plan.mdLoading diff…
docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-branch-R1.mdLoading diff…
docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-census-R1.mdLoading diff…
docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-spec-R1.mdLoading diff…
docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-spec-R2.mdLoading diff…
docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-spec-R3.mdLoading diff…
docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-task2-R1.mdLoading diff…
docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-task3-R1.mdLoading diff…
docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-task5-R1.mdLoading diff…
docs/superpowers/reviews/CODEX-FINDINGS-instance-usage-task6-R1.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-branch.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-census.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-spec-R2.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-spec-R3.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-spec.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-task2.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-task3.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-task5.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-usage-task6.mdLoading diff…
docs/superpowers/runbooks/gvisor-demos.mdLoading diff…
docs/superpowers/specs/2026-11-29-instance-usage-design.mdLoading diff…
internal/activator/backend_exec.goLoading diff…
internal/activator/exectee.goLoading diff…
internal/activator/exectee_test.goLoading diff…
internal/activator/loglistener_bounds_test.goLoading diff…
internal/activator/loglistener_cap_test.goLoading diff…
internal/activator/rootfsworkers_test.goLoading diff…
internal/activator/workerswap_test.goLoading diff…
internal/console/apilinks_test.goLoading diff…
internal/console/apipdf_test.goLoading diff…
internal/console/apiservices.goLoading diff…
internal/console/apiusage.goLoading diff…
internal/console/apiusage_e2e_test.goLoading diff…
internal/console/apiusage_test.goLoading diff…
internal/console/claim_workers.goLoading diff…
internal/console/domainstate.goLoading diff…
internal/console/domainstate_test.goLoading diff…
internal/console/economics_instances_compat_test.goLoading diff…
internal/console/hostnorm.goLoading diff…
internal/console/jobs.goLoading diff…
internal/console/jobs_test.goLoading diff…
internal/console/linkedpolicy.goLoading diff…
internal/console/links_auth_test.goLoading diff…
internal/console/platform_credentials_test.goLoading diff…
internal/console/routedecls.goLoading diff…
internal/console/routedecls_test.goLoading diff…
internal/console/server.goLoading diff…
internal/console/svcpage.goLoading diff…
internal/console/svcprincipal.goLoading diff…
internal/console/svcroutes_test.goLoading diff…
internal/console/usagedays.goLoading diff…
internal/console/usagefrom.goLoading diff…
internal/console/usagefrom_test.goLoading diff…
internal/console/usagerole_test.goLoading diff…
internal/demobuild/gvisor.goLoading diff…
internal/demobuild/gvisor_test.goLoading diff…
internal/domains/aliases.goLoading diff…
internal/domains/instancecatchall_test.goLoading diff…
internal/domains/reconcile.goLoading diff…
internal/domains/stamphosts_test.goLoading diff…
internal/edge/asset_far_test.goLoading diff…
internal/edge/assetcatch.goLoading diff…
internal/edge/demo_traffic.goLoading diff…
internal/edge/edge.goLoading diff…
internal/edge/replicaconsole_socket_test.goLoading diff…
internal/edge/usagemeter.goLoading diff…
internal/edge/usagemeter_instances_test.goLoading diff…
internal/edge/usagemeter_test.goLoading diff…
internal/execsandbox/hardening.goLoading diff…
internal/execsandbox/hardening_test.goLoading diff…
internal/host/agent.goLoading diff…
internal/host/applessroute_test.goLoading diff…
internal/host/canary_count.goLoading diff…
internal/host/edgesfile.goLoading diff…
internal/host/edgesschedule.goLoading diff…
internal/host/group_names_test.goLoading diff…
internal/host/gvisor_containment_rootrunner_linux_test.goLoading diff…
internal/host/gvisor_seccomp_rootrunner_linux_test.goLoading diff…
internal/host/gvisor_units_test.goLoading diff…
internal/host/instance_usage.goLoading diff…
internal/host/instance_usage_e2e_test.goLoading diff…
internal/host/instance_usage_test.goLoading diff…
internal/host/rollout.goLoading diff…
internal/host/stampwatch.goLoading diff…
internal/host/stampwatch_test.goLoading diff…
internal/host/systemapply_test.goLoading diff…
internal/host/testdata/gvisor-systemd257/README.mdLoading diff…
internal/host/testdata/gvisor-systemd257/build-active.all.showLoading diff…
internal/host/testdata/gvisor-systemd257/build-active.catLoading diff…
internal/host/testdata/gvisor-systemd257/build-active.showLoading diff…
internal/host/testdata/gvisor-systemd257/build-before.all.showLoading diff…
internal/host/testdata/gvisor-systemd257/build-before.catLoading diff…
internal/host/testdata/gvisor-systemd257/build-before.showLoading diff…
internal/host/testdata/gvisor-systemd257/capture.jsonLoading diff…
internal/host/testdata/gvisor-systemd257/probe-active.all.showLoading diff…
internal/host/testdata/gvisor-systemd257/probe-active.catLoading diff…
internal/host/testdata/gvisor-systemd257/probe-active.showLoading diff…
internal/host/testdata/gvisor-systemd257/probe-before.all.showLoading diff…
internal/host/testdata/gvisor-systemd257/probe-before.catLoading diff…
internal/host/testdata/gvisor-systemd257/probe-before.showLoading diff…
internal/host/testdata/gvisor-systemd257/run-active.all.showLoading diff…
internal/host/testdata/gvisor-systemd257/run-active.catLoading diff…
internal/host/testdata/gvisor-systemd257/run-active.showLoading diff…
internal/host/testdata/gvisor-systemd257/run-before.all.showLoading diff…
internal/host/testdata/gvisor-systemd257/run-before.catLoading diff…
internal/host/testdata/gvisor-systemd257/run-before.showLoading diff…
internal/host/testdata/usage-edge-golden.jsonLoading diff…
internal/host/units/carlos-demo-build-gvisor@.serviceLoading diff…
internal/host/units/carlos-instance-gvisor-probe.serviceLoading diff…
internal/host/units/carlos-instance-gvisor@.serviceLoading diff…
internal/host/usage_compat_test.goLoading diff…
internal/host/usage_loop.goLoading diff…
internal/host/usage_loop_test.goLoading diff…
internal/instancectl/gvisorunit.goLoading diff…
internal/instancectl/gvisorunit_seccomp_test.goLoading diff…
internal/provision/instance_usage_census_test.goLoading diff…
internal/provision/sec_h3_m2_scoped_key_census_test.goLoading diff…
internal/provision/testdata/plan14-root-reads-catchall-stamp-now.tsvLoading diff…
internal/provision/testdata/plan14-root-reads-chain.tsvLoading diff…
internal/provision/testdata/plan14-root-reads-gvisor-followups.tsvLoading diff…
internal/provision/testdata/plan14-root-reads-instance-usage.tsvLoading diff…
internal/provision/testdata/plan14-root-reads-sec-h3-m2-scoped-key.tsvLoading diff…
internal/status/instanceusage_test.goLoading diff…
internal/status/snapshot.goLoading diff…
internal/svcrole/svcrole.goLoading diff…
internal/svcrole/svcrole_test.goLoading diff…
internal/usage/edge.goLoading diff…
internal/usage/instances.goLoading diff…
internal/usage/instances_test.goLoading diff…
internal/usage/testdata/instance-usage-e2e.golden.jsonLoading diff…
parity/cli.tsvLoading diff…
parity/packages.tsvLoading diff…
parity/parity.tsvLoading diff…
services.goLoading diff…
services_roles_help_test.goLoading diff…
testdata/clireg-golden.jsonlLoading diff…
usage_cmd.goLoading diff…
usage_cmd_test.goLoading diff…