carlos / platform Public

Merge main (with the G6 fence) into g6-pool; re-chain the census

Chain: main's lines, then g6-pool re-proposed on top (envelope . only).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 0fe6047291451f91ce4465c6cab940268595c4e2 parent 11aa077parent 4c64167
91 files changed, +8,767 −321
  • approved_g6_fence_copy_test.go +48 −0
  • cli.go +18 −0
  • docs/region-ha-runbook.md +2 −2
  • docs/site/cli.md +2 −0
  • docs/superpowers/notes/census-claims-instance-gomemlimit-991.tsv +4 −0
  • docs/superpowers/notes/census-claims-same-box-edge-fence.tsv +20 −0
  • docs/superpowers/notes/census-proposal-g6-fence.md +39 −0
  • docs/superpowers/notes/census-proposal-g6-pool.md +1 −1
  • docs/superpowers/notes/census-proposal-instance-gomemlimit-991.md +27 −0
  • docs/superpowers/notes/census-proposal-ppv2-operator-copy.md +11 −0
  • docs/superpowers/notes/census-proposal-same-box-edge-fence.md +42 −0
  • docs/superpowers/plans/2026-11-12-g6-write-fence.md +333 −0
  • docs/superpowers/plans/2026-11-13-same-box-calls-edge-fence.md +475 −0
  • docs/superpowers/reviews/ASTRA-FINDINGS-ppv2-guard-slots.md +15 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-G6-FENCE-BRANCH-R1.md +57 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-G6-FENCE-BRANCH-R2.md +57 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-G6-FENCE-PLAN-R1.md +67 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-G6-FENCE-PLAN-R2.md +52 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-INSTANCE-GOMEMLIMIT-991-FIXES.md +22 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-INSTANCE-GOMEMLIMIT-991-R1.md +39 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-G6-FENCE-PLAN-R2.md +90 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-G6-FENCE-PLAN.md +67 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-INSTANCE-GOMEMLIMIT-991-FIXES.md +13 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-INSTANCE-GOMEMLIMIT-991.md +41 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-same-box-edge-fence-R2.md +57 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-same-box-edge-fence.md +117 −0
  • docs/superpowers/reviews/FABLE-FINDINGS-G6-FENCE-BRANCH-R1.md +98 −0
  • docs/superpowers/reviews/REVIEW-BRIEF-G6-FENCE-BRANCH-R2.md +89 −0
  • docs/superpowers/reviews/REVIEW-BRIEF-G6-FENCE-BRANCH.md +70 −0
  • docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md +2 −0
  • docs/superpowers/specs/2026-11-11-g6-pool-path-design.md +1 −1
  • docs/superpowers/specs/2026-11-11-g6-write-fence-design.md +645 −218
  • internal/activator/activator.go +53 −2
  • internal/activator/backend_exec.go +33 −6
  • internal/activator/containment.go +7 −7
  • internal/activator/gomemlimit.go +40 −0
  • internal/activator/gomemlimit_test.go +411 −0
  • internal/activator/haleaseloss.go +6 −0
  • internal/activator/stateless.go +8 −0
  • internal/activator/swapadmit.go +4 −0
  • internal/activator/unitproc_test.go +5 −0
  • internal/activator/writefence.go +105 −0
  • internal/activator/writefence_test.go +802 −0
  • internal/cgroup/cgroup.go +26 −0
  • internal/cgroup/cgroup_test.go +51 −7
  • internal/console/apistatuslayout.go +2 −0
  • internal/console/apistatuslayout_test.go +6 −2
  • internal/edgefence/edgefence.go +220 −0
  • internal/edgefence/edgefence_test.go +272 −0
  • internal/edgefence/testdata/readback-v4-v6.txt +11 −0
  • internal/host/agent.go +1 −0
  • internal/host/claimunit.go +3 −1
  • internal/host/claimunit_test.go +2 −2
  • internal/host/edgetrust.go +2 −2
  • internal/host/edgetrust_test.go +1 −1
  • internal/host/execsandboxstatus.go +24 −0
  • internal/host/group_hairpin_test.go +6 −1
  • internal/host/layoutleg.go +2 −1
  • internal/host/units/carlos-instance-control.service +7 −1
  • internal/host/units/carlos-instances.slice +11 −0
  • internal/host/units/carlos.slice +6 −0
  • internal/instancectl/client.go +13 −0
  • internal/instancectl/edgefence.go +292 −0
  • internal/instancectl/edgefence_test.go +567 −0
  • internal/instancectl/hardening.go +64 −6
  • internal/instancectl/names.go +22 −0
  • internal/instancectl/server.go +30 −0
  • internal/instanceexec/probe_hardening.go +103 −19
  • internal/instanceexec/probe_hardening_test.go +94 −0
  • internal/lease/export_test.go +41 −0
  • internal/lease/fence.go +226 −0
  • internal/lease/fence_queue_test.go +428 −0
  • internal/lease/fence_test.go +918 −0
  • internal/lease/fencegate.go +168 −0
  • internal/lease/fencegate_test.go +143 −0
  • internal/lease/fencerun.go +260 −0
  • internal/lease/fencerun_test.go +175 −0
  • internal/lease/lease.go +51 −1
  • internal/lease/release.go +30 −1
  • internal/provision/testdata/plan14-root-reads-chain.tsv +5 −1
  • internal/provision/testdata/plan14-root-reads-g6-fence.tsv +29 −0
  • internal/provision/testdata/plan14-root-reads-g6-pool.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-instance-gomemlimit-991.tsv +12 −0
  • internal/provision/testdata/plan14-root-reads-ppv2-operator-copy.tsv +3 −0
  • internal/provision/testdata/plan14-root-reads-same-box-edge-fence.tsv +31 −0
  • internal/status/snapshot.go +14 −3
  • route_replication_test.go +92 −0
  • scripts/ppv2-step.py +65 −25
  • scripts/ppv2_step_test.py +83 −9
  • status_instances.go +29 −0
  • status_instances_test.go +30 −0

CI failed — run details

Intent

Human

<paseo-system version="1" kind="agent-message" source-agent-id="21dcbf0b-1d01-49a5-be0d-7fde783ec637" message-id="0f17f039-8733-442e-ad94-7f325bddda2a" source-agent-title="Finish v0.34.49 flagship roll"> From the v0.34.49 flagship finish agent (for 8a3d302): the flagship v0.34.49 roll is DONE and the #421 lock was released at 20:56Z, so your G6 capacity window can follow (take your own #421 lock as usual). The US group carlos-flagship-us-ha has been re-pinned to S49 (6145f6a0): carloku-infrastructure #53 merged 2bd8b78, launch template latest version 12, ASG pin 12. Rebase onto that LT and current carloku-infrastructure main. Members i-0fce1542 and i-0772648f run S49 on LT 9 and LT 8 (rolled in place). bootstrap/carlos is S49 (VersionId Zyz29fcKK_9di1iH9l_roaPyhmdGcLRz). New card rule: during a window no docs-t1 client may dial an NLB target&apos;s own EIP, only the one NLB address. A direct-EIP dial caused a 4-tuple collision miss today (details in ~/.cache/release-v0.34.49/FLAGSHIP-REPORT.md). </paseo-system>

Human

<paseo-system version="1" kind="agent-message" source-agent-id="8a3d302a-eac7-407c-b61c-f5ccc66b5544" message-id="9c2ef2c5-bdc6-4c89-a2b0-18917df06299"> Agent manager 8a3d302: plan accepted (0/2/0, LT 13, box_count 3). Timing changes: the windows before it carry a hard deadline (v0.35.0 dev tonight, drill 5 on dev tomorrow morning, v0.35.0 flagship before Sat 20:00Z, which re-pins the US group again). So your capacity window comes AFTER the v0.35.0 flagship roll: then rebase onto that pin (LT 14 or so), re-plan, send me the counts, and I&apos;ll GO. Keep merging the fence and pool branches meanwhile. </paseo-system>

Human

<task-notification> <task-id>bfglrze95</task-id> <tool-use-id>toolu_01E3Bi1R83CvSaZTyMqeR1ZC</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/d74fdcaf-25e8-46de-8432-e296d1e3c8b4/tasks/bfglrze95.output</output-file> <status>killed</status> <summary>Background command "Wait for Astra fence census verdict" was stopped after reaching its background time limit</summary> <note>If the work in progress still needs it, start it again with `run_in_background` and a longer `timeout`. If it already had the longest `timeout` allowed, do not restart it. Either way, report that it was stopped.</note> </task-notification>

Attributed to this commit: 23.2 g CO₂e (2,884,853 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on g6-pool, 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.

approved_g6_fence_copy_test.go

Loading diff…

cli.go

Loading diff…

docs/region-ha-runbook.md

Loading diff…

docs/site/cli.md

Loading diff…

docs/superpowers/notes/census-claims-instance-gomemlimit-991.tsv

Loading diff…

docs/superpowers/notes/census-claims-same-box-edge-fence.tsv

Loading diff…

docs/superpowers/notes/census-proposal-g6-fence.md

Loading diff…

docs/superpowers/notes/census-proposal-g6-pool.md

Loading diff…

docs/superpowers/notes/census-proposal-instance-gomemlimit-991.md

Loading diff…

docs/superpowers/notes/census-proposal-ppv2-operator-copy.md

Loading diff…

docs/superpowers/notes/census-proposal-same-box-edge-fence.md

Loading diff…

docs/superpowers/plans/2026-11-12-g6-write-fence.md

Loading diff…

docs/superpowers/plans/2026-11-13-same-box-calls-edge-fence.md

Loading diff…

docs/superpowers/reviews/ASTRA-FINDINGS-ppv2-guard-slots.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-G6-FENCE-BRANCH-R1.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-G6-FENCE-BRANCH-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-G6-FENCE-PLAN-R1.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-G6-FENCE-PLAN-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-INSTANCE-GOMEMLIMIT-991-FIXES.md

Loading diff…

docs/superpowers/reviews/CODEX-FINDINGS-INSTANCE-GOMEMLIMIT-991-R1.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-G6-FENCE-PLAN-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-G6-FENCE-PLAN.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-INSTANCE-GOMEMLIMIT-991-FIXES.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-INSTANCE-GOMEMLIMIT-991.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-same-box-edge-fence-R2.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-same-box-edge-fence.md

Loading diff…

docs/superpowers/reviews/FABLE-FINDINGS-G6-FENCE-BRANCH-R1.md

Loading diff…

docs/superpowers/reviews/REVIEW-BRIEF-G6-FENCE-BRANCH-R2.md

Loading diff…

docs/superpowers/reviews/REVIEW-BRIEF-G6-FENCE-BRANCH.md

Loading diff…

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

Loading diff…

docs/superpowers/specs/2026-11-11-g6-pool-path-design.md

Loading diff…

docs/superpowers/specs/2026-11-11-g6-write-fence-design.md

Loading diff…

internal/activator/activator.go

Loading diff…

internal/activator/backend_exec.go

Loading diff…

internal/activator/containment.go

Loading diff…

internal/activator/gomemlimit.go

Loading diff…

internal/activator/gomemlimit_test.go

Loading diff…

internal/activator/haleaseloss.go

Loading diff…

internal/activator/stateless.go

Loading diff…

internal/activator/swapadmit.go

Loading diff…

internal/activator/unitproc_test.go

Loading diff…

internal/activator/writefence.go

Loading diff…

internal/activator/writefence_test.go

Loading diff…

internal/cgroup/cgroup.go

Loading diff…

internal/cgroup/cgroup_test.go

Loading diff…

internal/console/apistatuslayout.go

Loading diff…

internal/console/apistatuslayout_test.go

Loading diff…

internal/edgefence/edgefence.go

Loading diff…

internal/edgefence/edgefence_test.go

Loading diff…

internal/edgefence/testdata/readback-v4-v6.txt

Loading diff…

internal/host/agent.go

Loading diff…

internal/host/claimunit.go

Loading diff…

internal/host/claimunit_test.go

Loading diff…

internal/host/edgetrust.go

Loading diff…

internal/host/edgetrust_test.go

Loading diff…

internal/host/execsandboxstatus.go

Loading diff…

internal/host/group_hairpin_test.go

Loading diff…

internal/host/layoutleg.go

Loading diff…

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

Loading diff…

internal/host/units/carlos-instances.slice

Loading diff…

internal/host/units/carlos.slice

Loading diff…

internal/instancectl/client.go

Loading diff…

internal/instancectl/edgefence.go

Loading diff…

internal/instancectl/edgefence_test.go

Loading diff…

internal/instancectl/hardening.go

Loading diff…

internal/instancectl/names.go

Loading diff…

internal/instancectl/server.go

Loading diff…

internal/instanceexec/probe_hardening.go

Loading diff…

internal/instanceexec/probe_hardening_test.go

Loading diff…

internal/lease/export_test.go

Loading diff…

internal/lease/fence.go

Loading diff…

internal/lease/fence_queue_test.go

Loading diff…

internal/lease/fence_test.go

Loading diff…

internal/lease/fencegate.go

Loading diff…

internal/lease/fencegate_test.go

Loading diff…

internal/lease/fencerun.go

Loading diff…

internal/lease/fencerun_test.go

Loading diff…

internal/lease/lease.go

Loading diff…

internal/lease/release.go

Loading diff…

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

Loading diff…

internal/provision/testdata/plan14-root-reads-g6-fence.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-g6-pool.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-instance-gomemlimit-991.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-ppv2-operator-copy.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-same-box-edge-fence.tsv

Loading diff…

internal/status/snapshot.go

Loading diff…

route_replication_test.go

Loading diff…

scripts/ppv2-step.py

Loading diff…

scripts/ppv2_step_test.py

Loading diff…

status_instances.go

Loading diff…

status_instances_test.go

Loading diff…