carlos / platform Public

spec: config receipts (#522), plan 2 proof of delivery

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev eff06f967afbe27bb91cec3eeb7e3f6f8edb70ae parent 148c56d
1 file changed, +210 −5
  • docs/superpowers/specs/2026-11-02-config-receipts-design.md +210 −5

CI passed — run details

Intent

Human

<task-notification> <task-id>a769464283baf520a</task-id> <tool-use-id>toolu_01FMUYgy652Wrco6rffQpQVr</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/4c585ebb-d953-40f5-8f58-fbd337832024/tasks/a769464283baf520a.output</output-file> <status>completed</status> <summary>Agent "Recon box-side config delivery evidence" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>I've mapped all six parts, and there's one headline finding. Nothing today records config delivery for a stamped named-unit route: that path writes no ack, so the #516 case can't be seen off-box. The ack that exists for other shapes is change-only, records only the instance overlay's version, and is tied to a file on disk, not to a running process. Paths below are relative to the repo root; lines marked `~` are approximate. ## 1. ConfigAck (`internal/appconfig/configack.go`) **Shape (`:64-116`):** - `Box`, `Host`. - `Schema int` (`ConfigAckSchema = 1`, `:44`). Schema 0 means an older agent wrote it. - `Shape`: `"unit" | "socket-exec" | "tcp-exec-file"`, set by `shapeOf` (`:309`). `"unit"` means a `carlos-app@` unit (`Backing == BackingUnit`), not a stamped named unit. - `At`. - `Restarted`, `RestartError`, `Hibernating`. - `RelaySuffixes`: region → `username_suffix`, parsed from `CARLOS_RELAY`. - `InstanceConfigETag`. - Moves only (written by `RenderHeld`): `MoveOp`, `FileSHA256`, `BundleETags{"default","environment"}`. **Where it's stored:** `control/config-ack/&lt;box&gt;/&lt;host&gt;.json` (`ConfigAckPrefix :120`, `ConfigAckKey :125`). It is rewritten in place with a compare-and-swap get-then-put and one retry (`WriteConfigAck :226`). **Who writes it:** | Writer | Process | Path | |---|---|---| | Root pass | `carlos adopt` and `carlos adopt --config-only` (`carlos-adopt.service`, `carlos-config-sync.service`), as root | `host/agent.go:5506` `SyncUnits(... configAckFunc(ctx, store, "adopt") ...)` → `sync.go` `finishHost :791`, ack built at `:797`. Covers `carlos-app@` unit routes only. | | Agent | `carlos agent` (`carlos-edge.service`, `User=carlos`) | `agent.go:1684` `SyncExec` → `syncExecHostClaimed`, ack at `syncexec.go:1505` (socket-exec and tcp-exec-file shapes) | | Agent, scheduler armed | same | `host/rollout.go:476` `m.DeferAck(configAckWriter(...))` holds the ack until the revision is active (see 5) | | Moves | moves code | `renderheld.go:136` | `configAckFunc` (`agent.go:1795`) stamps `Box = BoxLabel()`. Write errors are only logged ("best-effort telemetry"). **When:** only after the file actually changed and a restart was attempted. The "up to date" early returns write nothing (`sync.go:619-623, :635`; `syncexec.go` `if !r.changed`). Two other branches also write no ack: - the exec "manifest absent, removed its config file" branch; - the stamped named-unit path. `unitsync.go` has no ack anywhere, and `prepareStamped`/`applyStamped` never build one. **Field caveats:** - In an ordinary sync, `Restarted` means the restart call returned nil; the process isn't checked afterwards. - The socket-exec bounce result is carried into the ack, but the tcp-exec-file shape always leaves `Restarted` and `RestartError` empty. - Ordinary sync acks carry no default/environment bundle etags and no hash of the file. Only `RenderHeld` acks do. **`InstanceConfigETag` / `InstanceConfigDelivery` (`:164`):** the field is the etag of `apps/&lt;acct&gt;/&lt;app&gt;/instances-config/&lt;host&gt;.json` that the pass merged in. The function compares it with the etag the caller's own write returned: - nil ack → `not-yet-delivered` - `Schema &lt; 1` → `unknown-agent` - equal → `delivered` - otherwise → `stale` It covers the per-instance overlay only. An edit to the default or environment bundle can't be detected as stale this way. **Who reads acks:** - `console/relayops.go:1366` `relayConfigAcks` → `apirelay.go:327` `relayMatchingAck`, `:415-433` (`carlos relay status` delivery text; matches only on exact `RelaySuffixes`). - `host/movesoffline_land.go:938` (the moves "T3" check: `MoveOp` plus `FileSHA256`). - `host/movesrollback.go:1582`. - `host/movesfinal.go:662` copies the ack into the move report. - `LatestConfigAck` (`:186`) and `InstanceConfigDelivery` have no production callers, only tests. ## 2. RenderHeld and CheckRenderedIdentity **`renderedIdentity` (`claimsync.go:26`):** `"sha256:&lt;hex of rendered bytes&gt;;default=%t;environment=%t;instance=%t"`. It's a hash of the rendered file plus three "layer present" flags, not etags. Every writer computes it: `syncHostClaimed`, `renderExecConfig`, and the stamped path through `prepareHost`. **`CheckRenderedIdentity` (`claim_identity.go:13`):** read-only. It re-merges with `LoadMergedHostVersions` and re-renders: `RenderEnv`, plus `applyAgentVars` for a unit route or `execAddrConfigHeader` for an addr route. It then compares the result with a `hostwrite.Identity`. Its only caller is `host/claimproduction.go:308` `claimInputPolicy` (serving host-claim: "does this Work still name current inputs"). It answers "the bucket still renders to these bytes", not "the process has them". **`RenderHeld` (`renderheld.go:52`, variants `:68/:89/:109`):** for move-held exec rows only (`heldRenderable :152` refuses unit and `BackingUnit` rows). It records `FileSHA256`, `BundleETags` and `OverlayETag` in the ack on every call, changed or not. This is the only place the default/environment etags plus a file hash are written off-box. ## 3. Config PUT restart notice `console/apiconfig.go:613` → `configRestartNotice :745` opens the console's own box registry (one box only; the #145 blind spot). It calls `AwaitingRestart` (`syncexec.go:1163`) and returns `{Known, Hosts, Unresolved, Undelivered, Blocked}`. The answer comes only from registry rows plus bucket bundles (default, environment, overlay, `exec_delivery`). It reads no acks, no `named-units.json`, no systemd and no files. - `Blocked` comes from `BlockedStamps` (`:1106`), the rails knowable from the registry alone: shape, unit name, hostname, one route per unit. - A stamped route that passes those rails is assumed delivered by the root pass "within seconds" (`~:1268-1285`). So a #516 "not declared" route shows up as nothing to report. - `Hosts` are opted-in TCP-addr routes nobody bounces. `Undelivered` are un-opted addr routes. - The CLI's local path does the same (`appconfig_cli.go:78`, `localRestartAnswer`). ## 4. Silent blocks and skips (all `fmt.Printf` to that unit's journal) **Root pass, `unitsync.go`:** - Plan refusals: `:165` (declaration file unreadable), `:169` (`"not declared: ... Declare the unit ... in &lt;NamedUnitsPath&gt;"`), `:195/:204/:206` (probe, not loaded, alias), `:219`, `:225` (unmanaged `EnvironmentFiles`). - In `prepareStamped`: `:264` `"delivery blocked: not declared"`, `:276`, `:285`, `:289`, `:294`, `:299`, plus the not-ours drop-in. - In `applyStamped`: `:433`, `:447/:484` (`EnvironmentFiles` mismatch), `:456` (restart refused, not declared), restart failure "still owed". **Root pass, `sync.go` dispatch:** - `~:232` declarations unreadable, nothing delivered. - `~:256` declared-host refusal. - `~:358` "stamped — no unit ops, skipped". - `~:362`. - `~:382` exec-backed routes are handed to the agent. **Agent, `syncexec.go`:** - `:250/:293` `exec_delivery` unresolved. - `:309` unknown `exec_delivery` value. - `:592` namespace clash. - `:664` instance directory not made yet. - `:727` `exec_delivery` off but a stale file exists. - `:745`. - Un-opted addr routes are skipped with no line at all, unless a stale file exists. **Off-box:** nothing. No bucket object, registry column or ack records any blocked or skipped state. The only owner-visible echo is `AwaitingRestart`'s `Blocked`/`Undelivered` in the PUT response, which is computed from the registry rail only and not stored. Pending-restart markers are local files under the drop-in root. ## 5. Ties to a running process `ConfigAck` has none: no pid, `InvocationID`, unit start time or restart count. The root unit path uses `ops.Restart` (`systemctl restart`) and captures nothing. The `carlos-app@` path uses try-restart and only knows nil or error. The closest existing link is the armed rollout scheduler: - `syncexec.go:1464/:1491` call `Delivered(host, id.Config)`, which goes to `rollout.Manager.ConfigDelivered`. - The activator's `WakePlan.ConfigRev` (`activator/wakeplan.go:58`) and `GenEvent.ConfigRev` (`:219`), plus `Attempt{Build, ConfigRev}` (`activator/swap.go:45-56`), tag a generation with the rendered identity. - `configTrack.activate` (`rollout/config.go:62`, `manager.go:1542`) releases the held ack only when a generation started with exactly that revision. But it's all in memory, exec routes only, and the ack written afterwards doesn't record the revision or the generation. `instancectl` reads `InvocationID` and `MainPID` (`cmd.go:113`, `claimexec.go:157`, `server.go:869`), but only for start, claim and exec checks; nothing links them to config. There is also nothing linking an ack to a release build (#490). `adopt` runs config sync before release adoption (`agent.go:~5496`), but no record says which build ran with which config. ## 6. Packages part 3 would touch (census scope) All of these are root-binary packages: - **Direct root imports:** `internal/appconfig`, `internal/console`, `internal/host`, `internal/registry`, `internal/release`, `internal/activator`, `internal/relay`, `internal/fleetapi`, `internal/hostclaim`. - **Reached through `internal/host`:** `internal/rollout`, `internal/hostwrite`, `internal/instancectl`, `internal/hostbox`. - **Root package itself:** `appconfig_cli.go`, `apimode.go`. - **Explicit census scope:** `internal/host/units`, which matters if the root-pass or config-sync units change. The most likely to change are `appconfig` (ack shape, unit-path ack, blocked record), `host` (writers), `console` plus the root CLI (reader and owner surface), and `rollout`/`activator` (tying the revision to a generation). I read imports rather than running `go list`. ## Summary **Build from today:** 1. `renderedIdentity` (file hash plus layer flags) is computed by every writer. 2. `CheckRenderedIdentity` can recompute "what the bucket says now" read-only. 3. `ConfigAck` at `control/config-ack/&lt;box&gt;/&lt;host&gt;.json` already exists, is owner-readable through the console, and carries schema versioning. 4. `InstanceConfigDelivery` already has the delivered / stale / unknown-agent / not-yet-delivered vocabulary. 5. `RenderHeld` acks already carry `FileSHA256` plus `BundleETags`, which is the pattern ordinary sync acks lack. 6. The armed scheduler already holds an ack until a generation started with that rendered revision. **Missing:** 1. The stamped named-unit path writes no ack at all, so #516 is invisible off-box. 2. Ordinary acks carry neither the rendered identity nor the default/environment etags, so only overlay staleness is detectable. 3. Acks are change-only. "No ack" can't be told apart from "blocked", and a block never overwrites an older successful ack. 4. Blocked, skipped and refused states (not declared, unmanaged env files, `exec_delivery` off, unit not loaded, `EnvironmentFiles` drift) exist only as journal lines on the box. 5. The restart notice reads neither acks nor declarations, and sees only the console's own box. 6. Nothing ties an ack to a process (`InvocationID`, `MainPID`, start time) or to a release build (#490). `ConfigRev` lives only in memory in the activator and rollout. 7. `LatestConfigAck` and `InstanceConfigDelivery` are unused in production.</result> <usage><subagent_tokens>110673</subagent_tokens><tool_uses>35</tool_uses><duration_ms>261035</duration_ms></usage> </task-notification>

Attributed to this commit: 11.0 g CO₂e (1,057,180 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-config-receipts-522, 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.

diff --git a/docs/superpowers/specs/2026-11-02-config-receipts-design.md b/docs/superpowers/specs/2026-11-02-config-receipts-design.md
index 94f4c2272..fc15907d6 100644
--- a/docs/superpowers/specs/2026-11-02-config-receipts-design.md
+++ b/docs/superpowers/specs/2026-11-02-config-receipts-design.md
@@ -133,9 +133,10 @@ owned environments only, and never the default bundle (`apiconfig.go:197`,
`ConfigAck` (`internal/appconfig/configack.go`): after config sync converges
a route, the box writes an acknowledgement naming what it delivered, including
-the instance overlay's etag. Today only `carlos relay status` reads it.
-`RenderHeld` / `CheckRenderedIdentity` (`renderheld.go`) are internal to moves.
-§5 builds on these.
+the instance overlay's etag. Owners see it only through `carlos relay status`;
+moves read it internally. `RenderHeld` (`renderheld.go`) and
+`CheckRenderedIdentity` (`claim_identity.go`) are internal to moves and host
+claims. §5 maps the gaps and builds on these.
## 4. Plan 1: versions, digests, conditional writes
@@ -417,8 +418,207 @@ the verdict recorded on #280.
## 5. Plan 2: proof of delivery
-(Being written: depends on the box-side map of config acks, held renders and
-blocked-delivery paths.)
+### 5.1 What the box records today
+
+`ConfigAck` at `control/config-ack/<box>/<host>.json`
+(`configack.go:64`, `:120-125`) is the platform's only per-route statement of
+what a box delivered. Its gaps, each one a way of reading "delivered" when it
+is not:
+
+1. **Declared named units write no ack at all.** `unitsync.go`'s stamped path
+ (`prepareStamped`, `applyStamped`) never builds one. #516 is exactly this
+ path: config blocked for two months with nothing off the box.
+2. **Acks are written only on change.** The "up to date" returns
+ (`sync.go:619-623`, `:635`, `syncexec.go`'s `!r.changed`) write nothing, and
+ neither does any refusal. "No ack", "blocked" and "blocked after an earlier
+ success" all look the same, and the last of them shows the old success.
+3. **Acks name only the overlay's version.** Ordinary acks carry
+ `InstanceConfigETag` and nothing for the default or environment layer, so a
+ change to either cannot be seen as stale. Only move-held renders
+ (`RenderHeld`, `renderheld.go:52`) record all layers plus a file hash.
+4. **Nothing ties an ack to a process.** `Restarted` means the restart call
+ returned nil. No invocation id, pid or start time is recorded. The armed
+ rollout scheduler holds an exec route's ack until a generation started with
+ that rendered revision (`rollout/config.go:62`), but only in memory, and the
+ ack written afterwards does not say which generation.
+5. **Blocked and skipped states are journal lines only** (`unitsync.go:165-456`,
+ `sync.go:~232-382`, `syncexec.go:250-745`). The PUT's restart notice
+ (`configRestartNotice`, `apiconfig.go:745`) reasons from registry rails
+ alone and assumes a stamped route that passes them is delivered, so #516's
+ case reports nothing.
+
+Reusable: `renderedIdentity` (`claimsync.go:26`, a hash of the rendered file
+plus which layers were present) is already computed by every writer;
+`LoadMergedHostVersions` returns every layer's raw read; `InstanceConfigDelivery`
+(`configack.go:164`) already has the delivered / stale / unknown-agent /
+not-yet-delivered vocabulary, unused in production.
+
+### 5.2 In one paragraph
+
+Every process that delivers config for a route (the root pass for unit and
+named-unit routes, the agent for exec routes) writes the route's ack **whenever
+its delivery state changes**, including to blocked, and states in it the
+versions of every layer it rendered (Plan 1's `cv1:` form), the rendered
+identity, a fixed-vocabulary state and reason, and what it knows about the
+process that was started on that config. The console reads a route's acks and
+compares them with the versions stored now, answering per route and box:
+`delivered`, `pending`, `blocked` (with a reason), `not-delivered-by-carlos`,
+or `unknown`. Nothing is inferred from silence.
+
+### 5.3 The ack, schema 2
+
+Additive to `ConfigAck`; `ConfigAckSchema` becomes 2. New fields:
+
+| Field | Meaning |
+|---|---|
+| `state` | `delivered`, `restart-pending`, `restart-failed`, `blocked`, `file-only` |
+| `reason` | for `blocked` and `restart-failed`: a code from a closed list (§5.4) |
+| `versions` | `{"default": "cv1:…", "environment": "cv1:…", "overlay": "cv1:…"}` for the layers this render read, `"none"` for absent ones, omitted for ones the route does not resolve through (an owned environment has no `default`) |
+| `rendered` | the `renderedIdentity` of the file written |
+| `process` | see §5.5; absent when not known |
+
+- Versions are computed on the box from the raw bytes it read, with the same
+ function the console uses (Plan 1 puts it in `internal/appconfig`), so the
+ two sides compare like with like.
+- `file-only` is a TCP-addr route with `exec_delivery: file`: carlos wrote the
+ file and does not own the process (`syncexec.go`, the tcp-exec-file shape).
+ The honest answer is "the file is current; restarting the process is yours".
+- Older readers ignore the new fields; `InstanceConfigDelivery`'s schema guard
+ keeps its meaning.
+
+**When it is written.** On every pass that evaluates the route, the writer
+compares the ack it would write with the one in the bucket (state, reason,
+versions, rendered, process; not the timestamp) and writes only if they
+differ. The writer keeps the last ack it wrote in memory, so an unchanged
+route costs no bucket request at all; the bucket is read only after a restart
+of the writer. This keeps the request budget at today's level plus one write
+per real change. Bucket requests cost money per box, so no new per-box polling.
+
+**Who writes it**, by route shape:
+
+| Shape | Writer | Today | Change |
+|---|---|---|---|
+| `carlos-app@` unit | root pass, `sync.go` `finishHost` | ack on change | ack on state change, refusals included |
+| declared named unit (stamped) | root pass, `unitsync.go` | **none** | ack on state change, refusals included |
+| socket exec | agent, `syncexec.go` | ack on change | same as unit |
+| TCP addr, `exec_delivery: file` | agent | ack on change | `state: file-only` |
+| TCP addr, not opted in | nobody | nothing | no ack; the console derives `not-delivered-by-carlos` from the registry and bundle, as `AwaitingRestart` does today |
+
+### 5.4 Reasons
+
+A closed list, so a box never copies tenant-controlled text into the bucket:
+`not-declared`, `declarations-unreadable`, `unit-not-loaded`, `unit-alias`,
+`unmanaged-env-file`, `env-files-mismatch`, `foreign-drop-in`,
+`restart-refused`, `restart-failed`, `exec-delivery-unresolved`,
+`instance-dir-missing`, `namespace-clash`, `render-failed`. The builder maps
+each journal line in §5.1 item 5 to one, adds codes for any it finds unmapped,
+and keeps the journal lines as they are. The console turns codes into
+sentences (copy review at plan time); #516 request 1 (say so where an app
+owner looks) is answered by `carlos routes` and `env set` showing these.
+
+### 5.5 The process
+
+"Delivered" must mean a process started after the file was written, not only
+that the file is there.
+
+- **Units** (both unit shapes): after a successful restart, the root pass reads
+ the unit's `InvocationID` and `ActiveEnterTimestampMonotonic` / wall time
+ through the same systemd interface it restarted with, and records
+ `process: {"invocation": "…", "started": "<RFC 3339>"}`. `state: delivered`
+ requires a start time after the file write. A unit that was not restarted
+ (hibernating, or delivery wrote nothing new) keeps the previous ack's process
+ if the invocation is unchanged; otherwise the state is `restart-pending`.
+- **Exec routes under the rollout scheduler**: the deferred ack
+ (`rollout.go:476`) records the generation that started with this rendered
+ revision: `process: {"generation": "…", "started": "…"}`.
+- **Exec routes without the scheduler** (`syncexec.go` bounce): the bounce's
+ result and the new instance's start time, as far as the agent's own process
+ table knows it; otherwise `process` is absent and the console says
+ `delivered (file)` rather than `delivered`.
+- `file-only`: never a process.
+
+Liveness of the box itself is not this record's job. The console already reads
+box heartbeats (`freshHeartbeats`, `apiplacements.go:294`); an ack from a box whose heartbeat is stale is reported as
+`unknown (box not reporting)`, never as delivered.
+
+### 5.6 The read
+
+`GET /api/cli/apps/{account}/{app}/config/delivery?host=<host>`, same gate as
+`config/effective` (§4.8, not team-reachable). For each box serving the host
+(from the registry/instance records the console already holds):
+
+```json
+{
+ "host": "shop.example.com",
+ "stored": {"default": "cv1:…", "environment": "cv1:…", "overlay": "none"},
+ "boxes": [
+ {"box": "box-1", "verdict": "delivered",
+ "ack": {"state": "delivered", "versions": {…}, "process": {…}, "at": "…"}}
+ ]
+}
+```
+
+Verdicts:
+
+| Verdict | When |
+|---|---|
+| `delivered` | ack `delivered`, versions equal stored, process started after the write |
+| `pending` | versions differ and the latest stored write is younger than the grace window (default 2 minutes, the fast loop's convergence plus a restart) |
+| `stale` | versions differ beyond the grace window |
+| `blocked` | ack `blocked` or `restart-failed`, with the reason |
+| `file-only` | ack `file-only`, versions equal |
+| `not-delivered-by-carlos` | TCP-addr route not opted in |
+| `unknown` | no ack, schema below 2, or the box is not reporting |
+
+`config/effective` (§4.4) gains the same per-box verdicts when called with
+`delivery=1`, so an adoption observer gets stored and delivered state in one
+read.
+
+The PUT's restart notice keeps its fields and gains nothing in Plan 2. The CLI
+gains `--wait` on `env set` / `secrets set`: after the receipt it polls
+`config/delivery` for the app's routes until every verdict is `delivered`,
+`blocked` or `file-only`, or a timeout (default 2 minutes), and prints the
+outcome. Polling is the console reading acks the boxes already wrote; it adds
+no box-side traffic.
+
+### 5.7 Plan 2 tests
+
+| Case | Expected |
+|---|---|
+| undelivered: stamped route, no declaration (#516) | `blocked`, reason `not-declared`, visible off-box |
+| block after an earlier success | ack moves to `blocked`; verdict not `delivered` |
+| changed default bundle, box not yet converged | `pending`, then `stale` after the window |
+| changed environment bundle | same; today undetectable |
+| wrong storage: ack for another host or box | not matched; that box `unknown` |
+| file written, restart failed | `blocked`, `restart-failed` |
+| process started before the file write | not `delivered` |
+| unchanged route over many passes | no bucket write (asserted on a counting store) |
+| box heartbeat stale | `unknown` |
+| old agent (schema 1 ack) | `unknown` |
+| reason text | always a code from the list; no tenant strings in acks |
+
+Through production wiring: the root pass and agent run against a DirStore with
+real registry rows, as the existing `sync_test.go` and `syncexec_test.go` do.
+
+### 5.8 Plan 2 census
+
+Touches the root binary's packages: `internal/appconfig` (ack shape),
+`internal/host` (root pass and agent writers), `internal/rollout` (generation
+on the deferred ack), and `internal/console` plus the root CLI for the read.
+What root newly does: writes an ack on the stamped path (an existing write
+class, to an existing prefix), writes on refusals, and reads a unit's
+`InvocationID` and start time from systemd after restarting it. It reads no
+new tenant input: reason codes are fixed, unit names come from the declaration
+file root already trusts. Run `make census-card`, brief Astra from
+`docs/superpowers/reviews/REVIEW-BRIEF-TEMPLATE.md`, record the verdict on
+#280.
+
+### 5.9 Not in Plan 2
+
+- A release waiting for its config (#490 item 1). The delivery record makes
+ the wait possible; the release gate itself is #490's change.
+- Backfilling named-unit declarations (#516 request 2). Plan 2 makes the
+ undeclared routes visible; finding and fixing them per box is ops work.
## 6. Rollout
@@ -435,3 +635,8 @@ next platform release; no roll ordering beyond the usual dev first.
gate; flagged for review (§4.8).
4. Precondition in the JSON body, header as optional synonym (§4.5).
5. Audit rows gain versions, still never names (§4.6).
+6. Acks are written on state change only, with the last one cached in
+ memory, so delivery proof adds no per-pass bucket traffic (§5.3).
+7. Grace window before `pending` becomes `stale`: 2 minutes (§5.6).
+8. `--wait` on `env set` / `secrets set` polls the console, not the boxes
+ (§5.6).