carlos / platform Public

census: overlay for audit-aws-timeouts after Astra round 1

Re-proposed with the same NAME. New units: rootaws idleBody.Read (reads
only the SDK response body it wraps; its timer now consults the
connection's progress) and progressConn.Read (reads the network
connection and records when bytes last arrived). Body change:
host probeStore, which builds the same T4 client via probeStoreOptions
plus the stall bounds. None opens, runs or names a file. Envelopes
internal/host and internal/rootaws re-pinned.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 43f121edd3496fdec7f0b0c6d02aa1c4fd416015 parent 6bf4d1e
3 files changed, +22 −9
  • docs/superpowers/notes/census-proposal-audit-aws-timeouts.md +11 −2
  • internal/provision/testdata/plan14-root-reads-audit-aws-timeouts.tsv +10 −6
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/notes/census-proposal-audit-aws-timeouts.md b/docs/superpowers/notes/census-proposal-audit-aws-timeouts.md
index ee3b01e3d..2da5d9957 100644
--- a/docs/superpowers/notes/census-proposal-audit-aws-timeouts.md
+++ b/docs/superpowers/notes/census-proposal-audit-aws-timeouts.md
@@ -1,15 +1,24 @@
# Census approval: audit-aws-timeouts
-Ruling `census-ruling-audit-aws-timeouts`. The independent reviewer approves or rejects every change below, 1 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+Ruling `census-ruling-audit-aws-timeouts`. The independent reviewer approves or rejects every change below, 2 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `internal/host/movesstore.go` `probeStore` | body | unchanged (1) | body: builds the same T4 probe client via probeStoreOptions (same delivered credentials, region, endpoint, checksums) plus rootaws stall bounds (header timeout, body inactivity limit); reads unchanged, no new root read |
Envelopes re-pinned: `internal/host`, `internal/rootaws`.
Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Reject if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. A rejected unit goes back to the author to correct; nothing escalates to the census owner.
+Recorded dispositions, which each change must still satisfy:
+
+- `internal/host/movesstore.go` `probeStore`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input
+
New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff:
- new `internal/rootaws/stall.go:idleBody.Read`: reads +file:Read ×2; written legacy, accepted-legacy, frozen
+- new `internal/rootaws/stall.go:progressConn.Read`: reads +file:Read ×2; written legacy, accepted-legacy, frozen
-Seal: `4eda67fee53800e2cfa4177b954c7f0fce6bdfcfbfe1aa2547ddcec3027b668b` → `00ff7b5abe772a9148d9c33684a42a248b7d77fd6d838fe968c2f0919a2449d5`.
+Seal: `4eda67fee53800e2cfa4177b954c7f0fce6bdfcfbfe1aa2547ddcec3027b668b` → `f5d8ee906a7b9a119a29164f09a660fbf40118ff25d58c2caa38b1d6a3772c73`.
Overlay: `internal/provision/testdata/plan14-root-reads-audit-aws-timeouts.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/testdata/plan14-root-reads-audit-aws-timeouts.tsv b/internal/provision/testdata/plan14-root-reads-audit-aws-timeouts.tsv
index d1944cf13..2077c2457 100644
--- a/internal/provision/testdata/plan14-root-reads-audit-aws-timeouts.tsv
+++ b/internal/provision/testdata/plan14-root-reads-audit-aws-timeouts.tsv
@@ -1,7 +1,11 @@
# Census overlay audit-aws-timeouts, written by census-propose (#369). census-ruling-audit-aws-timeouts, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-audit-aws-timeouts.md.
-# 0 body, 0 sites, 2 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-# 1 new dispositions: 0 reads re-frozen at their disposition with the claim, 1 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
-@legacy 69a8bc7ead08f39f8e75b525f3e58adabf41871fd22ad44943e026bd64e153de internal/rootaws/stall.go idleBody.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-audit-aws-timeouts;basis=new: wraps an AWS SDK HTTP response body; the two "reads" are io.ReadCloser.Read on the network body under an idle timer (b.rc.Read), no file is opened, run or named; it adds no root read of any path file:Read@19,file:Read@223 fbf18ba49f24dc63cdc608002dd60823f636c5937080aa01d106f610b43f6e83
-internal/rootaws/stall.go idleBody.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-audit-aws-timeouts;basis=new: wraps an AWS SDK HTTP response body; the two "reads" are io.ReadCloser.Read on the network body under an idle timer (b.rc.Read), no file is opened, run or named; it adds no root read of any path file:Read@19,file:Read@223 fbf18ba49f24dc63cdc608002dd60823f636c5937080aa01d106f610b43f6e83
-@coverage internal/host 4642af62670c4fdf21bcb044571b7232e362dd34bfebc78309390edf27e6a427
-@coverage internal/rootaws 56fe89aaf671d315ef5df662bf1f344a90f9308c61a761af1d5d8e26e3a21814
+# 1 body, 0 sites, 2 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 2 new dispositions: 0 reads re-frozen at their disposition with the claim, 2 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
+@legacy 0f66b0fa4750852b97381303be8f0a75eaeb3b1c65eeec0149a7a79f69cc6906 internal/host/movesstore.go probeStore legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-audit-aws-timeouts;basis=body: builds the same T4 probe client via probeStoreOptions (same delivered credentials, region, endpoint, checksums) plus rootaws stall bounds (header timeout, body inactivity limit); reads unchanged, no new root read file:ReadAll@766 ec7acc9388fcf8b65fe9f09e79d86e956853bcfdd0b315c7a3b20931dd6a4ed8
+@legacy 190e798cbd2f60f366fce982867f9fa9b37e3b1416cc54cd108a75ed36f3cc53 internal/rootaws/stall.go idleBody.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-audit-aws-timeouts;basis=body: still reads only the SDK HTTP response body it wraps (b.rc.Read); the timer now checks the request connection's last-received time before closing that body; no file opened, run or named; no new root read file:Read@19,file:Read@315 203ac8d3fef1cee3c2cb99246612b58492d793ec3013d431d93c3a3a66e17348
+@legacy 896e79bad043928fdf39128deee5ef38b1e85f3e372b36e18e7a76fc35a3f749 internal/rootaws/stall.go progressConn.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-audit-aws-timeouts;basis=new: net.Conn wrapper the bounded AWS HTTP client dials; Read reads the network connection (c.Conn.Read) and records the time of the last bytes; no file opened, run or named; no new root read file:Read@23,file:Read@64 bb23c1f4d3b4bc1004bc648e0089b0a062596c9296b0387cf19e66040bbb5d81
+internal/host/movesstore.go probeStore legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-audit-aws-timeouts;basis=body: builds the same T4 probe client via probeStoreOptions (same delivered credentials, region, endpoint, checksums) plus rootaws stall bounds (header timeout, body inactivity limit); reads unchanged, no new root read file:ReadAll@766 ec7acc9388fcf8b65fe9f09e79d86e956853bcfdd0b315c7a3b20931dd6a4ed8
+internal/rootaws/stall.go idleBody.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-audit-aws-timeouts;basis=body: still reads only the SDK HTTP response body it wraps (b.rc.Read); the timer now checks the request connection's last-received time before closing that body; no file opened, run or named; no new root read file:Read@19,file:Read@315 203ac8d3fef1cee3c2cb99246612b58492d793ec3013d431d93c3a3a66e17348
+internal/rootaws/stall.go progressConn.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-audit-aws-timeouts;basis=new: net.Conn wrapper the bounded AWS HTTP client dials; Read reads the network connection (c.Conn.Read) and records the time of the last bytes; no file opened, run or named; no new root read file:Read@23,file:Read@64 bb23c1f4d3b4bc1004bc648e0089b0a062596c9296b0387cf19e66040bbb5d81
+@coverage internal/host 8d8e96ae055121ca4e24458dbff78480eb5c06196c3428a86dac3de13501e77a
+@coverage internal/rootaws bef5e947d6b6dde07db02bd294e3a5f8f04235ac73c2ac28f4653b89d50e240a
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 947fca24b..98e23c802 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -233,4 +233,4 @@ plan14-root-reads-fleet-first-reconcile-speed.tsv 9206205b2a3bf27b8b85310f4a44f9
plan14-root-reads-free-storage-250.tsv 9206205b2a3bf27b8b85310f4a44f94ef0c5886d85d6e55dbf2f22e073a8af11
plan14-root-reads-fleet-first-reconcile-speed-4.tsv 4eda67fee53800e2cfa4177b954c7f0fce6bdfcfbfe1aa2547ddcec3027b668b
plan14-root-reads-sec-edge-redirect-linklocal.tsv 4eda67fee53800e2cfa4177b954c7f0fce6bdfcfbfe1aa2547ddcec3027b668b
-plan14-root-reads-audit-aws-timeouts.tsv 00ff7b5abe772a9148d9c33684a42a248b7d77fd6d838fe968c2f0919a2449d5
+plan14-root-reads-audit-aws-timeouts.tsv f5d8ee906a7b9a119a29164f09a660fbf40118ff25d58c2caa38b1d6a3772c73