plan 3: drift corrections against plans 1 and 2 as merged, and Task 12 for #396
2 files changed,
+202
−0
docs/superpowers/plans/2026-10-24-edge-asset-cache-plan-3-serve.md+35 −0docs/superpowers/specs/CODEX-FINDINGS-ASSET-CACHE-PLAN3-DRIFT.md+167 −0
CI passed — run details
diff --git a/docs/superpowers/plans/2026-10-24-edge-asset-cache-plan-3-serve.md b/docs/superpowers/plans/2026-10-24-edge-asset-cache-plan-3-serve.md| index 38d540271..9cefddcc6 100644 |
| --- a/docs/superpowers/plans/2026-10-24-edge-asset-cache-plan-3-serve.md |
| +++ b/docs/superpowers/plans/2026-10-24-edge-asset-cache-plan-3-serve.md |
| @@ -35,6 +35,27 @@ Every task's requirements include this section. |
| Astra reviewed the three plans together over eight rounds (`docs/superpowers/specs/CODEX-FINDINGS-ASSET-CACHE-PLANS.md`, then `-PLANS-R2.md` to `-PLANS-R8.md`; brief `CODEX-REVIEW-BRIEF-ASSET-CACHE-PLANS.md`) and accepted them at `4cca5784`. Findings were 16, 6, 6, 3, 1, 1, 2, then none. Every finding was accepted after its citation was checked; none was declined. Findings that changed a task are marked **(astra Pn-m)** where they landed. |
| +## Drift corrections (2026-10-25, before building) |
| + |
| +Plans 1 and 2 changed in review after this plan was accepted. Astra's drift review (`docs/superpowers/specs/CODEX-FINDINGS-ASSET-CACHE-PLAN3-DRIFT.md`, 16 items) checked every consumed interface against main at `e16095cc`. Where this section and a task disagree, this section wins. Line numbers in the tasks are stale; find constructs by name, using the current anchors in the drift file. |
| + |
| +- **D1 (copy).** The inventory is EAC-1 to EAC-26 once this plan's rows land: EAC-23 and EAC-24 (docs, Task 10), EAC-26 (Task 12) and the revised EAC-16 (Task 12) were approved by Paul on 2026-10-25 (`docs/superpowers/plans/2026-10-24-edge-asset-cache-copy-approved-plan3.json`). EAC-25 already exists. Each task adds its rows to the record and gate when it writes them. |
| +- **D2 (freshness).** `homeMap.AssetsFor` enforces `-5m <= now-At <= 1h` and the first-read rule; consume it as is and test the future bound at the far edge. `assetPolicy.For` checks only the upper bound; do not add the future bound there. |
| +- **D3 (policy snapshot).** `LocalAssets.For` and `Declared` answer from the writer's last settled snapshot and never read the registry per call; they answer false until the first snapshot. The race to guard is policy snapshot against the edge's route snapshot (`Edge.Reload`). Tests advance the policy through a settled writer pass while withholding `Edge.Reload`. |
| +- **D4 (primary).** `HostAssets` gains `Primary string` (the primary route host the decision was made for; equal to the host for a primary, the alias's target for an alias), filled by the policy's snapshot and the edges-file block (additive `omitempty` wire field `primary`, written by the home box's publisher and parsed by `AssetsFor`; update the golden). The upstream rule compares it with `up.route.Host`. |
| +- **D5 (commit errors).** A `Commit` error does not always mean nothing was stored: a failed directory sync after the meta rename returns an error with the entry published. Treat any `Commit` error as "this fill cannot be acknowledged as stored by me" (serve the response, no ack expiry beyond what `Get` then shows), never as rollback. |
| +- **D6 (abort accounting).** `Abort` keeps reserved bytes for temporaries it cannot delete; zero-reservation assertions apply only when cleanup succeeds. `Stats.Retired` includes failed unlinks and bodies kept after an uncertain meta rename. |
| +- **D7 (rate limit).** Every upstream fill and every uncached fallback goes through the existing per-instance rate admission (`rateAdmit` and its first-final-response slot release); hits stay exempt. |
| +- **D8 (account throttle).** Caught deliveries, hits included, pass `planThrottleAdmit` and its refusal metering exactly as uncached deliveries do: the local catch hook runs after it. A far hit is throttled by the owner's account with a synthetic `registry.Route{Host, Account, App, Kind: "instance"}`; if the throttle needs more than that, the far edge forwards instead of serving from disk while the account is throttled. |
| +- **D9 (anchors).** ServeHTTP anchors moved (import gate, meter, observer defer, upgrade branch, gzip, Watch); suppress only billing for an acknowledged home fill, not the other observers (`observeRecords`). |
| +- **D10 (backhaul).** `backhaulAcquire(box, clientKey string) (release func(), ok, shed bool)`; pass `e.backhaulClientKey(r)` from the initiating request and keep both refusal answers (429 for `shed`, 503 with `Retry-After: 2` for saturation). |
| +- **D11 (far anchors).** Updated anchors for the door caller, `acceptHop`, the exact-remote branch and the lookup-miss backhaul; keep both hop and door exclusions. |
| +- **D12 (policy sharing).** The edge must use the edges-file loop's own `assetPolicy` (its snapshot is filled by that loop's writer). Share it explicitly and concurrency-safely from `edgesFileLoop` to the ready hook (for example the agent creates the policy and hands it to both); never construct a second policy. |
| +- **D13 (first read).** Before the home map's first successful hosts read, a far request gets no disk response and today's unresolved-host behaviour; test forwarding and catching after that read. |
| +- **D14 (golden clock).** The golden has a fixed `at`; e2e tests rebase only the fixture's `at` to the test clock after reading the golden, keep hop-auth clocks coherent, and embed the owner fields through the edge's `edgesHostView` shape (`edgesfile.Host` has no owner). |
| +- **D15 (generation anchor).** Generation routing is selected at the socket arm (`e.gens != nil && Kind == "instance" && Hibernate`). |
| +- **D16 (census).** Use the #369 process: `make census-card`, CLAIMS, `make census-propose NAME=edge-asset-cache-3`, rows `rev3=census-ruling-edge-asset-cache-3`; new units and new read kinds are decisions for Paul; approvals go to Astra. |
| + |
| ## Census impact |
| - Changed frozen units, re-fingerprinted `@legacy` with the same class: `internal/edge/edge.go` `Edge.ServeHTTP`, `Edge.backhaulTo` (if Task 6 shares its preamble), `RunWithActivatorReady` (arming), `internal/edge/usagemeter.go` `UsageMeter.Record` only if its body changes (it should not). |
| @@ -282,6 +303,20 @@ The authority table itself runs in plan 1 Task 8 (`internal/host`, the real `ass |
| - [ ] **Step 3:** Provider boundary (spec §9): `TestAssetCodeImportsNoAWSSDK` in `internal/edge` runs `go list -deps github.com/carlosframework/platform/internal/assetcache` (the full import path, since the test runs in the package directory) and checks no `github.com/aws/` package appears, and parses the imports of `asset*.go` in its own directory (package-local names, excluding `_test.go`) with `go/parser` and checks the same (astra P3-2). It does not check `internal/edge` as a whole, which imports the AWS SDK for its Route 53 adapter (`route53dns.go:25`) (astra P1-4). Task 9's e2e is the no-AWS-configuration run. |
| - [ ] **Step 4:** Cross-compiles and `gofmt -l .` clean; weights for any new test over a second; commit, push, CI green on the tip, merge per plan 1's Global Constraints. |
| +### Task 12: Status follow-ups (#396) |
| + |
| +**Files:** |
| +- Modify: `internal/console/apiassets.go`, `assets_cli.go`, `docs/site/cli.md`, the copy record and gate; the election code shared between `internal/edge` (homemap) and the console's status door (a small exported function in `internal/edgesfile` or the narrowest existing shared package). |
| + |
| +**Interfaces:** |
| +- Produces: one home-election function used by both the edge's home map and the status door, including dial eligibility; the status door's per-instance result gains an `unknown` state, distinct from "publishes nothing". |
| + |
| +- [ ] **Step 1: Write the failing tests.** `TestStatusElectsTheSameHomeAsTheEdge` (a table of edges files with conflicting stamps, an undialable higher-stamped box, a winning entry without assets: the status door and the home map agree on every row); `TestStatusShowsUnknownWhenTheEdgesFileCannotBeRead` (FOLDERS and the published columns show EAC-26 `unknown`; a host whose winning entry publishes nothing still shows `-`); the docs gate for the revised EAC-16. |
| +- [ ] **Step 2:** Run them. Expected: FAIL. |
| +- [ ] **Step 3:** Move the election into the shared function, call it from both sides, add the unknown state, write EAC-26 and the revised EAC-16 (the approved JSON is `docs/superpowers/plans/2026-10-24-edge-asset-cache-copy-approved-plan3.json`), and update the record and gate. |
| +- [ ] **Step 4:** Run them, the existing home-map and status tests, and the copy gate. Expected: PASS. |
| +- [ ] **Step 5:** Commit. |
| + |
| ### Task 11: Acceptance on dev (needs Paul's go-ahead to roll) |
| Infrastructure changes need Paul's approval. Ask before Step 1. |
diff --git a/docs/superpowers/specs/CODEX-FINDINGS-ASSET-CACHE-PLAN3-DRIFT.md b/docs/superpowers/specs/CODEX-FINDINGS-ASSET-CACHE-PLAN3-DRIFT.md| new file mode 100644 |
| index 000000000..ff2723cf6 |
| --- /dev/null |
| +++ b/docs/superpowers/specs/CODEX-FINDINGS-ASSET-CACHE-PLAN3-DRIFT.md |
| @@ -0,0 +1,167 @@ |
| +Reviewed `e16095cc` against plan 3 and its inherited plan-1/2 contracts. No files changed; no tests run. Numbered findings are counted once, including grouped line-reference updates. |
| + |
| +**Task 0 — Copy rows** |
| + |
| +1. **Inventory now includes EAC-25.** |
| + **Plan says:** extend the inventory to EAC-1 through EAC-24. |
| + **Code has:** exactly EAC-1–22 plus EAC-25; EAC-25 is already approved and built. See [approved_asset_cache_copy_test.go:29](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/approved_asset_cache_copy_test.go:29). |
| + **Smallest correction:** add EAC-23 and EAC-24 while retaining EAC-25, yielding EAC-1–25. Preserve existing built entries: bare `EAC-n` checks the row’s first file; `EAC-n@path` checks that specific file. Task 10 can append bare EAC-23 and EAC-24 when their rows name `docs/site/cli.md`. |
| + |
| +**Task 1 — Fill signatures** |
| + |
| +No drift. `signingKey(current, next []byte) []byte`, `canonicalizeHopHost(string) string`, and `hopSkew = 30*time.Second` exist as expected in `mesh.go`. |
| + |
| +**Task 2 — Admission** |
| + |
| +No interface drift. `parseMaxAge`, `hasCCDirective`, `joinHeader`, and `compressible` retain the expected signatures. Their current locations are `edge.go:2179`, `edge.go:2210`, `edge.go:2069`, and `compress.go:100`. |
| + |
| +**Task 3 — Serving entries** |
| + |
| +No interface drift. The consumed contract is: |
| + |
| +- `Entry.Meta`, including `Header`, `Lifetime`, `Expires`, `StoredAt`, `Size`, and `GzipSize`. |
| +- `Meta.Age(now) time.Duration`. |
| +- `Entry.Open(gzip bool) (*assetcache.Reader, error)`. |
| +- `Reader` implements `Read`, `ReadAt`, `Seek`, and `Stat`; its `Close` releases the lease. |
| + |
| +See [store.go:413](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/assetcache/store.go:413). Open the reader before writing response headers and close it after serving. An `Entry` pointer alone does not pin its files; `Open` can fail after eviction or replacement. The accepted plan-2 contract already included the reader lease, so this is not a new mismatch. |
| + |
| +**Task 4 — Catch decisions and keys** |
| + |
| +2. **The inherited far-host freshness contract gained a future-skew bound.** |
| + **Plan says:** one-hour freshness; the referenced plan-1 interface specified `now.Sub(At) <= time.Hour`. |
| + **Code has:** eligibility only when `-5 minutes <= now.Sub(At) <= 1 hour`, including both boundaries. See [homemap.go:1000](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/homemap.go:1000). |
| + **Smallest correction:** document and test the five-minute future bound when consuming `AssetsFor`. Do not apply it indiscriminately to local policy: `assetPolicy.For` currently checks only the upper age bound. |
| + |
| +Otherwise, `HostAssets`, `LocalAssets`, and `Key` match. `Key` has six string fields: `Account`, `App`, `Gen`, `Host`, `Path`, `RawQuery`. `AssetsFor` is exact-host-only and already enforces the successful-first-read rule. |
| + |
| +**Task 5 — Local and home fills** |
| + |
| +3. **`LocalAssets.For` no longer reads the registry.** |
| + **Plan says:** at line 166, policy reads the registry while the edge reads its independently refreshed route snapshot. |
| + **Code has:** both `For` and `Declared` read the writer’s last settled `assetSnapshot`. Neither reads the registry or bucket per request; both initially return false. See [assetpolicy.go:293](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/host/assetpolicy.go:293). |
| + **Smallest correction:** describe the race as *policy snapshot versus edge route snapshot*. In the alias-disagreement test, advance the policy through a settled writer pass while withholding `Edge.Reload`; changing registry rows alone does not advance policy. |
| + |
| +4. **The required primary-route comparison has no exposed interface.** |
| + **Plan says:** require the request hostname to resolve to the same primary route in policy and upstream. |
| + **Code has:** `HostAssets` exposes owner, paths, generation, and time, but no primary hostname; `LocalAssets` exposes only `For` and `Declared`. See [assettypes.go:14](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/assettypes.go:14). Primary resolution exists privately in [assetpolicy.go:200](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/host/assetpolicy.go:200). |
| + **Smallest correction:** explicitly add primary identity to the local snapshot/API and compare it with `up.route.Host`. Owner/app/generation equality alone does not implement the stated guard. |
| + |
| +5. **A commit error does not always mean nothing was stored.** |
| + **Plan assumes through plan 2:** “Any error behaves as `Abort`” — plan-2 line 132. |
| + **Code has:** failure of the directory sync *after metadata rename* returns an error while leaving the new entry published and readable. Calling `Abort` afterward does not remove it. See [fill.go:432](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/assetcache/fill.go:432) and [entry_test.go:727](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/assetcache/entry_test.go:727). |
| + **Smallest correction:** state this exception in the fill error path. Do not equate `Commit != nil` with “store empty” or treat `Abort` as rollback. `Commit` still returns only `error`; obtain an entry separately with `Get`. |
| + |
| +6. **Abort and accounting have a cleanup-failure exception.** |
| + **Plan says:** abandonment releases the reservation, with `Stats().Reserved == 0`; its inherited plan-2 contract promises complete release on abort. |
| + **Code has:** `Abort` releases the fill slot but retains reserved bytes for temporaries it cannot delete. A later `Abort` retries. `Stats.Retired` also includes failed-unlink bodies and bodies retained after an uncertain metadata rename, not just open-reader bytes. See [fill.go:288](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/assetcache/fill.go:288) and [store.go:29](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/assetcache/store.go:29). |
| + **Smallest correction:** qualify zero-reservation assertions with successful cleanup. Preserve the retained accounting on disk faults; do not interpret all nonzero `Reserved` or `Retired` bytes as active fills/readers. |
| + |
| +7. **Direct fill dispatch would bypass the new instance rate limiter.** |
| + **Plan says:** `fillFromApp` dispatches directly through the activator or `up.proxy`. |
| + **Code has:** misses pass through `rateAdmit`, with a slot released at the upstream’s first final response; cache hits remain exempt. See [edge.go:1880](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/edge.go:1880) and [ratelimit.go:111](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/ratelimit.go:111). |
| + **Smallest correction:** put the existing admission/slot handling around actual upstream fills and uncached fallbacks, retaining the hit exemption. |
| + |
| +8. **The proposed hooks precede the new account throttle.** |
| + **Plan says:** home fill before the meter; local catch before gzip. |
| + **Code has:** `planThrottleAdmit` at `edge.go:1861`, deliberately before cached delivery because hits still consume bandwidth. Both proposed hooks return before it. See [edge.go:1857](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/edge.go:1857). |
| + **Smallest correction:** amend hook ordering/admission so caught local deliveries preserve account throttling and refusal metering. Task 6 also needs an explicit decision for far hits: they bypass the home entirely, and `HostAssets` does not supply the route kind that the current throttle checks. |
| + |
| +9. **The cited insertion points moved.** |
| + **Plan says → current code:** |
| + - Import gate `1635–1637` → `1701–1703`. |
| + - Meter wrapper around `1665` → `1731–1733`. |
| + - Observer defer `1668–1686` → `1743–1752`. |
| + - Upgrade branch ending around `1729` → `1818`. |
| + - Gzip around `1742` → `1831–1836`. |
| + - Registry poll around `2324` → `Watch`, `2428`, ticker `2437`. |
| + |
| + See [edge.go:1699](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/edge.go:1699). |
| + **Smallest correction:** replace these anchors and account for findings 7–8. The observer defer now also calls `observeRecords`; suppress billing specifically rather than accidentally suppressing every observer. `cookiescope.go:76` remains correct. |
| + |
| +**Task 6 — Far fills** |
| + |
| +10. **`backhaulAcquire` changed signature and refusal semantics.** |
| + **Plan consumes:** the earlier box-only slot acquisition. |
| + **Code has:** |
| + `backhaulAcquire(box, clientKey string) (releaseSlot func(), ok bool, shed bool)`. |
| + `shed` means a client fair-share refusal, answered 429; box saturation is answered 503 with `Retry-After: 2`. See [edge.go:2943](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/edge.go:2943). |
| + **Smallest correction:** use `e.backhaulClientKey(r)` from the initiating request and preserve both refusal branches, following [edge.go:3086](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/edge.go:3086). Passing an empty key unconditionally would disable fair sharing. |
| + |
| +11. **Far-hook references moved.** |
| + **Plan says → current code:** |
| + - Door caller `1454–1458` → `1520–1523`. |
| + - `acceptHop` call `1503` → `1569`. |
| + - Exact-remote precedence `1526–1530` → `1592–1595`. |
| + - Lookup-miss backhaul `1561` → `1627`. |
| + |
| + See [edge.go:1569](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/edge.go:1569). |
| + **Smallest correction:** update anchors, retaining both hop/door exclusions. Current forwarding implementations are `backhaul:3042`, `backhaulTo:3060`, `backhaulTransport:3151`; `acceptHop` itself is in `homemap.go:1211`. `fakeHomeEdge` remains at `homemap_test.go:709`. |
| + |
| +`UsageMeter.Record(route, requests, bytes, hopped)` remains compatible with the proposed owner-attributed far-edge call. |
| + |
| +**Task 7 — Arming and sweep** |
| + |
| +12. **The ready hook cannot obtain the existing policy as described.** |
| + **Plan says:** host changes only arm the store and hand plan 1’s policy to `EnableAssetCache`, modifying `agent.go`. |
| + **Code has:** the policy is a local variable created inside `edgesFileLoop`; its snapshot is populated by that loop’s writer. See [edgesfile.go:948](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/host/edgesfile.go:948) and [edgesfile.go:685](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/host/edgesfile.go:685). |
| + **Smallest correction:** add explicit, concurrency-safe sharing of that policy with the edge and expand the file list accordingly. Constructing a second policy in the ready hook would leave it without writer-produced snapshots. The ready callback is now `agent.go:927–984`; existing `servingBuildOf` wiring is at `agent.go:836` and `1037`. |
| + |
| +13. **Before the first home-map read, ordinary forwarding is not guaranteed.** |
| + **Plan says:** the warm-store/new-map test expects far requests to forward. |
| + **Code has:** a new map is empty; `AssetsFor` refuses and `Home` has no destination. Normal handling reaches the unknown-host response/fallback. See [homemap.go:341](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/homemap.go:341) and [edge.go:1627](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/edge.go:1627). |
| + **Smallest correction:** assert “no disk response; ordinary unresolved-host behavior” before the first successful hosts refresh, then test forwarding/catching after that refresh. |
| + |
| +Other consumed APIs match: |
| + |
| +- `Open(Config) (*Store, error)`; `Config{Dir, Budget, FS, Now}`. |
| +- `Statfs` is an `FS` value: call `Statfs.Space(dir)`, not `Statfs(dir)`. |
| +- `DefaultBudget(total uint64) int64`. |
| +- `Retain(func(Key) bool) int`, implemented in `evict.go:82`. |
| +- `assetCacheArmed` accepts exactly `"1"`. |
| + |
| +`Open` already enforces a lowered budget through eviction. If necessary deletions fail, it can succeed over budget and refuse fills until room becomes available; it does not necessarily return an opening error. See [store.go:108](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/assetcache/store.go:108). |
| + |
| +**Task 8 — Owner/generation changes** |
| + |
| +No additional drift. The real authority table already exists at `internal/host/assetpublish_test.go:1208`. Edge tests using fake `LocalAssets` remain appropriate; production-policy changes must follow the snapshot advancement described in finding 3. The cited host-to-edge import remains at `agent.go:184`. |
| + |
| +**Task 9 — Acceptance** |
| + |
| +14. **The golden entry needs explicit clock handling.** |
| + **Plan says:** use the golden host entry in live two-edge fixtures. |
| + **Code has:** a fixed `assets.at = 1792832400`, plus owner `abc/shop` and generation `0123456789abcdef`. With ordinary current clocks, that entry is stale. See [assets-host.golden.json:1](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edgesfile/testdata/assets-host.golden.json:1). |
| + **Smallest correction:** specify matching asset/store test clocks, or explicitly rebase only the fixture timestamp after reading the golden. Keep hop-authentication clocks coherent with the real `acceptHop` clock. |
| + |
| + Preserve the complete host object when embedding it: `edgesfile.Host.Assets` is `*edgesfile.HostAssets{Paths, Gen, At int64}`, but `edgesfile.Host` itself has no account/app fields and is documented as unsuitable for publication round-tripping. The edge’s `edgesHostView` does carry those owner fields. |
| + |
| +15. **The generation-routing reference moved.** |
| + **Plan says:** generation selection is at `edge.go:740–748`. |
| + **Code has:** the socket arm at `784`, with `e.gens != nil && Kind == "instance" && Hibernate` at `791–792`. See [edge.go:784](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/edge/edge.go:784). |
| + **Smallest correction:** update the reference. The planned fixture change remains necessary. |
| + |
| +The other fixture references remain correct: `newBackhaulScene:380`, service-route construction `:267`, `genActivator:16`, and `startGenApp:131`. Generation response stamping remains at `genproxy.go:298–304`; compression, shared-cache, and generation-proxy implementations have not changed since the plan-2 merge. |
| + |
| +**Task 10 — Docs, census, merge** |
| + |
| +16. **The census procedure is outdated.** |
| + **Plan says:** use `rev3=PROPOSED-edge-asset-cache-3`, hand-write overlays, and classify newly flagged units as accepted legacy. |
| + **Code has:** `make census-card` and `make census-propose`; generated rows use `rev3=census-ruling-<NAME>`. New units/read kinds are decisions, not automatic legacy approvals. See [census_propose_test.go:3](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/internal/provision/census_propose_test.go:3) and [Makefile:30](/home/paulca/amadan.net/carlos/platform-edge-asset-cache-3/Makefile:30). |
| + **Smallest correction:** use the current classification/proposal workflow, obtain independent approval for approvable changes, and send decisions to the census owner. Derive affected units from the actual diff, including additional host wiring from finding 12. |
| + |
| +The docs built-row additions remain necessary. `route53dns.go:25` still supports the provider-test exception stated in the plan. |
| + |
| +**Task 11 — Dev acceptance** |
| + |
| +No consumed-interface drift found. Declaration/deployment commands now exist; serving and arming remain unimplemented. |
| + |
| +**Work already supplied by plans 1 or 2** |
| + |
| +No whole plan-3 task can be removed. These narrower pieces need reuse rather than rebuilding: |
| + |
| +- Task 7’s helper-only arming coverage duplicates `TestUnarmedBoxPublishesNoAssets`; retain tests of the new store/edge wiring. |
| +- First-read and freshness enforcement already live in `AssetsFor` and the settled local snapshot. Retain the warm-disk integration tests. |
| +- Startup budget trimming, fill bounds, reservation/floor enforcement, gzip creation, leases, and retention already belong to `assetcache`. |
| +- Task 9 can reuse `assetsGolden` and `goldenAt` from `homemap_assets_test.go`; the golden and writer pin already exist. |
| + |
| +drift: 16 items |
| \ No newline at end of file |