carlos / platform Public

instance policy census: Astra's review (PM-2)

Round 1 on 62434615: approvals 43 approve, 11 escalate (owner decisions);
decisions 64 accept, 4 fix-basis, 5 escalate; inventories 14 approve; a P1
defect (generation start EROFS under ProtectSystem=strict) and a P2 gap
(instances list lacks SIZE). Round 2 on c340d94e: the four fix-basis items
resolved. Overall HOLD for the census owner's decisions and the P1 fix.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev a47cbc08ef42162c1a7706f91440573e83aad7b5 parent c340d94
1 file changed, +260 −0
  • docs/superpowers/notes/census-review-instance-egress-sizes-328-329.md +260 −0
diff --git a/docs/superpowers/notes/census-review-instance-egress-sizes-328-329.md b/docs/superpowers/notes/census-review-instance-egress-sizes-328-329.md
new file mode 100644
index 000000000..f18fa6799
--- /dev/null
+++ b/docs/superpowers/notes/census-review-instance-egress-sizes-328-329.md
@@ -0,0 +1,260 @@
+# Census review: instance-egress-sizes-328-329
+
+Reviewer: **Astra, OpenAI via codex**
+Tip: **62434615** (`624346150fc1e4f893fd2e508838a516f0b06556`)
+Date: **2026-10-26**
+Scope: `origin/main...HEAD`, merge base `7f79385e`; both census overlays, all 18 envelopes, the hand-written inventories, spec, plans and supplied flags.
+
+Read-only source review. No files changed and no tests run. The two subsequent commits on `origin/main` are outside this review.
+
+## Summary
+
+| Set | APPROVE / ACCEPT-AS-WRITTEN | FIX-BASIS | ESCALATE |
+|---|---:|---:|---:|
+| Approval units, 36 | 29 | — | 7 |
+| Envelopes, 18 | 14 | — | 4 |
+| **Approval total, 54** | **43** | — | **11** |
+| **Decision rows, 73** | **64** | **4** | **5** |
+| Inventory entries, 14 | 14 | — | 0 |
+
+**Overall verdict: HOLD. Record the owner decisions and correct four bases before accepting the census; fix the generation-start EROFS defect before landing.**
+
+The escalations include intentional, bounded changes that the spec already describes. They require a census-owner decision because they expand root’s inputs or weaken an existing refusal. They are not all implementation defects.
+
+## Approval units
+
+Paths below are repository-relative. Evidence references identify the reviewed implementation, including dependencies where the direct read sites did not change.
+
+| Unit | Class | Verdict | Evidence |
+|---|---|---|---|
+| `cmd/console/main.go:serve` | body | APPROVE | Console-user worker and lease wiring; existing configured paths. `cmd/console/main.go:306`. |
+| `internal/activator/opset.go:Service.releasable` | body | APPROVE | Adds an outstanding-resize condition to the termination proof. Strengthens retention. `internal/activator/opset.go:696`. |
+| `internal/cgroup/cgroup.go:setupAt` | body | APPROVE | Replaces `"supervise"` with an equal constant; same agent delegation operation. `internal/cgroup/cgroup.go:326`. |
+| `internal/console/apicli.go:Server.handleAPICreateApp` | body | APPROVE | New policy-clear and writer-lease refusal responses; no new privileged read. |
+| `internal/console/apiinstances.go:Server.handleAPIInstanceList` | body | APPROVE | Adds member egress projection, checked against the reported account and app. `internal/console/apiinstances.go:829`. |
+| `internal/console/apisystemupdate.go:Server.systemBoxes` | body | APPROVE | Existing fleet lookup extracted into `systemFleets`; same configured registry and error handling. `internal/console/apisystemupdate.go:270`. |
+| `internal/console/store.go:Store.PurgeAppRow` | body | APPROVE | Adds name locking and an in-memory freed counter around existing console SQL. |
+| `internal/console/store.go:Store.migrate` | body | APPROVE | Adds the console’s policy-revision table migration. |
+| `internal/console/store.go:Store.renameAppIn` | body | APPROVE | Existing SQL, with freed-name counters after commit. |
+| `internal/console/store.go:newStore` | body | APPROVE | Initializes in-memory name locks. |
+| `internal/edge/storedoor.go:storeDoor.serveObject` | body | APPROVE | Absence marker follows successful ACL admission and applies only to the caller’s policy key. `internal/edge/storedoor.go:166`. |
+| `internal/fleetapi/fleetapi.go:store.Get` | body | APPROVE | Unmarked policy 404 becomes a refusal, preventing an authorization failure from becoming policy absence. |
+| `internal/fleetapi/fleetapi.go:store.Open` | body | APPROVE | Same stricter absence interpretation as `Get`. |
+| `internal/host/agent.go:runAgent` | body | APPROVE | New readers run in the agent; root independently handles control requests. Policy cache, resize source and status wiring preserve that identity. `internal/host/agent.go:466`. |
+| `internal/host/claimstop_run.go:RunInstanceControl` | body | **ESCALATE** | Claims-off wiring introduces root’s egress decision from agent-written policy columns. Claims-on wiring closes allows. `internal/host/claimstop_run.go:35`; `internal/host/egress_source.go:232`. |
+| `internal/host/claimunit_migrate_kernel.go:claimPredecessorKernel.capture` | body | **ESCALATE** | Previously forbidden drop-ins now permit the trusted nudge. This narrows the recorded E2 refusal. `internal/host/claimunit_migrate_kernel.go:51`. |
+| `internal/host/claimunit_production.go:bindProductionClaimUnits` | body | APPROVE | Passes the claims asserter into the existing launch objects. That source grants no allow and adds a start refusal on failure. `internal/host/claimunit_production.go:34`. |
+| `internal/host/edgesfile.go:edgesFileLoop` | body | APPROVE | Agent reads its own memory total and local address inventory for reporting. `internal/host/edgesfile.go:996`. |
+| `internal/host/edgesfile.go:edgesFileWriteClaims` | body | APPROVE | Publishes local addresses through the existing gated report; no root execution decision added here. `internal/host/edgesfile.go:521`. |
+| `internal/instancectl/claimunit.go:ClaimUnits.start` | body | **ESCALATE** | Egress assertion adds a refusal, but the reached tier validator expands from two limits to four. Retained E2 launch authority needs the widened bound recorded. `internal/instancectl/claimunit.go:68`, `internal/instancectl/claimunit.go:136`. |
+| `internal/instancectl/gen.go:Server.handleParent` | body | **ESCALATE** | Its dependency now accepts single sizes and pair sums up to 4 GiB. The lock is safe; the expanded root validation domain is a decision. `internal/instancectl/gen.go:702`; `internal/cgroup/gen.go:65`. |
+| `internal/instancectl/server.go:runWithClaim` | body | **ESCALATE** | Starts the new privileged egress loop and supplies its production command runner. Unchanged direct sites do not settle the newly reached reads and effects. `internal/instancectl/server.go:254`, `internal/instancectl/server.go:315`. |
+| `internal/instancectl/server.go:type Server` | body | APPROVE | Field declarations only. Runtime uses are reviewed separately. |
+| `internal/registry/registry.go:Registry.Upsert` | body | APPROVE | Three columns follow the existing tenant-change rule; same-tenant empty values preserve state, while explicit clearing uses `SetPolicy`. E3 ownership logic remains. `internal/registry/registry.go:1285`. |
+| `internal/registry/registry.go:Registry.migrate` | body | APPROVE | Three additive text columns, using the existing idempotent migration loop. |
+| `internal/status/snapshot.go:CollectBox` | body | APPROVE | Copies egress and size figures into private metrics. |
+| `status_instances.go:printStatusLayout` | body | APPROVE | Operator-side formatting only. |
+| `internal/activator/backend_exec.go:ExecBackend.tier` | sites | APPROVE | Agent wraps the existing base-tier choices with `SizedLimit`; root’s wider acceptance is escalated separately. |
+| `internal/activator/genbackend.go:ExecBackend.GenTier` | sites | APPROVE | Same agent-side sizing wrapper; existing staged-manifest read remains. `internal/activator/genbackend.go:284`. |
+| `internal/host/agent.go:statusLoop` | sites | APPROVE | Added whole-route uses feed private reports through the control socket and activator state. `internal/host/agent.go:4290`. |
+| `internal/host/claimunit_effective.go:claimEffectiveUnit` | sites | **ESCALATE** | Adds an indirect trusted-file read and allows an additional drop-in beyond the recorded reservation-only rule. `internal/host/claimunit_effective.go:135`, `internal/host/claimunit_effective.go:282`. |
+| `internal/host/claimunit_inputs.go:claimBoundSnapshot` | sites | **ESCALATE** | Root also reaches this snapshot; its limit now follows agent-written `Route.Size`. `internal/host/claimunit_inputs.go:74`; `internal/host/claimproduction.go:184`, `internal/host/claimproduction.go:568`. |
+| `internal/host/layoutleg.go:layoutStatusReport` | sites | APPROVE | New host use feeds agent-side cgroup read-back and formatting, retaining H3 no-effect status. `internal/host/layoutleg.go:182`. |
+| `internal/registry/remote.go:serveRemote` | sites | APPROVE | `List` extends the legacy read service, not E2’s `ArtifactHosts` authority. Worker remains unprivileged, read-only and write-refusing. The appended basis names the extension. `internal/registry/remote.go:233`, `internal/registry/remote.go:280`; `internal/registry/readonly.go:17`. |
+| `internal/host/changeindex.go:movedRoutes` | removed | APPROVE | Declaration deleted; predicate remains covered as `movedAppSet.route`, used by the scoped pass. No root check disappears. `internal/host/changeindex.go:207`, `internal/host/changeindex.go:260`. |
+| `internal/instancectl/peer_linux.go:probeFixturesOK` | removed | APPROVE | Renamed to `ProbeFixturesOK`, preserving fixture checks and production wiring. The removal overlay contains the real ruling name. `internal/instancectl/peer_linux.go:166`; `internal/instancectl/server.go:275`. |
+
+## Envelopes
+
+| Package | Verdict | Evidence |
+|---|---|---|
+| `.` | APPROVE | CLI policy requests use console authentication and ETag conditions; added status code formats responses. No new privileged box reader. `apps_policy.go:244`; `apimode.go:879`. |
+| `cmd/console` | APPROVE | Console-user lease, shutdown and reporting-worker wiring. |
+| `internal/activator` | **ESCALATE** | Most additions are agent-only, but exported `SizedLimit` also runs in root’s claim snapshot. Its new registry-size input cannot be covered by an agent-only basis. `internal/activator/size.go:25`; `internal/host/claimunit_inputs.go:74`. |
+| `internal/apppolicy` | APPROVE | Domain-separated signature verification, account/app binding, expiry and bounded policy vocabulary; writes use policy keys rather than instance-record keys. |
+| `internal/cgroup` | **ESCALATE** | Shared table widens strict validators and parent limits. Exact values match the spec, but old two-tier validation is relaxed. `internal/cgroup/strict_linux.go:217`; `internal/cgroup/strict_gen_linux.go:162`; `internal/cgroup/gen.go:65`. |
+| `internal/console` | APPROVE | Operator gates and empty service-role sets protect policy doors; lease, CAS, audit, revision tracking and name-incarnation checks constrain writes. Console SQL remains console-user work. `internal/console/authcli.go:950`; `internal/console/apipolicy.go:465`. |
+| `internal/edge` | APPROVE | Policy GET and ETag listing are scoped to the authenticated fleet account; write ACL remains unchanged. Absence is disclosed only after read admission. `internal/edge/storedoor.go:166`, `internal/edge/storedoor.go:332`. |
+| `internal/edgesfile` | APPROVE | Address and memory-total report fields; no privileged interpreter introduced. |
+| `internal/egressaddr` | APPROVE | Pure address parsing and filtering; no privileged reads. |
+| `internal/fleetapi` | APPROVE | Account-scoped policy listing and stricter missing-object semantics; agent identity. |
+| `internal/host` | **ESCALATE** | New root egress source and rail reads, widened root claim sizing, and narrowed E2 drop-in refusals. `internal/host/egress_source.go:232`; `internal/host/egress_rail_linux.go:28`; `internal/host/claimunit_effective.go:135`; `internal/host/claimlaunch_root.go:163`. |
+| `internal/hostops` | APPROVE | Exact policy-key classification adds an app-scoped mutation; malformed keys remain unclassified. `internal/hostops/mutation_classifier.go:213`. |
+| `internal/instancectl` | **ESCALATE** | Root now applies policy-derived allows and wider resource choices; indirect nudge reads reach retained E2 checks. Cleanup also has the separate EROFS defect. `internal/instancectl/egress.go:317`; `internal/instancectl/server.go:626`; `internal/instancectl/size.go:200`. |
+| `internal/provision` | APPROVE | Policy verification and convergence run in the agent. Existing record-write, hold and lifetime checks remain; the `forRow` basis needs the correction below. `internal/provision/apppolicy_reconcile.go:205`; `internal/provision/reconcile.go:933`. |
+| `internal/registry` | APPROVE | Additive columns, consistent bind/scan order, preserved tenant rules, service-user parsing and read-only `List`. New root interpretation is in `host`, not SQLite. `internal/registry/registry.go:1030`, `internal/registry/registry.go:1389`; `internal/registry/remote.go:280`. |
+| `internal/release` | APPROVE | Adds policy-key classification and purge cleanup through the existing store and mutation mechanisms. |
+| `internal/status` | APPROVE | Private report fields and copies only. |
+| `internal/updatewords` | APPROVE | CLI wording only. |
+
+## Decision rows
+
+`ACCEPT` below means **ACCEPT-AS-WRITTEN**, as a recommendation to the census owner. “New” denotes the new-unit rows, not a claim that every operation inside them is new.
+
+| Unit | Kind | Recommendation | Evidence |
+|---|---|---|---|
+| `apimode.go:apiSession.sendJSONHeader` | new | ACCEPT | Existing bounded console-response read extracted into an operator-CLI helper. |
+| `apps_policy.go:apiSession.policyAccount` | new | ACCEPT | CLI account lookup and in-memory matching. |
+| `internal/activator/containment.go:ExecBackend.ResizeLive` | new | ACCEPT | Agent sends validated size name and host to root; CPU/IO only. `internal/activator/containment.go:419`. |
+| `internal/activator/containment.go:ExecBackend.liveSizeControl` | new | ACCEPT | Restricts the operation to nested layout and a supporting client. |
+| `internal/activator/genbackend.go:SplitBackend.ResizeLive` | new | ACCEPT | Agent dispatch to the size-capable exec backend. |
+| `internal/activator/genbackend.go:SplitBackend.sizeExec` | new | ACCEPT | Refuses unit-backed rows. `file:Exec` is a struct-field false positive. `internal/activator/genbackend.go:369`. |
+| `internal/activator/size.go:EffectiveSize` | new | ACCEPT | Agent-side tier lookup and table mapping. |
+| `internal/activator/size.go:Service.SizeState` | new | ACCEPT | Locked activator snapshot followed by wanted-size calculation. |
+| `internal/activator/size.go:Service.retrySizeLocked` | new | ACCEPT | Agent scheduling and in-memory state; resize operation remains tracked. |
+| `internal/activator/size.go:Service.sizeEligibleLocked` | new | ACCEPT | Narrows eligibility; no root read. |
+| `internal/activator/size.go:Service.sizePass` | new | ACCEPT | Agent registry re-read, pending-size tracking and CPU/IO-only success comparison. `internal/activator/size.go:235`. |
+| `internal/activator/size.go:Service.sizedRouteLocked` | new | ACCEPT | Copies the wake route and substitutes pending size without changing captured runtime state. |
+| `internal/activator/size.go:SizedLimit` | new | **FIX-BASIS** | Also runs in root’s claim launch path; “agent” and “no root decision” are incomplete. `internal/activator/size.go:25`; `internal/host/claimproduction.go:184`; `internal/host/claimunit_inputs.go:74`. |
+| `internal/activator/size.go:genUnitOf` | new | ACCEPT | Agent-side generation selection; no privileged operation. |
+| `internal/activator/size.go:sizedDefault.GenTier` | new | ACCEPT | Agent fallback backend’s pure sizing wrapper. |
+| `internal/console/apisystemupdate.go:Server.systemFleets` | new | ACCEPT | Existing configured-registry lookup extracted from `systemBoxes`. |
+| `internal/console/apppolicy_names.go:Store.AppIncarnationContext` | new | ACCEPT | Console SQL plus name-generation state to detect replacement during a write. |
+| `internal/console/apppolicy_names.go:Store.HasAppPolicyRevisionContext` | new | ACCEPT | Console-owned policy-revision table. |
+| `internal/console/apppolicy_store.go:Store.AppPolicyRecordContext` | new | ACCEPT | Console’s signed-policy revision record. |
+| `internal/console/apppolicy_store.go:Store.AppPolicyRowsContext` | new | ACCEPT | Console-owned rows for re-signing and reporting. |
+| `internal/console/apppolicy_store.go:Store.claimRawAdoptAppPolicy` | new | ACCEPT | App-admitted SQL; revision does not decrease. |
+| `internal/console/apppolicy_store.go:Store.claimRawRecordAppPolicy` | new | ACCEPT | App-admitted SQL; new revision must exceed the recorded revision. |
+| `internal/console/apppolicy_store.go:Store.claimRawResignAppPolicy` | new | ACCEPT | Replaces bytes only at the expected revision. |
+| `internal/console/apppolicy_store.go:Store.claimRawSyncedAppPolicy` | new | ACCEPT | Publication acknowledgment is revision-conditional. |
+| `internal/console/apppolicy_store.go:Store.migrateAppPolicy` | new | ACCEPT | Additive console-table creation. |
+| `internal/console/policysize.go:Server.sizeBoxes` | new | ACCEPT | Console-only capacity decision using account-scoped reports. Basis honestly identifies agent-supplied totals. `internal/console/policysize.go:84`. |
+| `internal/console/store.go:Store.moveApp` | new | ACCEPT | Existing SQL body moved under name-locking wrappers. |
+| `internal/edge/storedoor.go:storeDoor.serveETagListing` | new | ACCEPT | Authenticated account determines the allowed prefix; every returned key is checked. `internal/edge/storedoor.go:332`. |
+| `internal/fleetapi/fleetapi.go:store.ListETags` | new | ACCEPT | Agent-side account-scoped HTTP listing; 404 is refusal, not absence. |
+| `internal/host/changeindex.go:movedAppSet.route` | new | ACCEPT | Existing scoped-route predicate, with its former declaration retired. |
+| `internal/host/claimunit_effective.go:var readClaimInstanceTemplate` | new | **FIX-BASIS** | Extracted E2 trust-anchor read remains part of E2’s exact-template proof. Shelving claims does not make it J4 legacy. `internal/host/claimunit_effective.go:45`, `internal/host/claimunit_effective.go:68`. |
+| `internal/host/egress_nudge.go:egressNudger.pass` | new | ACCEPT | Agent sends host-only promptness requests; root chooses the policy from its source. |
+| `internal/host/egress_nudge.go:egressNudger.tick` | new | ACCEPT | Agent’s own registry fingerprint and list. |
+| `internal/host/egress_rail.go:registryWritableByOthers` | new | ACCEPT | Fixed registry filenames; `Lstat` refuses symlinks before any target metadata is read. The check can only close the allow. `internal/host/egress_rail.go:206`. |
+| `internal/host/egress_rail_linux.go:agentSubtreeOthers` | new | **ESCALATE** | New root traversal of agent-named delegated cgroup directories. Kernel-only contents bound it, but “refusal only” does not eliminate the new read. Exemptions also limit the rail’s proof. `internal/host/egress_rail_linux.go:28`, `internal/host/egress_rail_linux.go:50`. |
+| `internal/host/egress_rail_linux.go:cgroupPopulated` | new | **ESCALATE** | Root reads `cgroup.events` beneath a directory named in the agent’s delegated subtree. Requires acceptance of that bounded new input. `internal/host/egress_rail_linux.go:86`. |
+| `internal/host/egress_source.go:boxWhollyNested` | new | **ESCALATE** | Root queries agent-selected unit names and host-derived journal names. Host traversal is fixed and unit arguments are constrained, but these remain new root inputs. `internal/host/egress_source.go:70`, `internal/host/egress_source.go:77`, `internal/host/egress_source.go:93`, `internal/host/egress_source.go:296`. |
+| `internal/host/egress_source.go:registryEgressHosts` | new | ACCEPT | Service-user read-only parser supplies candidate hosts; validation and collision handling precede slice use. A candidate grants no allow. `internal/host/egress_source.go:376`, `internal/host/egress_source.go:388`; `internal/instancectl/egress.go:889`. |
+| `internal/host/egress_source.go:registrySource.policyFrom` | new | **ESCALATE** | Honest about root deciding from agent-written columns, but this creates new firewall authority. Bounds do not prove a signed operator grant. Owner must accept the pre-claim trust explicitly. `internal/host/egress_source.go:232`, `internal/host/egress_source.go:268`; `internal/instancectl/egress.go:625`. |
+| `internal/host/egress_source.go:registrySource.snapshot` | new | ACCEPT | Read-only parsing remains in the service-user child; generation ordering prevents an older completed read replacing a newer one. `internal/host/egress_source.go:179`, `internal/host/egress_source.go:376`. |
+| `internal/host/egress_source.go:systemctlOutput` | new | **ESCALATE** | Root command wrapper reaches the new agent-selected unit query and policy-derived firewall effects. Arguments are constrained at callers, but the new reached authority needs the same decision. `internal/host/egress_source.go:300`, `internal/host/egress_source.go:369`; `internal/instancectl/egress.go:317`. |
+| `internal/host/egress_status.go:egressStatusProbe` | new | ACCEPT | Agent report; mismatched account/app reports are discarded. |
+| `internal/host/sizestatus.go:readSizeInForce` | new | ACCEPT | Agent reads kernel cgroup memory state for display; no root operation. |
+| `internal/host/sizestatus.go:sizeCommittedMiB` | new | ACCEPT | Basis correctly says wanted sizes from activator state; informational report. |
+| `internal/instancectl/egress_cgroup_linux.go:populatedHostSlices` | new | ACCEPT | Enumerates the root-owned systemd slice tree and kernel population files. Unmapped slices are closed. `internal/instancectl/egress_cgroup_linux.go:20`. |
+| `internal/instancectl/egress_cgroup_linux.go:sliceRunningServices` | new | ACCEPT | Reads systemd-created service cgroups under a bounded host slice. Instance units cannot create siblings; command callers reject leading `-`. `internal/instancectl/egress_cgroup_linux.go:54`. |
+| `internal/instancectl/egress_dropin.go:EgressAsserter.sliceAllowOnDisk` | new | ACCEPT | Trusted fixed-tree read; malformed, unreadable or nonempty evidence refuses a start. `internal/instancectl/egress_dropin.go:73`. |
+| `internal/instancectl/egress_dropin.go:TrustedDropinReader.Read` | new | ACCEPT | Components constrained and delegated to the trusted opener. `internal/instancectl/egress_dropin.go:46`. |
+| `internal/instancectl/egress_dropin.go:TrustedDropinReader.ReadPath` | new | ACCEPT | Clean absolute path must have exactly the expected control-tree shape. Claim caller separately requires the rebuilt nudge path. `internal/instancectl/egress_dropin.go:56`; `internal/host/claimunit_effective.go:273`. |
+| `internal/instancectl/egress_dropin_linux.go:readTrustedDropin` | new | ACCEPT | Component-by-component no-follow opens; trusted directories, regular single-link file, bounded read. `internal/instancectl/egress_dropin_linux.go:22`. |
+| `internal/instancectl/egress_dropin_linux.go:trustedFD` | new | ACCEPT | Checks opened inode kind, owner, write bits and file link count. `internal/instancectl/egress_dropin_linux.go:74`. |
+| `internal/instancectl/egress_due.go:EgressAsserter.loadDueLocked` | new | ACCEPT | Root-only due directory; regular entries and slice-name validation. Unknown content chooses the stronger revoke duty. `internal/instancectl/egress_due.go:117`. |
+| `internal/instancectl/egress_due.go:EgressAsserter.persistDueLocked` | new | ACCEPT | Root-owned state, bounded slice name, beneath a parent the agent cannot write. Basis discloses the symlink-following open. `internal/instancectl/egress_due.go:60`. |
+| `internal/instancectl/egress_due.go:ensureDueDir` | new | ACCEPT | Existing-directory trust rests on the root-owned, non-group-writable parent; basis accurately states the missing owner/mode recheck. `internal/instancectl/egress_due.go:98`; `internal/host/bootstrap.go:104`. |
+| `internal/instancectl/peer_linux.go:ProbeFixturesOK` | new | ACCEPT | Renamed fixture check; same fixed paths and refusal conditions. `internal/instancectl/peer_linux.go:166`. |
+| `internal/instancectl/size.go:Server.handleSize` | new | ACCEPT | Basis accurately records the approved agent choice among four rows. Peer admission remains; host shape checked; memory/gen parameters refused; only CPU/IO written. `internal/instancectl/size.go:46`, `internal/instancectl/size.go:63`. |
+| `internal/instancectl/size.go:Server.handleSizeReadBack` | new | ACCEPT | Validated host maps to a derived slice; reads four properties under the slice lock. No generation or `cgroup.events` read. `internal/instancectl/size.go:91`, `internal/instancectl/size.go:104`. |
+| `internal/instancectl/size.go:Server.removeGenControlDropIn` | new | ACCEPT | Census boundary is bounded: canonical generation name, fixed root-owned directory, no symlink traversal by removal. Runtime writability is defective separately. `internal/instancectl/size.go:157`, `internal/instancectl/size.go:182`. |
+| `internal/provision/apppolicy_reconcile.go:policyPass.forRow` | new | **FIX-BASIS** | Known verified policy can replace or grant columns. “Can only keep or clear, never grant” describes only the unknown-policy fallback. `internal/provision/apppolicy_reconcile.go:205`. |
+| `internal/provision/apppolicy_reconcile.go:rowPolicyExpiry` | new | ACCEPT | Agent-side decimal timestamp parse. |
+| `internal/registry/registry.go:Registry.SetPolicy` | new | ACCEPT | Basis honestly describes an unvalidated SQL setter, its agent caller and remote-mode restrictions. `internal/registry/registry.go:2242`; `internal/provision/reconcile.go:933`. |
+| `internal/activator/swap.go:Service.swapOverlap` | reads | ACCEPT | Agent uses pending size and captured incumbent tier; resize admission is serialized. Root bounds are reviewed separately. `internal/activator/swap.go:527`. |
+| `internal/provision/reconcile.go:Reconcile` | reads | ACCEPT | Agent verifies policy and fills registry columns; record/lifetime ownership remains. |
+| `internal/provision/reconcile.go:convergeOwned` | reads | ACCEPT | Agent compares and atomically updates the policy columns; dry-run remains non-mutating. |
+| `internal/provision/reconcile.go:mintHeld` | reads | ACCEPT | Columns added to the minted row; hold and lifetime-pair rules retain C authority. |
+| `internal/provision/seedswap.go:swapImport` | reads | ACCEPT | Policy columns added before import; journal, predicates, transaction and record CAS remain. |
+| `internal/registry/registry.go:Registry.List` | reads | ACCEPT | Read-only handles retain `mode=ro` and `query_only`; production egress callers open and close a handle per listing. `internal/registry/registry.go:1030`; `internal/host/egress_source.go:376`. |
+| `internal/registry/registry.go:routeArgs` | reads | ACCEPT | Three new bound values; E3 retained and bind order matches the schema. |
+| `internal/registry/registry.go:scanRoute` | reads | ACCEPT | Matching three-column decode; service-user parser identity retained. |
+| `internal/registry/remote_dispatch.go:Registry.dispatchRemote` | reads | ACCEPT | New setter arm remains unreachable through the read-only worker. `internal/registry/remote.go:280`; `internal/registry/remote_dispatch.go:134`. |
+| `apimode.go:apiSession.sendJSON` | H3 retirement | ACCEPT | Declaration remains as a wrapper; bounded response read is covered by `sendJSONHeader`. |
+| `internal/console/store.go:Store.MoveApp` | H3 retirement | ACCEPT | Declaration remains as a locking wrapper; SQL body is covered by `Store.moveApp`. |
+| `@fields` | fields | **FIX-BASIS** | Include root’s claim-mode consumption of `Size`, not only root’s egress fields and the agent activator. `internal/host/claimunit_inputs.go:74`; new overlay line 143. |
+
+## Hand-written inventories
+
+### Record-write census
+
+All nine entries are approved. The harness now selects the layered inventory without removing the existing policy checks.
+
+| Entry | Verdict | Evidence |
+|---|---|---|
+| `Server.handleAPIInstanceList` | APPROVE | Existing instance-key site; new member report adds no write. |
+| `Server.registerCLIRoutes` | APPROVE | New policy routes do not add an instance-record writer. `internal/console/authcli.go:950`. |
+| `storeDoor.serveObject` | APPROVE | Existing `Put` transport remains; new behavior concerns an authorized GET absence response. |
+| `ClassifyMutation` | APPROVE | Dispatches exact policy keys to their own classifier. |
+| `Reconcile` | APPROVE | Policy reads and registry writes do not create a new instance-record write. |
+| `mintHeld` | APPROVE | Policy columns belong to the registry row; record-key site unchanged. |
+| `swapImport` | APPROVE | Existing `SetRecordSeed` writer remains classified and covered. |
+| `apppolicy.PutWire` | APPROVE | Writes only `control/app-policy/<account>/<app>.json`. `internal/apppolicy/apppolicy.go:189`. |
+| `classifyAppPolicy` | APPROVE | Exact key shape and app scope; `Put`/`Delete` names are classification references. `internal/hostops/mutation_classifier.go:213`. |
+
+Inventory evidence: `internal/provision/instance_egress_sizes_census_test.go:43`; harness selection at `internal/provision/plan9_b8_census_test.go:369`.
+
+### Console authority census
+
+| Entry | Verdict | Evidence |
+|---|---|---|
+| `insertClaimAppRow → EnrollNewApp` | APPROVE | Enrollment remains inside the insertion workflow before the admitted mutation. `internal/console/claim_app_enroll.go:88`. |
+| `insertClaimAppRow → claimEnrollmentContext` | APPROVE | Newly enrolled app identity is still bound into the mutation context. `internal/console/claim_app_enroll.go:92`. |
+
+### Console route and worker census
+
+| Entry | Verdict | Evidence |
+|---|---|---|
+| `GET /api/cli/apps/{account}/{app}/policy` | APPROVE | Empty service-role set and `apiSystemRoller`. `internal/console/authcli.go:950`; `internal/console/apipolicy.go:410`. |
+| `PUT /api/cli/apps/{account}/{app}/policy` | APPROVE | Same operator boundary, followed by policy-write checks. `internal/console/authcli.go:951`; `internal/console/apipolicy.go:465`. |
+| `StartEgressReport` | APPROVE | Reporting and conflict notification worker, not a policy writer or root executor. `internal/console/egressfleet.go:271`. |
+
+## Escalations and basis corrections
+
+**Expanded size bounds.** `internal/instancectl/server.go:626`, `internal/instancectl/claimunit.go:68`, `internal/host/claimlaunch_root.go:163`, `internal/host/claimroleassembly.go:122` and `internal/cgroup/gen.go:65` expand accepted individual limits from 512 MiB/1 GiB to 256 MiB/512 MiB/1 GiB/2 GiB, and parent limits to any row or pair sum, at most 4 GiB. This matches spec §5.3, including its explicit compromised-agent allowance. Ruling 12 is also respected: `internal/instancectl/size.go:80` writes CPU and IO only. The implementation does not need an additional signed-policy entitlement check contrary to that ruling. Resolution is to record the approved wider validation domain on #280, including the retained claim path, and update the affected authority bases. An unchanged direct read count does not make the validation relaxation an approval.
+
+**New root egress decision.** `internal/host/egress_source.go:232` turns agent-written allow and expiry columns into root’s desired firewall state, applied at `internal/instancectl/egress.go:317`. Root checks address syntax and permitted ranges, its own addresses, count, expiry and the rail. It does not verify the signed policy or independently enforce its 72-hour lifetime: an agent can supply a far-future expiry. The proposed text is honest about this root decision. “Legacy J1” is defensible only as an explicit acceptance of the pre-claim agent-trust model, not as evidence that no authority was added. The coordinator’s classification is not the census-owner decision. Resolution is Paul’s scoped acceptance on #280 of this trust and its bounds, or a changed source that establishes operator authorization at root. Claims-on continues to close every allow.
+
+**New bounded rail reads.** `internal/host/egress_rail_linux.go:28` and `internal/host/egress_rail_linux.go:86` make root traverse agent-named cgroup directories; `internal/host/egress_source.go:77` and `internal/host/egress_source.go:93` make root query row-selected units and valid host journal names. The `systemctlOutput` recommendation follows these callers and the new egress effects. The kernel filesystem, component-by-component traversal, host validation and unit argument validation bound these reads; I found no remaining traversal or option-injection escape. Nevertheless, they are new root reads selected by agent-controlled names. Resolution is an owner decision accepting these precise bounded inputs. Keep the documented `supervise`, placement-check and `.control` exceptions explicit: this rail does not prove that no agent-user process can hide in an exempt cgroup.
+
+**Narrowed E2 drop-in refusals.** `internal/host/claimunit_effective.go:135` and `internal/host/claimunit_migrate_kernel.go:52` now accept one nudge file where the recorded bases allowed only reservation material or no drop-in. The implementation tightly constrains the exception: rebuilt path, one occurrence, trusted no-follow open, root ownership, non-writable mode, one file link, and exactly `[Service]` plus an empty `IPAddressAllow=` after ignoring comments and blank lines. Effective containment checks remain. This is still a weakened recorded refusal, and the indirect call at `internal/host/claimunit_effective.go:282` matters even though the scanner does not add a site to the authority unit. Resolution is an owner decision amending both E2 bases to name the exception. Shelved claims do not turn retained authority code into an automatic approval.
+
+**FIX-BASIS: `SizedLimit`.** The identity and “no root decision” wording at new-overlay line 30 omit `internal/host/claimproduction.go:184` and `internal/host/claimproduction.go:568`, which reach `internal/host/claimunit_inputs.go:74` in instance control. State that this helper runs both in the agent and, with claims enabled, in root’s bound-launch snapshot; it converts the agent-written size name to a platform limit, with fallback for empty or unknown names. Name the widened root validators and the currently shelved claim mode.
+
+**FIX-BASIS: `@fields`.** New-overlay line 143 correctly names root’s egress readers but omits root’s claim-mode `Size` reader at `internal/host/claimunit_inputs.go:74`. Add that reader and distinguish normal signed-policy convergence from root’s independent guarantees. The fields list itself is complete for these additions.
+
+**FIX-BASIS: `readClaimInstanceTemplate`.** `internal/host/claimunit_effective.go:45` is the extracted trusted template read used by E2’s byte comparison at `internal/host/claimunit_effective.go:68`. Preserve its E2 authority attribution, or obtain an explicit owner reclassification. “Legacy rather than E2 while claims are shelved” is not sufficient: the caller and check remain in the tree. No production reassignment of the test seam was found.
+
+**FIX-BASIS: `policyPass.forRow`.** At `internal/provision/apppolicy_reconcile.go:206`, a known policy returns its columns immediately. Those columns may introduce or replace an allow and size. Change the last sentence of the basis to say that the unknown-policy fallback only preserves existing state or clears expired state; the known-policy branch returns verified policy columns, including grants. The agent identity is correct.
+
+## Other findings
+
+**P1: generation starts fail with EROFS under the shipped service namespace.** Production sets `ControlDropInDir` to `/run/systemd/system.control` at `internal/instancectl/server.go:286`. The service has `ProtectSystem=strict` and grants write access only to `/run/carlos-control` and `/run/systemd/system` at `internal/host/units/carlos-instance-control.service:32` and `internal/host/units/carlos-instance-control.service:35`. The latter does not include its sibling `system.control`. Once the control directory exists, `internal/instancectl/size.go:200` calls `os.RemoveAll` beneath a read-only mount. This can return EROFS even when the generation’s `.d` does not exist: Linux requests mount write access before looking up the final unlink target. `internal/instancectl/gen.go:350` converts that error into a 502 and refuses the binary generation start. Runtime `set-property` can create the directory through PID 1, outside the caller’s restricted mount namespace. This is a source-supported defect, not a live reproduction. Fix the cleanup’s write mechanism or provide a narrowly scoped, correctly provisioned writable path, then test both absent and existing `.d` cases inside the actual service namespace. Merely checking absence first leaves existing-directory cleanup broken. Kernel ordering: [https://raw.githubusercontent.com/torvalds/linux/v6.8/fs/namei.c](https://raw.githubusercontent.com/torvalds/linux/v6.8/fs/namei.c). Namespace semantics: [https://www.freedesktop.org/software/systemd/man/257/systemd.exec.html](https://www.freedesktop.org/software/systemd/man/257/systemd.exec.html).
+
+**P2: `instances list` lacks the specified SIZE column.** Spec §5.6 requires size read-back in both instance listing and layout status. `instances_cli.go:548` adds EGRESS but no SIZE, and `instances_cli.go:652` prints no size value. The API instance shape at `apimode.go:3278` likewise has no size projection. Complete the member-safe API projection and CLI column, or explicitly revise the spec’s scope. This does not change a census verdict.
+
+The remaining supplied flags resolve as follows:
+
+| Flag | Result |
+|---|---|
+| Live memory changes | None found in `/size`; ruling 12 is implemented. Swap/start sizing is separate and bounded. |
+| `/size` shape versus entitlement | Intentional under spec §5.3; the new row states the actual trust. Existing widened validators still require the census decision above. |
+| `sizeExec` `file:Exec` | Struct-field false positive, correctly described. |
+| Host journal path oracle | Fixed: `ValidHostShape` precedes classification and its refusal does not echo the forged path. |
+| Registry symlink mode oracle | Fixed: `Lstat` refuses the link without following its target. |
+| `supervise` and placement-check exemptions | Real, documented pre-claim residuals; included in the rail escalation. |
+| Dead `movedRoutes` | Deleted; surviving predicate has its own row. |
+| Fleet policy-read ACL | Intended own-account extension; no write grant or cross-account listing found. |
+| Policy absence marker | Sent only after read admission; unmarked failures remain refusals. |
+| Fleet-reported memory total | A compromised fleet reporter can overstate its own capacity and loosen the console check for its account. The basis correctly identifies this source; it is not a root-boundary guarantee. |
+| Read-only worker `List` | Appended basis names it; E2’s `ArtifactHosts` authority remains distinct. Writes remain refused. |
+| Possible stale read-only WAL snapshot | No production defect established here: egress opens and closes the read-only handle for each listing. The future long-lived-handle concern does not change this verdict. |
+| Indirect nudge reads | Included through the host and instance-control envelopes; they are not excused by unchanged direct-site counts. |
+| Plan’s generation/cgroup reads for `/size` | Current rows accurately describe the narrower implementation: slice `systemctl show` only; `Query` is URL parsing. |
+| `ensureDueDir` owner/mode check | Existing parent permissions supply the stated trust; no additional agent write path found. |
+| `probeFixturesOK` ruling placeholder | Already corrected in the reviewed overlay; no outstanding placeholder finding. |
+## Round 2 (tip c340d94e)
+
+| Item | Result | Finding |
+|---|---|---|
+| `SizedLimit` | RESOLVED | Basis now identifies root’s claim-mode consumption of agent-written `Size` and the size-table bounds. |
+| `@fields` | RESOLVED | Note now includes root’s `claimBoundSnapshot` reader and distinguishes agent signature verification from root’s checks. |
+| `var readClaimInstanceTemplate` | RESOLVED | Classification restored to `authority E2`; the legacy entry was removed and the exact-template proof retained. |
+| `policyPass.forRow` | RESOLVED | Basis now states that verified policy columns can grant or replace values; only the unknown-policy fallback is limited to preserving or clearing them. |
+
+Confirmed: no other overlay content changed beyond these four items, their associated fingerprints and the header comments. Outside the overlay, only the chain seals and proposal’s seal line changed. No code changed.
+
+**Verdict: All four FIX-BASIS items are resolved; prior escalations remain unchanged for the census owner, and the overall HOLD remains.**
\ No newline at end of file