carlos / platform Public

census wake-latency-3: buildStates.write re-frozen, three envelopes re-pinned

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 1b54c70f0cca8b326fd6c1a8b3f4946d1aa69c9a parent ea2e48c
3 files changed, +20 −0
  • docs/superpowers/notes/census-proposal-wake-latency-3.md +13 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-wake-latency-3.tsv +6 −0

CI failed — run details

diff --git a/docs/superpowers/notes/census-proposal-wake-latency-3.md b/docs/superpowers/notes/census-proposal-wake-latency-3.md
new file mode 100644
index 000000000..b65a2c40e
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-wake-latency-3.md
@@ -0,0 +1,13 @@
+# Census approval: wake-latency-3
+
+Ruling `census-ruling-wake-latency-3`. Every change below keeps the disposition it already has, so it needs an approval, not a decision.
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `internal/host/buildstate.go` `buildStates.write` | body | unchanged (1) | its first try goes on the copy this agent last wrote at that key, conditioned on that copy's etag (one round trip); a conflict, an error, or a merge that refuses or has nothing to write on the copy is decided on a fresh read as before; no read added (the fresh read is the one it always made) |
+
+Envelopes re-pinned: `internal/appconfig`, `internal/host`, `internal/lease`.
+
+Seal: `86570d1326baad6d866b4066b6bf65218434b201fb1f2c05ebc6e3c79f9c5a98` → `86570d1326baad6d866b4066b6bf65218434b201fb1f2c05ebc6e3c79f9c5a98`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-wake-latency-3.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index af74d718e..671a7bc0d 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -9,3 +9,4 @@ plan14-root-reads-sec-mail-user-boundary.tsv 68ca9635da386f34ef483c790af19e95412
plan14-root-reads-edge-asset-cache-2.tsv de15b849fcb93b76caca55be924cde41512f8c470f40b4ebdd77ec65ad7e7069
plan14-root-reads-pro-6214-service-runs-decisions.tsv ec2d8daaec385b34b3be9c8c6430427c082ac36cd40150e1c6f520e20e3da72d
plan14-root-reads-pro-6214-service-runs.tsv 86570d1326baad6d866b4066b6bf65218434b201fb1f2c05ebc6e3c79f9c5a98
+plan14-root-reads-wake-latency-3.tsv 86570d1326baad6d866b4066b6bf65218434b201fb1f2c05ebc6e3c79f9c5a98
diff --git a/internal/provision/testdata/plan14-root-reads-wake-latency-3.tsv b/internal/provision/testdata/plan14-root-reads-wake-latency-3.tsv
new file mode 100644
index 000000000..c9a8aa3f9
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-wake-latency-3.tsv
@@ -0,0 +1,6 @@
+# Census overlay wake-latency-3, written by census-propose (#369). census-ruling-wake-latency-3, approved by the census owner before the merge; the approval card is docs/superpowers/notes/census-proposal-wake-latency-3.md.
+# 1 body, 0 sites, 3 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+internal/host/buildstate.go buildStates.write authority E3,J1,J4 root-input;rev3=census-ruling-wake-latency-3;basis=its first try goes on the copy this agent last wrote at that key, conditioned on that copy's etag (one round trip); a conflict, an error, or a merge that refuses or has nothing to write on the copy is decided on a fresh read as before; no read added (the fresh read is the one it always made) file:ReadAt@2527 0c6620f6c436457c18142203cee157e4d2104c79304d1cfd1f159bd4fea40797
+@coverage internal/appconfig d5a8d65a8dce2372d40a0c32c73e57e677adba6a39a2b7f41fdc6bc4a86ad452
+@coverage internal/host 95ca64c575909995d8a9dd5b5a2f437f96b36017a804e2bf0b8f4b221e2ec660
+@coverage internal/lease 33f2ca8b19741ca152122dbf93f561d7b70f534206ea3cd7ee3c30123c1c27e5