| index a0a6f6932..2cad90a84 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-instance-egress-sizes-328-329-new.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-instance-egress-sizes-328-329-new.tsv |
| @@ -1,6 +1,7 @@ |
| # Census overlay instance-egress-sizes-328-329-new (#328 per-app egress allow, #329 operator-set instance sizes; spec docs/superpowers/specs/2026-10-21-instance-sizes-and-egress-design.md, plans docs/superpowers/plans/2026-10-21-instance-policy-{1-foundation,2-egress,3-sizes}.md), hand-written: the decisions census-propose refuses (AGENTS.md, The census). Loaded from the chain manifest after plans-6-checkout (main's last at the merge of origin/main 7f79385e) and before plan14-root-reads-instance-egress-sizes-328-329.tsv, which census-propose wrote for the approvals. Every row carries rev3=census-ruling-instance-egress-sizes-328-329 from the start; the census owner rules on #280 (docs/superpowers/notes/census-proposal-instance-egress-sizes-328-329.md, docs/superpowers/notes/census-review-instance-egress-sizes-328-329.md). None is decided here. |
| -# 61 new units, each accepted legacy at the class of the row it mirrors; 9 units re-frozen at the disposition they already have with a new kind of read (the registry's three policy columns, and Registry.List's read-only arm); 2 units retired (H3) whose reads moved into new units of this overlay (apiSession.sendJSON into sendJSONHeader, Store.MoveApp into Store.moveApp); @fields gains EgressAllow, PolicyExpiresAt, Size and readOnly. Frozen declarations are added, so the seal moves; plans-6-checkout's is checked first. |
| +# 61 new units: 60 accepted legacy at the class of the row each mirrors, and one authority E2 (var readClaimInstanceTemplate, claimEffectiveUnit's template read, moved unchanged; Astra's census review); 9 units re-frozen at the disposition they already have with a new kind of read (the registry's three policy columns, and Registry.List's read-only arm); 2 units retired (H3) whose reads moved into new units of this overlay (apiSession.sendJSON into sendJSONHeader, Store.MoveApp into Store.moveApp); @fields gains EgressAllow, PolicyExpiresAt, Size and readOnly. Frozen declarations are added, so the seal moves; plans-6-checkout's is checked first. |
| # Root reads this branch adds (instance control, root): the size verbs (handleSize, handleSizeReadBack: systemctl show and set-property --runtime of the host's own slice, named by SliceName of a validated host; CPU and IO only, ruling 12), the generation unit's control drop-in removal (removeGenControlDropIn, under /run/systemd/system.control), the egress asserter's reads of root's own drop-ins under /run/systemd/system.control (readTrustedDropin: openat with O_NOFOLLOW, root-owned, one link) and of its own due-state directory /run/carlos-control/egress-due, cgroupfs reads of the host slices (populatedHostSlices, sliceRunningServices) and the rail's reads of the agent's delegated cgroup subtree and the registry files' modes (agentSubtreeOthers, registryWritableByOthers). Root's egress source reads the registry, which the agent writes as carlos, through the read-only service-user child: the agent fills the policy columns only from a policy object the console signed, verified with the release key; root does not re-verify the signature and bounds what it applies itself (registrySource.policyFrom's row). |
| +# Fix round 1 (Astra's census review of 62434615): bases corrected for SizedLimit (also root's in the shelved claim mode), policyPass.forRow (a known policy grants), var readClaimInstanceTemplate (E2 authority kept) and the @fields note (root's claim-mode Size reader). |
| # NEW units: each accepted legacy at the class of the row it mirrors (named in its basis). |
| @legacy 826226cd9ac649d6f0078df4ff5d3c11a79d5bfd566a8e58d79a8db4ce6c86f2 apimode.go apiSession.sendJSONHeader legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the operator's carlos CLI on the operator's own machine, as that person (no box unit);basis=root-input (J4, as apiSession.getJSONHeader): new (#328/#329 plan 1 Task 12): the body of the frozen apiSession.sendJSON, which is now its wrapper, byte for byte but for adding the caller's request headers (the policy door's If-Match or If-None-Match) and returning the response headers (the ETag). Its one site is io.ReadAll of the console's HTTP response body under a 1 MiB limit; no file, no box state; decides nothing for root file:ReadAll@843 a51cf571bb55265172cad442e3bfaac54dd9edaff2768902ffcf9d26ceadd815 |
| apimode.go apiSession.sendJSONHeader legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the operator's carlos CLI on the operator's own machine, as that person (no box unit);basis=root-input (J4, as apiSession.getJSONHeader): new (#328/#329 plan 1 Task 12): the body of the frozen apiSession.sendJSON, which is now its wrapper, byte for byte but for adding the caller's request headers (the policy door's If-Match or If-None-Match) and returning the response headers (the ETag). Its one site is io.ReadAll of the console's HTTP response body under a 1 MiB limit; no file, no box state; decides nothing for root file:ReadAll@843 a51cf571bb55265172cad442e3bfaac54dd9edaff2768902ffcf9d26ceadd815 |
| @@ -26,8 +27,8 @@ internal/activator/size.go Service.sizeEligibleLocked legacy accepted-legacy acc |
| internal/activator/size.go Service.sizePass legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as Service.retryParentRestoreLocked): new (#329 plan 3 Task 6, reshaped by Task 12a under ruling 12 and the final review): off a.mu, reads the host's row afresh from the agent's own registry (Routes.Get(host); its size column is written by the agent's reconcile from the signed app policy) and compares Size with the last one acted on; unchanged and nothing owed, it ends with no root call. Otherwise it records the column as pending (e.pendingSize, for the next swap or start; e.route is never changed), marks ops.resizing, and calls the backend's ResizeLive with EffectiveSize: root's POST /size, which sets CPU and IO only. It counts the change applied when the read-back's CPU quota, CPU weight and IO weight match. No memory is written live; no root decision here registry:Host@63,registry:Size@1258,registry:Size@1270,registry:Size@572,whole:Route@1408,whole:Route@1546,whole:Route@486,whole:Route@543,whole:Route@552,whole:Route@65,whole:Route@85 3650a0493289e415a15998d95afa29b7807aaf80a41eb03a330ffa1d88f14a37 |
| @legacy 92e52c2847d84067afcd161dde4e86dbb34e782cb85bdc710db72d6329b5524d internal/activator/size.go Service.sizedRouteLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as ExecBackend.GenTier): new (#329 plan 3 final review): under a.mu, a copy of the entry's route with Size replaced by the pending column the size pass last read, when there is one; the route a swap's successor and SizeState size from. In-memory only; no registry read, no root call; no root decision registry:Size@105,whole:Route@140,whole:Route@74 ebc4517ed3b7e08258377483b0fdec50cfbd3ce78009217b63b05021d7c1b281 |
| internal/activator/size.go Service.sizedRouteLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as ExecBackend.GenTier): new (#329 plan 3 final review): under a.mu, a copy of the entry's route with Size replaced by the pending column the size pass last read, when there is one; the route a swap's successor and SizeState size from. In-memory only; no registry read, no root call; no root decision registry:Size@105,whole:Route@140,whole:Route@74 ebc4517ed3b7e08258377483b0fdec50cfbd3ce78009217b63b05021d7c1b281 |
| -@legacy b5d4bbd2b456ff773efed3c8ce6233adcffb4409af42e9873e4e183ffbec3267 internal/activator/size.go SizedLimit legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as ExecBackend.tier): new (#329 plan 3 Task 3): the memory limit a route runs at: the size table's row named by rt.Size (from the agent's registry row, which reconcile writes from the signed app policy), else the fallback tier; an unknown name logs once per host and value (rt.Host, rt.Size as the key of an in-memory map) and falls back. The limit reaches root only as a start's or /parent's memory_max, which root checks against its own size table. No file, no root call; no root decision registry:Host@220,registry:Host@354,registry:Size@145,registry:Size@235,registry:Size@363,registry:Size@77 c5a9a577156b48155b0a4d8a6a836b8ecb73470f55490daf655be9703847004e |
| -internal/activator/size.go SizedLimit legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as ExecBackend.tier): new (#329 plan 3 Task 3): the memory limit a route runs at: the size table's row named by rt.Size (from the agent's registry row, which reconcile writes from the signed app policy), else the fallback tier; an unknown name logs once per host and value (rt.Host, rt.Size as the key of an in-memory map) and falls back. The limit reaches root only as a start's or /parent's memory_max, which root checks against its own size table. No file, no root call; no root decision registry:Host@220,registry:Host@354,registry:Size@145,registry:Size@235,registry:Size@363,registry:Size@77 c5a9a577156b48155b0a4d8a6a836b8ecb73470f55490daf655be9703847004e |
| +@legacy 7eebb823920b549e78974a255ab6330482528d6710bb4620ea1d7f34883bb6bb internal/activator/size.go SizedLimit legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), through the activator's tier and GenTier; and, only with host claims on (shelved, Paul 2026-10-25), instance control (/opt/carlos/carlos instance-control, carlos-instance-control.service, root) through claimBoundSnapshot in the bound-launch snapshot (claimproduction.go, r.Mode != agent);basis=root-route (J1, as ExecBackend.tier): new (#329 plan 3 Task 3): converts a route's size name (rt.Size, the agent-written registry column, which the agent's reconcile fills from the signed app policy) into a platform memory limit: the size table's row of that name, else the caller's fallback tier for an empty or unknown name (an unknown name logs once per host and value, rt.Host and rt.Size keying an in-memory map). No file and no root call of its own. In the agent the limit reaches root only as a start's or /parent's memory_max, which root checks against its own size table (now any of the four rows, 256 MiB to 2 GiB, and /parent any row or the sum of two, up to 4 GiB: the widened validators, spec section 5.3). In the shelved claim mode root itself takes the limit from the agent-written column, within the same table (claimroleassembly, claimlaunch_root) registry:Host@220,registry:Host@354,registry:Size@145,registry:Size@235,registry:Size@363,registry:Size@77 c5a9a577156b48155b0a4d8a6a836b8ecb73470f55490daf655be9703847004e |
| +internal/activator/size.go SizedLimit legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), through the activator's tier and GenTier; and, only with host claims on (shelved, Paul 2026-10-25), instance control (/opt/carlos/carlos instance-control, carlos-instance-control.service, root) through claimBoundSnapshot in the bound-launch snapshot (claimproduction.go, r.Mode != agent);basis=root-route (J1, as ExecBackend.tier): new (#329 plan 3 Task 3): converts a route's size name (rt.Size, the agent-written registry column, which the agent's reconcile fills from the signed app policy) into a platform memory limit: the size table's row of that name, else the caller's fallback tier for an empty or unknown name (an unknown name logs once per host and value, rt.Host and rt.Size keying an in-memory map). No file and no root call of its own. In the agent the limit reaches root only as a start's or /parent's memory_max, which root checks against its own size table (now any of the four rows, 256 MiB to 2 GiB, and /parent any row or the sum of two, up to 4 GiB: the widened validators, spec section 5.3). In the shelved claim mode root itself takes the limit from the agent-written column, within the same table (claimroleassembly, claimlaunch_root) registry:Host@220,registry:Host@354,registry:Size@145,registry:Size@235,registry:Size@363,registry:Size@77 c5a9a577156b48155b0a4d8a6a836b8ecb73470f55490daf655be9703847004e |
| @legacy 0bcf1cb362bc254c719c7649b624096aef301f9694e8fab088c02699ac0c5ab0 internal/activator/size.go genUnitOf legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as ExecBackend.GenTier): new (#329 plan 3 Task 6): the generation unit number an entry serves from (g.N when not a worker and linksCanonical(rt, g), which compares rt.Socket with the generation's socket), else 0 for the slice; the agent's status then reads memory.max of that cgroup in its own read row. Pure; no file, no root call; no root decision whole:Route@82 3d20f1b547262873690ac556a78644f318d84587ec521be50d3f171880092d08 |
| internal/activator/size.go genUnitOf legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as ExecBackend.GenTier): new (#329 plan 3 Task 6): the generation unit number an entry serves from (g.N when not a worker and linksCanonical(rt, g), which compares rt.Socket with the generation's socket), else 0 for the slice; the agent's status then reads memory.max of that cgroup in its own read row. Pure; no file, no root call; no root decision whole:Route@82 3d20f1b547262873690ac556a78644f318d84587ec521be50d3f171880092d08 |
| @legacy 8e63e24b8b1b14ef92a3f1b401bfca1430abf324bc8bb2cd9e4ddfcf5e471828 internal/activator/size.go sizedDefault.GenTier legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as SplitBackend.GenTier): new (#329 plan 3 Task 6): the tier source for a backend with no GenTier: SizedLimit(rt, cgroup.TierDefault). Its one site is the route parameter. Pure; no file, no root call; no root decision whole:Route@91 2e16f39758be0598e1cf179823a0674974a8edfa4290e035e6969fb79b9f43f6 |
| @@ -62,8 +63,7 @@ internal/edge/storedoor.go storeDoor.serveETagListing legacy accepted-legacy acc |
| internal/fleetapi/fleetapi.go store.ListETags legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos) on a bucketless fleet box, through provision.PolicyCache's backstop (apppolicy.ListETags);basis=root-input (J4, as store.Get): new (#328 plan 1 Task 5): the client of the door's GET /store/etags over the box's tunnel URL and token (env). Its file:ReadAll site reads at most 512 bytes of an unexpected-status response body for the error message; a 404 wraps release.ErrRefused, never "no policies". The listing it decodes is scoped by the door to the box's own account. No file, no box state; no root decision file:ReadAll@532 3a33cc3f56c01085c285b09bb43e0e40ea1dc586682943e4a4436a759fe25351 |
| @legacy d8c7212005c0aae23a940c4025df5051b44b973a886d212c80236ef8e89bdf9a internal/host/changeindex.go movedAppSet.route legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as movedRoutes was, whose predicate this is, unchanged; movedRoutes is deleted on this branch): new (#329 plan 3 CI fix 34e2fbc6): the scoped pass's route filter (passLegs.scoped), true when the route's (release.RouteAccount, App) is in the moved app set built from the change index's app scopes (movedApps); its sites are the route and its App, the agent's own registry row; it only narrows which routes a scoped pass touches, the full pass runs whole; no root decision registry:App@99,whole:Route@94 0d4101438387b79838f65afc6386d63be8a0a344ebb2f0243848f79ab2e200a9 |
| internal/host/changeindex.go movedAppSet.route legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as movedRoutes was, whose predicate this is, unchanged; movedRoutes is deleted on this branch): new (#329 plan 3 CI fix 34e2fbc6): the scoped pass's route filter (passLegs.scoped), true when the route's (release.RouteAccount, App) is in the moved app set built from the change index's app scopes (movedApps); its sites are the route and its App, the agent's own registry row; it only narrows which routes a scoped pass touches, the full pass runs whole; no root decision registry:App@99,whole:Route@94 0d4101438387b79838f65afc6386d63be8a0a344ebb2f0243848f79ab2e200a9 |
| -@legacy a523aaf1de06bc76274b5c58ce00e62d1c8937f36ea4231e4c4c1039ba713c97 internal/host/claimunit_effective.go var readClaimInstanceTemplate legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=instance control (/opt/carlos/carlos instance-control, carlos-instance-control.service, root), under host claims (the claim launch check);basis=root-input (J4, as claimEffectiveUnit, whose read this is; legacy rather than E2 authority while host claims are shelved): new (#328 plan 2 Task 6): the installed-template read moved unchanged out of claimEffectiveUnit into an unexported package variable so a test can hand the check a copy of the embedded template: rootstate.OpenTrustedFile of the constant /etc/systemd/system/carlos-instance@.service (root-owned, not group- or world-writable, one link) and its one site, io.ReadAll bounded at rootstate.MaxRecord+1. claimEffectiveUnit still compares the bytes with the embedded unit and refuses on any difference; production never reassigns the variable. Nothing a tenant, an app or the agent can write or name reaches it. file:ReadAll@174 e94e133c298e85f7ef6a99ab32b47a4c75604e49f6ec674460ef3b6fe49cbe14 |
| -internal/host/claimunit_effective.go var readClaimInstanceTemplate legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=instance control (/opt/carlos/carlos instance-control, carlos-instance-control.service, root), under host claims (the claim launch check);basis=root-input (J4, as claimEffectiveUnit, whose read this is; legacy rather than E2 authority while host claims are shelved): new (#328 plan 2 Task 6): the installed-template read moved unchanged out of claimEffectiveUnit into an unexported package variable so a test can hand the check a copy of the embedded template: rootstate.OpenTrustedFile of the constant /etc/systemd/system/carlos-instance@.service (root-owned, not group- or world-writable, one link) and its one site, io.ReadAll bounded at rootstate.MaxRecord+1. claimEffectiveUnit still compares the bytes with the embedded unit and refuses on any difference; production never reassigns the variable. Nothing a tenant, an app or the agent can write or name reaches it. file:ReadAll@174 e94e133c298e85f7ef6a99ab32b47a4c75604e49f6ec674460ef3b6fe49cbe14 |
| +internal/host/claimunit_effective.go var readClaimInstanceTemplate authority E2 rev3=census-ruling-instance-egress-sizes-328-329;identity=instance control (/opt/carlos/carlos instance-control, carlos-instance-control.service, root), under host claims (the claim launch check);basis=authority (E2, as claimEffectiveUnit, whose trust-anchor read this is: the exact-template proof stays E2 while its caller is in the tree, claims shelved or not): new (#328 plan 2 Task 6): the installed-template read moved unchanged out of claimEffectiveUnit into an unexported package variable so a test can hand the check a copy of the embedded template: rootstate.OpenTrustedFile of the constant /etc/systemd/system/carlos-instance@.service (root-owned, not group- or world-writable, one link) and its one site, io.ReadAll bounded at rootstate.MaxRecord+1. claimEffectiveUnit still compares the bytes with the embedded unit and refuses on any difference; production never reassigns the variable. Nothing a tenant, an app or the agent can write or name reaches it. file:ReadAll@174 e94e133c298e85f7ef6a99ab32b47a4c75604e49f6ec674460ef3b6fe49cbe14 |
| @legacy db4e4fd16109af84bdfa22901a2a601a09da993e4ea746e1e1a89c5c3cf530f3 internal/host/egress_nudge.go egressNudger.pass legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as statusSocketProbe): new (#328 plan 2 Task 7): over the rows tick listed from the agent's own registry, compares each Host's EgressAllow and PolicyExpiresAt with what it last sent and calls POST /egress?host=<Host> on root's control socket for each that changed or failed last time. It sends only the host name, which root's handler validates (parseRequest) and answers from root's own read of the registry (registrySource, its own rows); promptness only, root re-asserts every 30 s; no store request; no root decision here registry:EgressAllow@288,registry:Host@212,registry:Host@248,registry:Host@350,registry:Host@387,registry:Host@506,registry:Host@565,registry:Host@618,registry:Host@754,registry:Host@821,registry:Host@841,registry:PolicyExpiresAt@304,whole:Route@111,whole:Route@155 d91a0fc186f82058da0aacf58c8f9107a4f544b12c4999f977e93465a0571d24 |
| internal/host/egress_nudge.go egressNudger.pass legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as statusSocketProbe): new (#328 plan 2 Task 7): over the rows tick listed from the agent's own registry, compares each Host's EgressAllow and PolicyExpiresAt with what it last sent and calls POST /egress?host=<Host> on root's control socket for each that changed or failed last time. It sends only the host name, which root's handler validates (parseRequest) and answers from root's own read of the registry (registrySource, its own rows); promptness only, root re-asserts every 30 s; no store request; no root decision here registry:EgressAllow@288,registry:Host@212,registry:Host@248,registry:Host@350,registry:Host@387,registry:Host@506,registry:Host@565,registry:Host@618,registry:Host@754,registry:Host@821,registry:Host@841,registry:PolicyExpiresAt@304,whole:Route@111,whole:Route@155 d91a0fc186f82058da0aacf58c8f9107a4f544b12c4999f977e93465a0571d24 |
| @legacy eec7d663b2e76431296d2cefc6d3a316b457fccfbef521d835d90914c0ed3418 internal/host/egress_nudge.go egressNudger.tick legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as statusSocketProbe): new (#328 plan 2 Task 7): every edgesFileWatchInterval (2 s) reads the agent's own registry's SnapshotFingerprint and, when it moved, lists the rows (its one site) and hands them to pass; no store request; no root decision whole:Route@480 e82468d6ce9fd8a62248a0ed1dd6121f4fdc755f3a3ebec4dcc4dbdd6d422410 |
| @@ -118,8 +118,8 @@ internal/instancectl/size.go Server.handleSize legacy accepted-legacy accepted-l |
| internal/instancectl/size.go Server.handleSizeReadBack legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=instance control (/opt/carlos/carlos instance-control, carlos-instance-control.service, root);basis=root-input (J2,J4, as Server.handleParent): new (#329 plan 3 Task 5): GET /size from the agent (503 with host claims on); its one site is r.URL.Query() of the request (counted as file:Query), whose host must pass ValidHostShape (memory_max and gen refused). Under the slice lock, writeSizeReadBack runs systemctl show -p MemoryMax,CPUQuotaPerSecUSec,CPUWeight,IOWeight of SliceName(host) and answers what systemd reports, parsed into numbers. Writes nothing; reads no generation unit and no cgroup.events; no root decision. file:Query@106 24c9cf13f2c8fbae9ebcc035751ac260b36e14e2f91042e04eb9c7bdec21f99f |
| @legacy aae97ac977e50baafa6046b1d5527c7257805ba0bdaeb1e90531c3cd24071850 internal/instancectl/size.go Server.removeGenControlDropIn legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=instance control (/opt/carlos/carlos instance-control, carlos-instance-control.service, root);basis=root-input (J2,J4, as Server.genUnitOfExeKey): new (#329 plan 3 Task 5, kept as tidying after Task 11): called by startGen before the generation drop-in is written and by removeGenFiles. ControlDropInDir is the constant /run/systemd/system.control (systemd's, root's); the path is <dir>/<unit>.d with the unit name rebuilt by ParseGenUnitName and required equal to the input (one component, never a slice's .d). Its one site is os.Lstat of the control directory, refusing a non-directory; then os.RemoveAll of the .d, which unlinks a symlink rather than following it. The unit name comes from root's validated request (host and gen) or its own sweep; no tenant, app or agent can write that directory. A root removal; no read decides anything. file:Lstat@202 6d0f5426827ffe7aac6773dc11582e4416185bfc625d8080a1d296bda571918c |
| internal/instancectl/size.go Server.removeGenControlDropIn legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=instance control (/opt/carlos/carlos instance-control, carlos-instance-control.service, root);basis=root-input (J2,J4, as Server.genUnitOfExeKey): new (#329 plan 3 Task 5, kept as tidying after Task 11): called by startGen before the generation drop-in is written and by removeGenFiles. ControlDropInDir is the constant /run/systemd/system.control (systemd's, root's); the path is <dir>/<unit>.d with the unit name rebuilt by ParseGenUnitName and required equal to the input (one component, never a slice's .d). Its one site is os.Lstat of the control directory, refusing a non-directory; then os.RemoveAll of the .d, which unlinks a symlink rather than following it. The unit name comes from root's validated request (host and gen) or its own sweep; no tenant, app or agent can write that directory. A root removal; no read decides anything. file:Lstat@202 6d0f5426827ffe7aac6773dc11582e4416185bfc625d8080a1d296bda571918c |
| -@legacy 6d1a9aa6058bfd1929d4df5def263a255b903f7727faabb4f995167eebdc943e internal/provision/apppolicy_reconcile.go policyPass.forRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from Reconcile;basis=root-route (J1, as convergeOwned): new (#328/#329 plan 1 Task 7): the policy columns an existing instance row should hold this pass: the verified policy's when the pass read it (cols), else the row's own while its recorded expiry is in the future, else cleared (Known, empty) when that expiry has passed or the row carries an allow or size with no expiry. Three sites, all of the agent's own registry row: whole:Route (the row handed to rowPolicyExpiry), existing.EgressAllow and existing.Size. It reads no file and no store, can only keep or clear a row's columns, never grant one; no root decision registry:EgressAllow@189,registry:Size@219,whole:Route@156 11f2f8ffb0bccc3e7f1dd15ebb4f6a49d83732aad5d9d51375005b45ad9550df |
| -internal/provision/apppolicy_reconcile.go policyPass.forRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from Reconcile;basis=root-route (J1, as convergeOwned): new (#328/#329 plan 1 Task 7): the policy columns an existing instance row should hold this pass: the verified policy's when the pass read it (cols), else the row's own while its recorded expiry is in the future, else cleared (Known, empty) when that expiry has passed or the row carries an allow or size with no expiry. Three sites, all of the agent's own registry row: whole:Route (the row handed to rowPolicyExpiry), existing.EgressAllow and existing.Size. It reads no file and no store, can only keep or clear a row's columns, never grant one; no root decision registry:EgressAllow@189,registry:Size@219,whole:Route@156 11f2f8ffb0bccc3e7f1dd15ebb4f6a49d83732aad5d9d51375005b45ad9550df |
| +@legacy e703e81a5e0ef9cd44fd58eda65cbb5b820f915516e0bf3a2deaa020407ce6fd internal/provision/apppolicy_reconcile.go policyPass.forRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from Reconcile;basis=root-route (J1, as convergeOwned): new (#328/#329 plan 1 Task 7): the policy columns an existing instance row should hold this pass: the verified policy's when the pass read it (cols), else the row's own while its recorded expiry is in the future, else cleared (Known, empty) when that expiry has passed or the row carries an allow or size with no expiry. Three sites, all of the agent's own registry row: whole:Route (the row handed to rowPolicyExpiry), existing.EgressAllow and existing.Size. It reads no file and no store. When the pass read the app's policy it returns that verified policy's columns, which may grant or replace an allow and a size; when it did not, the fallback only keeps the row's own columns while their expiry is in the future or clears them once it has passed, never granting one; no root decision registry:EgressAllow@189,registry:Size@219,whole:Route@156 11f2f8ffb0bccc3e7f1dd15ebb4f6a49d83732aad5d9d51375005b45ad9550df |
| +internal/provision/apppolicy_reconcile.go policyPass.forRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from Reconcile;basis=root-route (J1, as convergeOwned): new (#328/#329 plan 1 Task 7): the policy columns an existing instance row should hold this pass: the verified policy's when the pass read it (cols), else the row's own while its recorded expiry is in the future, else cleared (Known, empty) when that expiry has passed or the row carries an allow or size with no expiry. Three sites, all of the agent's own registry row: whole:Route (the row handed to rowPolicyExpiry), existing.EgressAllow and existing.Size. It reads no file and no store. When the pass read the app's policy it returns that verified policy's columns, which may grant or replace an allow and a size; when it did not, the fallback only keeps the row's own columns while their expiry is in the future or clears them once it has passed, never granting one; no root decision registry:EgressAllow@189,registry:Size@219,whole:Route@156 11f2f8ffb0bccc3e7f1dd15ebb4f6a49d83732aad5d9d51375005b45ad9550df |
| @legacy 184bd60017ccfd34795fb66f64c6b2915d24475d822022770e50a792096ebce4 internal/provision/apppolicy_reconcile.go rowPolicyExpiry legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from Reconcile through policyPass.forRow;basis=root-route (J1, as convergeOwned): new (#328/#329 plan 1 Task 7): parses a row's policy_expires_at (registry:PolicyExpiresAt, one site) as decimal unix seconds, 0 for none or for a value that does not parse; the row is the agent's own registry row; a pure parse that decides nothing for root registry:PolicyExpiresAt@76 10b59065c283cdb2441b64bd4463ebabeb59785c53318bc333a3fb42cf81be9c |
| internal/provision/apppolicy_reconcile.go rowPolicyExpiry legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from Reconcile through policyPass.forRow;basis=root-route (J1, as convergeOwned): new (#328/#329 plan 1 Task 7): parses a row's policy_expires_at (registry:PolicyExpiresAt, one site) as decimal unix seconds, 0 for none or for a value that does not parse; the row is the agent's own registry row; a pure parse that decides nothing for root registry:PolicyExpiresAt@76 10b59065c283cdb2441b64bd4463ebabeb59785c53318bc333a3fb42cf81be9c |
| @legacy b632348637913becb8b4bc04025d6fef5fa89b53ef220b507a7aeaffc474cb09 internal/registry/registry.go Registry.SetPolicy legacy accepted-legacy accepted-legacy;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=route-and-input (J1,J4, as Registry.SetUpdateSettings and Registry.SetAssets): new (#328/#329 plan 1 Task 4): one UPDATE of routes.egress_allow, size and policy_expires_at by host, erroring on an unmatched host; it validates nothing: its only caller, convergeOwned in the agent's Reconcile, writes the values of a policy apppolicy.VerifyKey accepted with the release key, or empty. The remote arm (Method SetPolicy) is served by dispatchRemote in the read-write worker and refused by the read-only one; no root pass calls it. Root's egress source and the activator read what it writes (see @fields); no root decision here file:Exec@282,registry:remote@114,registry:remote@84,registry:sql@282,whole:remoteClient@116,whole:remoteClient@86 f7a5f80be1590b82ebaea0d1d2c4917e30fb847d0481710ff256184fcc63a748 |
| @@ -140,7 +140,7 @@ internal/registry/registry.go routeArgs authority E3 rev3=census-ruling-seeded-i |
| @legacy f33fec067f2acbf65cff3d64754ad216c61bd8284bd634f908b2ca2b016ef822 internal/registry/registry.go scanRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the two new columns scanned;rev3=census-ruling-design-edge-rate-limit-358;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the rate_limit column scanned into Route.RateLimit; the new kind is registry:RateLimit, one site; no other read;rev3=census-ruling-rootfs-apps-2;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=main's body with the runtime column scanned into Route.Runtime, before rate_limit; the new kind is registry:Runtime, one site; no other read; re-digested at the merge of origin/main 3c33f2eb: main's assets_off and asset_gen (edge asset cache plan 1) scanned beside runtime and rate_limit; routeColCount 59; re-digested again at the merge of origin/main 953b9fda: main's incarnation and serving_seq (self-serve moves plan 1) scanned after asset_gen; routeColCount 61;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=#328/#329 plan 1 Task 4: main's body with egress_allow, size and policy_expires_at scanned into Route.EgressAllow, Route.Size and Route.PolicyExpiresAt after serving_seq; the new kinds are registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each; routeColCount 64; no other read registry:Account@404,registry:Addr@172,registry:Addrs@494,registry:App@247,registry:Args@553,registry:AssetGen@863,registry:AssetsOff@954,registry:Backing@329,registry:BuildState@778,registry:Canary@1008,registry:Caps@434,registry:CertExpiresAt@386,registry:Channel@277,registry:ClaimIncarnation@615,registry:ClaimOwner@651,registry:ClaimRowID@666,registry:ClaimStamp@636,registry:CreatedAt@537,registry:DBPath@208,registry:DNSCheckedAt@369,registry:DNSStatus@355,registry:EgressAllow@909,registry:Environment@418,registry:FleetBox@479,registry:Gate@528,registry:GoodDemand@725,registry:GoodDigest@710,registry:GoodVersion@694,registry:Health@504,registry:Hibernate@984,registry:HoldOp@681,registry:Host@134,registry:IdleSeconds@562,registry:ImportGate@810,registry:Incarnation@876,registry:Kind@152,registry:LastError@194,registry:MaxRunSeconds@578,registry:NextDue@317,registry:Platform@1054,registry:PolicyExpiresAt@934,registry:Pool@255,registry:PrevVersion@231,registry:Provisioned@1078,registry:RateLimit@837,registry:Region@266,registry:Replica@1105,registry:Replicas@596,registry:Replication@301,registry:Runtime@825,registry:Seed@461,registry:SeedSource@795,registry:ServingSeq@892,registry:ServingVersion@740,registry:Size@925,registry:Slug@143,registry:Socket@161,registry:Status@181,registry:StatusNamed@1029,registry:Steering@515,registry:Tunnel@443,registry:Unit@470,registry:UpdateSettings@759,registry:Version@219,whole:Route@1134 801e94025f496268b8026443f9d3676ed8bee9f1c29483babc19e34e48364061 |
| internal/registry/registry.go scanRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the two new columns scanned;rev3=census-ruling-design-edge-rate-limit-358;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the rate_limit column scanned into Route.RateLimit; the new kind is registry:RateLimit, one site; no other read;rev3=census-ruling-rootfs-apps-2;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=main's body with the runtime column scanned into Route.Runtime, before rate_limit; the new kind is registry:Runtime, one site; no other read; re-digested at the merge of origin/main 3c33f2eb: main's assets_off and asset_gen (edge asset cache plan 1) scanned beside runtime and rate_limit; routeColCount 59; re-digested again at the merge of origin/main 953b9fda: main's incarnation and serving_seq (self-serve moves plan 1) scanned after asset_gen; routeColCount 61;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=#328/#329 plan 1 Task 4: main's body with egress_allow, size and policy_expires_at scanned into Route.EgressAllow, Route.Size and Route.PolicyExpiresAt after serving_seq; the new kinds are registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each; routeColCount 64; no other read registry:Account@404,registry:Addr@172,registry:Addrs@494,registry:App@247,registry:Args@553,registry:AssetGen@863,registry:AssetsOff@954,registry:Backing@329,registry:BuildState@778,registry:Canary@1008,registry:Caps@434,registry:CertExpiresAt@386,registry:Channel@277,registry:ClaimIncarnation@615,registry:ClaimOwner@651,registry:ClaimRowID@666,registry:ClaimStamp@636,registry:CreatedAt@537,registry:DBPath@208,registry:DNSCheckedAt@369,registry:DNSStatus@355,registry:EgressAllow@909,registry:Environment@418,registry:FleetBox@479,registry:Gate@528,registry:GoodDemand@725,registry:GoodDigest@710,registry:GoodVersion@694,registry:Health@504,registry:Hibernate@984,registry:HoldOp@681,registry:Host@134,registry:IdleSeconds@562,registry:ImportGate@810,registry:Incarnation@876,registry:Kind@152,registry:LastError@194,registry:MaxRunSeconds@578,registry:NextDue@317,registry:Platform@1054,registry:PolicyExpiresAt@934,registry:Pool@255,registry:PrevVersion@231,registry:Provisioned@1078,registry:RateLimit@837,registry:Region@266,registry:Replica@1105,registry:Replicas@596,registry:Replication@301,registry:Runtime@825,registry:Seed@461,registry:SeedSource@795,registry:ServingSeq@892,registry:ServingVersion@740,registry:Size@925,registry:Slug@143,registry:Socket@161,registry:Status@181,registry:StatusNamed@1029,registry:Steering@515,registry:Tunnel@443,registry:Unit@470,registry:UpdateSettings@759,registry:Version@219,whole:Route@1134 801e94025f496268b8026443f9d3676ed8bee9f1c29483babc19e34e48364061 |
| internal/registry/remote_dispatch.go Registry.dispatchRemote hint E2 rev3=census-ruling-self-serve-moves-1;basis=the registry child (carlos __registry-child, the service user a root pass forks): plan14-root-reads-e's mixed declaration (E2 adds only the ArtifactHosts read; every other arm is the local method of the same name), with three more write arms, SetHoldIfSeq, ReleaseHoldSeq and InstallLifetimeIf, each calling the local setter; no read operation added; self-serve moves 1 Task 7;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry child (carlos __registry-child, the service user a root pass forks);basis=#328/#329 plan 1 Task 4: one more write arm, SetPolicy, calling the local Registry.SetPolicy with the request's Host, EgressAllow, Size and PolicyExpiresAt (remoteRequest fields sent by the remote handle's holder); the new kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, plus one more registry:Host site, all of the request; no read operation added; the read-only worker never reaches it (serveRemote's method gate); no production root pass sends SetPolicy registry:A@6838,registry:Account@4074,registry:Accounts@2803,registry:Addr@4651,registry:Addrs@4659,registry:Alias@6886,registry:Alias@6950,registry:Alias@7038,registry:Aliases@6760,registry:Alive@8580,registry:Args@6462,registry:AssetGen@4801,registry:AssetsOff@4788,registry:At@5903,registry:At@6969,registry:At@7047,registry:At@8328,registry:Attempts@8350,registry:B@2188,registry:Backing@4470,registry:BuildState@5038,registry:Changed@1996,registry:Changed@3159,registry:Changed@3246,registry:Changed@3335,registry:Changed@3406,registry:Changed@3510,registry:Changed@3597,registry:Changed@3690,registry:Changed@3772,registry:Changed@8260,registry:Channel@4134,registry:Channel@5344,registry:Channel@5748,registry:CheckedAt@5829,registry:Class@4589,registry:DoneBefore@8589,registry:Due@6232,registry:Due@6296,registry:Due@8372,registry:EgressAllow@4941,registry:Env@5412,registry:Env@5659,registry:Env@5759,registry:ExcludeHosts@8055,registry:ExcludeHosts@8150,registry:ExpectGood@6028,registry:ExpectOp@3214,registry:ExpectOp@3464,registry:ExpectPair@3644,registry:Expected@1250,registry:Expected@289,registry:Expected@762,registry:Expected@939,registry:F@1968,registry:F@2029,registry:Fleet@2054,registry:Fleet@2246,registry:Fleet@2328,registry:Fleet@2409,registry:Fleet@2502,registry:FleetBoxes@2463,registry:Fleets@2112,registry:From@4245,registry:From@4306,registry:FromDB@4381,registry:FromOp@3302,registry:FromSock@4391,registry:Hash@5218,registry:Health@4668,registry:Host@1024,registry:Host@1135,registry:Host@272,registry:Host@2987,registry:Host@3028,registry:Host@3114,registry:Host@3190,registry:Host@3276,registry:Host@3368,registry:Host@3440,registry:Host@3546,registry:Host@3636,registry:Host@3724,registry:Host@3816,registry:Host@4066,registry:Host@4126,registry:Host@4184,registry:Host@4237,registry:Host@4298,registry:Host@4373,registry:Host@4462,registry:Host@4516,registry:Host@4581,registry:Host@4643,registry:Host@4721,registry:Host@4780,registry:Host@4868,registry:Host@4933,registry:Host@5030,registry:Host@5095,registry:Host@5156,registry:Host@5210,registry:Host@5271,registry:Host@5404,registry:Host@5458,registry:Host@5519,registry:Host@5581,registry:Host@5811,registry:Host@5895,registry:Host@5952,registry:Host@6020,registry:Host@6109,registry:Host@6169,registry:Host@6224,registry:Host@6288,registry:Host@6403,registry:Host@6454,registry:Host@6521,registry:Host@6596,registry:Host@6659,registry:Host@7256,registry:Host@7403,registry:Host@7691,registry:Host@7755,registry:Host@7814,registry:Host@7897,registry:Host@7980,registry:Host@8211,registry:Host@8296,registry:Host@8428,registry:Host@8509,registry:Host@8672,registry:Hosts@187,registry:Hosts@2866,registry:Hosts@5335,registry:Hosts@5650,registry:Hosts@5739,registry:Id@1244,registry:Id@1555,registry:Id@1654,registry:Id@1734,registry:Id@1885,registry:IdValue@2622,registry:Idle@6529,registry:Journal@1262,registry:Journal@1561,registry:Journal@1740,registry:Journal@442,registry:Keep@8688,registry:Kind@8517,registry:Kind@8680,registry:Label@2255,registry:Label@2337,registry:Label@2418,registry:Label@5527,registry:Limit@8046,registry:Limit@8141,registry:MaxRun@6537,registry:Method@151,registry:Ms@8344,registry:Name@1032,registry:Name@1143,registry:Name@2082,registry:Name@2641,registry:Name@7763,registry:Name@7822,registry:Name@7905,registry:Name@8219,registry:Name@8304,registry:Name@8436,registry:Next@301,registry:NextAt@8362,registry:NextGood@6042,registry:NextValue@1814,registry:NextValue@1912,registry:Now@1167,registry:Now@6730,registry:Now@8039,registry:Now@8134,registry:Now@8227,registry:Number64@2729,registry:Number@8477,registry:Number@8548,registry:Number@8633,registry:Observed@365,registry:ObservedValue@643,registry:Old@1807,registry:Old@1905,registry:On@6177,registry:On@6604,registry:On@6667,registry:Op@3132,registry:Op@3208,registry:Op@3376,registry:Op@3458,registry:Op@3554,registry:Op@3732,registry:Op@3824,registry:Owner@280,registry:Owner@377,registry:Owner@660,registry:P@7357,registry:Pair@3476,registry:Pair@3560,registry:Pair@3658,registry:Path@7588,registry:Paths@7285,registry:PolicyExpiresAt@4964,registry:Prefix@7411,registry:Prev@5967,registry:RateLimit@5279,registry:Registration@1040,registry:Registration@1151,registry:Registration@7913,registry:Registration@8312,registry:Replica@5164,registry:Replicas@5103,registry:Retirement@1891,registry:Route@2964,registry:Routes@2922,registry:Routes@3850,registry:Routes@6330,registry:Routes@6697,registry:Rows@7699,registry:Seed@6411,registry:Size@4956,registry:Sqid@2633,registry:Sqid@2696,registry:Sqid@2775,registry:Status@1056,registry:Status@2427,registry:Status@3122,registry:Status@3198,registry:Status@3284,registry:Status@3448,registry:Status@4192,registry:Status@5819,registry:Status@6959,registry:Status@8334,registry:Status@8444,registry:Steering@4729,registry:StringMap@2539,registry:T@757,registry:T@7639,registry:T@851,registry:T@934,registry:TValue@3069,registry:Tags@2346,registry:Target@5589,registry:Targets@453,registry:Text@1460,registry:Text@1607,registry:Text@2743,registry:Text@7444,registry:Text@7507,registry:Timer@709,registry:Timer@7727,registry:Timer@891,registry:Timers@7950,registry:Timers@8009,registry:Timers@8098,registry:Times@8722,registry:To@4253,registry:To@4314,registry:ToDB@4403,registry:ToOp@3294,registry:ToSock@4411,registry:TokenHash@2264,registry:Tunnel@5466,registry:Unit@4524,registry:UpdateSettings@4876,registry:Ver@5960,registry:Ver@6117,registry:W@7190,registry:Wildcards@7084,whole:Account@2807,whole:ClaimOwnership@282,whole:ClaimOwnership@379,whole:ClaimOwnership@662,whole:ClaimRow@455,whole:ClaimRowArchive@561,whole:ClaimRowArchive@571,whole:ColdRows@1809,whole:ColdRows@1816,whole:ColdRows@1907,whole:ColdRows@1914,whole:Fleet@1970,whole:Fleet@2031,whole:Fleet@2058,whole:Fleet@2116,whole:FleetBox@2190,whole:FleetBox@2467,whole:GoodBuild@6030,whole:GoodBuild@6044,whole:Pair@3478,whole:Pair@3562,whole:Pair@3646,whole:Pair@3660,whole:Route@2926,whole:Route@2968,whole:Route@3071,whole:Route@367,whole:Route@3854,whole:Route@4009,whole:Route@4015,whole:Route@6334,whole:Route@6701,whole:RouteAlias@6764,whole:RouteAlias@6840,whole:RoutePath@7289,whole:RoutePath@7359,whole:Timer@645,whole:Timer@713,whole:Timer@759,whole:Timer@7641,whole:Timer@7701,whole:Timer@7731,whole:Timer@7954,whole:Timer@8013,whole:Timer@8102,whole:Timer@853,whole:Timer@895,whole:Timer@936,whole:WildcardDomain@7088,whole:WildcardDomain@7192 ad7094bd56f3cf9b5aad01a60b7e86404b383416f26dbb4c263d7271573f945f |
| -# @fields: The registry field list gains EgressAllow, Size and PolicyExpiresAt (Route fields for the new routes columns egress_allow, size and policy_expires_at, #328/#329 plan 1 Task 4), which only the agent writes, in Reconcile (SetPolicy, and the mint, held mint and import rows), from the app's control/app-policy/<sqid>/<app>.json verified with the release public key (apppolicy.VerifyKey: ed25519 over its own domain, bound to account and app, under 72 hours old) or empty, and which root's instance control reads (EgressAllow and PolicyExpiresAt, through the read-only service-user child, egress_source.go) under its own rail, expiry and per-address checks, while the agent's activator reads Size into the tier root checks against the size table. It also gains readOnly, the unexported Registry flag OpenReadOnly sets, which Registry.List now reads to query the read-only connection instead of opening a fresh read-write one (#328 plan 2 Task 13). |
| +# @fields: The registry field list gains EgressAllow, Size and PolicyExpiresAt (Route fields for the new routes columns egress_allow, size and policy_expires_at, #328/#329 plan 1 Task 4), which only the agent writes, in Reconcile (SetPolicy, and the mint, held mint and import rows), from the app's control/app-policy/<sqid>/<app>.json verified with the release public key (apppolicy.VerifyKey: ed25519 over its own domain, bound to account and app, under 72 hours old) or empty, and which root's instance control reads (EgressAllow and PolicyExpiresAt, through the read-only service-user child, egress_source.go) under its own rail, expiry and per-address checks, while the agent's activator reads Size into the tier root checks against the size table. It also gains readOnly, the unexported Registry flag OpenReadOnly sets, which Registry.List now reads to query the read-only connection instead of opening a fresh read-write one (#328 plan 2 Task 13). A second root reader of Size exists only with host claims on (shelved): claimBoundSnapshot, which instance control also runs for a bound launch (claimproduction.go), takes the limit from Size through activator.SizedLimit, bounded by root's size table. What root guarantees on its own is not the signature (only the agent verifies it) but its own bounds: for egress the rail, the recorded expiry, the per-address checks and the MaxAllow cap; for sizes the four-row table. |
| @fields A,Account,Accounts,AddedAt,Addr,Addrs,Alias,Aliases,Alive,AllowAbsent,App,Archives,Args,AssetGen,AssetsOff,At,Attempts,B,Backing,Bucket,BuildState,Callback,CallbackError,CallbackFailed,Canary,Caps,CertExpiresAt,Changed,Channel,CheckedAt,ClaimIncarnation,ClaimOwner,ClaimOwnership,ClaimRowID,ClaimStamp,Class,Contents,CreatedAt,DBPath,DNSCheckedAt,DNSStatus,Deadline,Demand,Digest,DoneBefore,Due,DueAt,EgressAllow,Env,EnvBefore,Environment,Error,ErrorKind,ExcludeHosts,ExpectGood,ExpectOp,ExpectPair,Expected,F,Failed,FenceGen,Fleet,FleetBox,FleetBoxes,Fleets,From,FromDB,FromOp,FromSock,Gate,GoodDemand,GoodDigest,GoodVersion,Hash,Health,Held,Hibernate,HoldOp,Host,Hosts,ID,Id,IdValue,Idle,IdleSeconds,ImportGate,Incarnation,Journal,Keep,Kind,Label,LastAt,LastError,LastMs,LastStatus,Limit,MaxRun,MaxRunSeconds,Method,Ms,Name,Next,NextAt,NextDue,NextGood,NextValue,Now,Number,Number64,Observed,ObservedValue,Old,On,Op,Original,Owner,Ownership,P,Pair,Path,Paths,Platform,PolicyExpiresAt,Pool,Prefix,Prev,PrevVersion,Provisioned,RateLimit,RecordKey,Region,Registration,Replica,Replicas,Replication,Retirement,Route,Routes,Row,Rows,Runtime,Seed,SeedID,SeedSource,ServingSeq,ServingVersion,Size,Slug,Socket,Spec,Sqid,State,Status,StatusNamed,Steering,StringMap,T,TValue,Tags,Target,Targets,Text,Timer,Timers,Times,To,ToDB,ToOp,ToSock,TokenHash,Tunnel,Unit,UpdateSettings,Ver,Version,W,WakeIncarnation,Wildcards,closed,conn,connect,ctx,d,dec,done,enc,full,input,mu,output,path,readOnly,remote,sql,wait |
| # Removed: still declared, reading nothing now; each retired by an H3 census-ruling removal (zddr3's form). A removal is not in the seal. |
| @remove apimode.go apiSession.sendJSON |