census: propose region-ha-g2r-fixes overlay
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/superpowers/notes/census-proposal-region-ha-g2r-fixes.md+41 −0internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-region-ha-g2r-fixes.tsv+29 −0
CI failed — run details
Intent
<task-notification> <task-id>b2ldr3ne7</task-id> <tool-use-id>toolu_01VmEeUnWyTaXsQ71P8nDQKc</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/87a21814-5655-4016-9e7e-41935ee8e96e/tasks/b2ldr3ne7.output</output-file> <status>completed</status> <summary>Background command "W=/home/paulca/amadan.net/carlos/platform/.claude/worktrees/g2r-fixes/.superpowers/sdd/2026-11-06-region-ha-g2r-fixes; for i in $(seq 1 340); do [ -f $W/finalfix.done ] && break; sleep 10; done; cat $W/finalfix.done 2>/dev/null; tail -1 $W/finalfix.log" completed (exit code 0)</summary> </task-notification>
<task-notification> <task-id>a4124e56eb8825a21</task-id> <tool-use-id>toolu_01BiQ6hakdUmyqvHrj1vXKoj</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/87a21814-5655-4016-9e7e-41935ee8e96e/tasks/a4124e56eb8825a21.output</output-file> <status>completed</status> <summary>Agent "Re-review final fix wave" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>**Scoped re-review of dff10905 (fix wave on region-ha-g2r-fixes)** **P2-1 door invariant (#175 P7): ADDRESSED** - `internal/edge/homemap.go:1145-1156`: `Owner` now does one `resolveName` and returns the serving `NameClaim`. The door's account/app check and the dial address come from the same resolution. - `internal/edge/edge.go:2148-2156`: the door passes `backhaulOwnerOf(owner)` to `backhaulTo`. The old comment ("exactly the box that same Owner read named") is rewritten. The `door.go:22-23` and `backhaulTo` comments (edge.go:4195-4198) are rewritten too. No other stale "Owner named" text is left. - `internal/edge/backhaul_holder.go:20-33`: the owner key is name, class, account, app and target host, the fields `ResolveNameAuthority` uses to decide which claims count as the same owner (`edgesfile/nameauthority.go:131-133`). `matches` refuses an empty account or app. - Holder memory is now bound to that owner: - stored when learned: `backhaul_holder.go:73` and `remember` at :183 - checked on read: `get` at :61-63 - dropped only for the same owner: `drop` at :93 - `internal/edge/backhaul_retry.go:59`: `backhaulAlternative` re-resolves and returns nothing if the fresh snapshot's owner differs. The caller then dials the box `Owner` named (`backhaulTarget` :118-122). The connect fallback (:205) uses the same check, so it cannot fall back to a different owner's box. - On the door path, the owner comes from `Serving`, while the alternative compares against `Authority`. Their identity fields are equal whenever account and app are set (`nameauthority.go:137`, the `c != owner && !same(c)` check), so a same-owner substitute is not blocked by mistake. - Tests are in `backhaul_owner_wiring_test.go`: - :9 memory learned for a different owner, five identity fields - :47 alternative skipped after the owner changes, both suspect and connect paths - :82 same-owner controls - :107 asset bypass - The fix report shows both mutations failing on the wrong destination, not on a compile error. **P2-2 docs: ADDRESSED** - `docs/superpowers/notes/2026-11-06-region-ha-g2-follow-ups.md`: the W3 item now says built in `39417638` and has the worst-case latency sentence (two 5 s dial timeouts, then a 60 s skip). - The new "P3 follow-ups from the final review" section lists all 11 items. - No em dashes in the new prose. **New breakage check (diff only)** - **Ordinary backhaul, §6.5 holder follow and connect fallback (W4/W3):** not suppressed for HA names. The follow within one request (`backhaul_holder.go:183-188`) is not gated by owner. Ordinary backhaul gets its owner from the same resolution it dials (`edge.go:4188-4194` and :2118), so the memory and the alternative still match. The existing Backhaul/Holder regressions pass per the report. - **Same snapshot:** the door's check and dial share one `resolveName`. The holder memory and the alternative each re-check the owner on their own load and fall back to the original box when it differs. No mixed-snapshot path remains, including `farForward`, which now goes through `backhaul` (`assetcatch.go:1337`). - **Nil owner on non-HA hosts:** `backhaulOwner` is a value type, so there is no nil to dereference. A nil map or a map with no self label resolves to `NameAbsent`, and both `backhaul` and `Owner` then answer false. That keeps the old fail-closed behaviour. - **Concurrency:** entries are stored by value and every read and write of `owner` and `ref` happens under `c.mu`. No race. - **P3** `backhaul_holder.go:32`: an ownerless (legacy) published route no longer uses remembered holders, because `matches` needs account and app. The resolver already refuses substitutes without owner metadata, and HA pool names carry it. So W4 is unaffected, but this is a quiet behaviour change for legacy names. - **P3** `assetcatch.go:1337` → `edge.go:4193`: `farForward` now goes through `backhaul`. That fires an extra `observeRegional("home")` on the asset-fill path, and it answers 503 "temporarily busy" when the name has disappeared, where it used to dial the old box. Both are acceptable. The 503 is the intended correction. - No P1 or P2 breakage found. All addressed: yes</result> <usage><subagent_tokens>67007</subagent_tokens><tool_uses>7</tool_uses><duration_ms>91161</duration_ms></usage> </task-notification>
Attributed to this commit: 18.9 g CO₂e (2,311,990 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-g2r-fixes, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
diff --git a/docs/superpowers/notes/census-proposal-region-ha-g2r-fixes.md b/docs/superpowers/notes/census-proposal-region-ha-g2r-fixes.md| new file mode 100644 |
| index 000000000..12c280dd9 |
| --- /dev/null |
| +++ b/docs/superpowers/notes/census-proposal-region-ha-g2r-fixes.md |
| @@ -0,0 +1,41 @@ |
| +# Census approval: region-ha-g2r-fixes |
| + |
| +Ruling `census-ruling-region-ha-g2r-fixes`. The independent reviewer approves or rejects every change below, 0 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26). |
| + |
| +| unit | change | read sites | what changed | |
| +|---|---|---|---| |
| +| `internal/activator/poolwithdrawal.go` `Service.PreparePoolWithdrawal` | body | unchanged (33) | W1: carries the proof's underlying cause on the pending error (wrapped, codes unchanged) so proof_finish can log it. Same reads, same fence, stop/release proof and ownership checks; no new path, record write or authority. | |
| +| `internal/activator/poolwithdrawal.go` `Service.poolWithdrawalProof` | body | unchanged (40) | W1: each pending return wraps the error that caused it (cgroup/nested readiness, record, lock) instead of discarding it. Same readers and proof conditions; no new read or write. | |
| +| `internal/activator/poolwithdrawal.go` `Service.provePoolWithdrawal` | body | unchanged (6) | W1: logs cause=<err> beside the existing code at proof_finish. Same budget and stored result; no new read. | |
| +| `internal/edge/assetcatch.go` `Edge.serveAssetFar` | body | unchanged (7) | W3/W4: passes the door-checked owner into backhaulTo so the remembered holder and connect-failure fallback are used only for that same owner; otherwise dials the box Owner named. No new read; edges-file view only. | |
| +| `internal/edge/edge.go` `Edge.ServeHTTP` | body | unchanged (56) | W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site. | |
| +| `internal/edge/wildcard.go` `newWildcardFromEnv` | body | unchanged (3) | W2a: on a gated box (issuer gate armed: store and mirror exist) with no DNS provider, builds a serve-only wildcard manager that loads and serves wildcard PEMs from the existing local cache/mirror and never orders (dns nil never reaches obtain). Ungated boxes still get nil. Same parent inputs; no new path or provider credential read. | |
| +| `internal/host/agent.go` `runAgent` | body | unchanged (9) | W3: starts the existing record-view backstop loop with a departure-inventory listener (non-blocking, coalesced signal) even without an armed RecordView; it requests the existing full pass (backstopFullDue) there. Same nine read sites; no new read or authority. | |
| +| `internal/host/hadepartures_scan.go` `Controller.ScanPass` | body | unchanged (104) | W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read. | |
| +| `internal/host/hadepartures_scan.go` `Controller.complete` | body | unchanged (30) | W3: drops the per-departure nudge bookkeeping (moved to a fixed-size global limiter). Completion gates, exact-ETag deletion and reads unchanged. | |
| +| `internal/host/hadepartures_wiring.go` `armHADepartures` | body | unchanged (17) | W3: wires the controller's RequestInventory hook to the agent's early-backstop signal. No new store, read or loop. | |
| +| `internal/provision/poolwithdrawal.go` `PoolWithdrawalBackoff.pending` | sites | +registry:Host, +whole:Route ×3 | W1: pending backoff starts at 30 s and doubles to the existing 5 min cap while the route row and pool membership are unchanged; it reads the in-memory Route value it is handed (Host and the row fields it already stored) to compare. No I/O. | |
| +| `internal/provision/poolwithdrawal.go` `ReconcileConfig.withdrawPools` | sites | +registry:Host | W1: on a successful withdrawal clears that host's backoff entry by rt.Host (in-memory Route field already listed). Fresh record checks, guarded SQL deletion and fence cleanup unchanged; no new read or write. | |
| + |
| +Envelopes re-pinned: `internal/activator`, `internal/edge`, `internal/host`, `internal/provision`. |
| + |
| +Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Reject if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. A rejected unit goes back to the author to correct; nothing escalates to the census owner. |
| + |
| +Recorded dispositions, which each change must still satisfy: |
| + |
| +- `internal/activator/poolwithdrawal.go` `Service.PreparePoolWithdrawal`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Reap completed obsolete withdrawal jobs, then read current route and require supported matching ownership and pool ineligibility before installing an owned fence and scheduling stop/release proof. Return each completed failure once on the next matching call regardless of elapsed time, retaining the job for fence cleanup; a later call starts a new proof. Successful proof consumption and safety checks unchanged; no new read or bucket write. |
| +- `internal/activator/poolwithdrawal.go` `Service.poolWithdrawalProof`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New withdrawal proof uses existing fence/stop, cgroup, record/lifetime, holder-lock, obligation, local release-record/stat and registry timer/route readers. Requires proven stop and clean release or safe never-started state; retains outstanding duties and special rows. No new path namespace or record write; local files use existing backend layout. |
| +- `internal/activator/poolwithdrawal.go` `Service.provePoolWithdrawal`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Run withdrawal proof under service lifetime with a five-minute budget and store its result without a wall-clock retry expiry; cached route Host for logging, indirect reads owned by poolWithdrawalProof. No new read or change to the proof itself. |
| +- `internal/edge/assetcatch.go` `Edge.serveAssetFar`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-edge-asset-cache-3;basis=in the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): new (asset cache plan 3 Task 6): the far catch on a box with no route row for the host. It answers from this box's asset store, or fills over the backhaul from the home box under a signed fill assertion (carlos-asset-fill-v1) and stores only an acknowledged response. Its three sites are one synthetic row, registry.Route{Host, Account, App, Kind: instance}, built from the request host and the owner the home box's edges file publishes, passed to the usage meter and to the account throttle (planThrottleAdmit), so a far delivery is metered and throttled under the published owner (drift D8). No registry row is read; nothing local is dialled; no root decision. Since then: runs the hard and probe checks before the store is read, as ServeHTTP runs them (final review F1): edgeguard.Check, a pure in-memory matcher on r.URL.Path and RawQuery, through guardDecide, unless protection is off or the request came over a tunnel; a block is answered with the block page and metered under the synthetic row; a matched request is recorded through observeRecords(rt, false, r, ...) whenever this edge wrote the answer itself: a hit, the block page, a throttle refusal, or any answer written before a hop reached the home (a backhaul refusal, the no-key 503, a failed dial's 502; arrival is seen by an httptrace WroteHeaders hook on the request's context, a callback that reads nothing); a request a hop delivered to the home is judged and recorded there under the home's own mode, as for any backhauled request (fix waves 4 and 5: ordinary-backhaul parity); refusals and forwards write through the counting writer so the record carries the client's status; the one added site is that observeRecords pass of the same synthetic registry.Route{Host, Account, App, Kind: instance} (+whole:Route); no new kind of read;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: one call to observeRegional("asset-fill", host), a test hook that is a nil atomic pointer in production; no read added, no behaviour changed;rev3=census-ruling-console-protection-tab;basis=the far catch's defer now also calls observeGuardCount(rt, out) for the same synthetic registry.Route{Host, Account, App, Kind: instance} it already hands the meter and observeRecords (+whole:Route), under the same "this edge answered it" condition (billed, or a hop never reached the home), whether or not the guard matched; observeRecords still runs only on a match, as before. A count in memory only; no new kind of read; the guard check, block page and backhaul are unchanged.;rev3=census-ruling-probe-burst-limit;basis=the far catch's guard state is built for the same synthetic registry.Route{Host, Account, App, Kind: instance} (newGuardState(rt), for the owner's record-only switch), and its defer counts the request toward the probe-burst limit (noteBurst(rt, ...), in memory) when this edge answered it or the home acknowledged a fill; an httptrace WroteHeaders hook on an ordinary forward marks the request as the home's to count; the two added sites are that same synthetic route (+whole:Route x2); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): returns false at the top when markedRequest(r) is true, so a request that arrived with carlos_hold=1 is not treated as an asset request and goes on to the backhaul and the home edge classification. Reads the mark in the request context; no read added. |
| +- `internal/edge/edge.go` `Edge.ServeHTTP`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream. |
| +- `internal/edge/wildcard.go` `newWildcardFromEnv`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-agent-start-demo-1;basis=Includes the configured demo domain in the existing wildcard manager's explicit parent input. |
| +- `internal/host/agent.go` `runAgent`: authority, task B,C,D,F. Basis: rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-region-ha-p1b3a;basis=Arm HA placement exactly once on the existing Service before activatorStart and edges publication, wiring AwakeApps and the PageOperator callback; existing six read sites unchanged, no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: start the concrete coordinator's renewal worker with agent setup; existing closeReplicaCoordinator shutdown cancels and joins it before release. No new read sites or credentials. Merge origin/main c59715e7: retain main's armHAPlacement(svc, PageOperator) wiring beside the existing activator setup; stateless coordinator and shutdown wiring remain. Same read sites; no new root read or credential.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): in the edge-ready callback, calls act.SetHeldWakeHook(e.HeldWake) when act is non-nil (installing the non-blocking wake callback) and stores e.HeldStreamsForStatus in heldStreamsSource. Wiring of in-memory callbacks only; no read added.;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Service.SetDutyView to the live edge DutySnapshot in the ready callback. No new read; no new loop or cloud operation. B2 wires the registry as the persistent DutyStore before service startup; no new cloud or filesystem path. B3b: arm one journal-backed termination consumer before service startup using agentCtx and the shared confirmer; expose edge tick and join at edge shutdown. No new direct read sites.;rev3=census-ruling-agent-start-demo-1;basis=Passes the existing registry, data store and hibernation prefix into the demo worker, and the existing instance-control client into the demo before-exec hook. No alternate data store or polling loop. Merge resolution against origin/main 9bd45488 retains main's HA departure controller, lifecycle and duty wiring alongside the demo data store and worker; no read site added by the resolution.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: install closed fixed admission before every launch source, bind activator/backend and edge, wire the real termination Started lifecycle and role reader after the change index; close before cancellation/child shutdown. No new external reads or cloud authority. Fix R1: move bind/lifecycle/edge-option wiring into wireAgentAdmission and worker listing into runWorkerBootPassAfterAdmission. Worker boot waits for admission before listing then uses unchanged bounded wakes and per-host serialization; whole Route read moves to the helper. No new storage, cloud, or root execution authority. Preserve merged main's agent wiring and census basis; the branch removes one whole Route use by moving worker iteration to the helper, with no added read kind.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: arms a fleet-only worker using the existing registry, activator, backend and authenticated console transport. Owned worker stops and joins at shutdown. No new bucket reader. merge of origin/main 9b8b2c50: retain HA duty/departure lifecycle, wake-slot and existing agent wiring alongside the replica placement worker; no new read introduced by resolution. merge of origin/main 6be08467: Retain main demo configuration, admission, build and expiry wiring alongside the replica worker; merge-only body change, no additional read. merge of origin/main 7920cccf: Retain main box-role/group admission wiring and boot publication beside the owned replica worker and shutdown; main moves the boot registry List into runWorkerBootPassAfterAdmission, removing its inline whole Route site. No new read introduced by conflict resolution.;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 M3: retain the private snapshot source and cancel/join ownership, but use the replica-health-specific retry loop. It logs its first failure only and retains the existing exponential backoff capped at 30 seconds; unsupported builds return nil. Existing five direct read sites unchanged; no new credentials, bucket reader or app lifecycle action. Fix round 1 Q20: publish Edge.ReplicaSnapshots as a separate in-memory status source, leaving the tenant-visible Upstreams source unchanged. No new external reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Load root-written group marker/configuration, configure signed boot binding and agent receipt completer, wire cancellable admission into departure work and expose cached GroupReaderSnapshot. New indirect boot reads use protected root files; agent-owned receipt controls duplicate initial completion only, never root restart permission. Same five direct sites. Merge 45cebde4 retains the replica health socket lifecycle and setReplicaSource beside GroupReaderSnapshot; no extra read beyond main.;rev3=census-ruling-agent-start-demo-2;basis=agent.go:309-329 opens demo-traffic.db beside the operator-configured registry when a demo domain exists, closes it at shutdown and wires drain-before-purge; :1010-1019 shares the worker and write gate; :1164-1177 installs the fleet identity and closed-until-worker serving callback. One added whole Route pass; the new indirect filesystem/SQL reads are claimed in openDemoTraffic and worker/store units. No request chooses the database pathname.;rev3=census-ruling-region-ha-p1b3b-s;basis=Wire the service duty view to authoritative cached sidecar manifest placement in LifetimeIndex and the edge sidecar projection; missing policy denies duty. Existing instance duty wiring remains.;rev3=census-ruling-region-ha-g2-t3;basis=T3a: wire eb.Page = PageOperator beside OwnerTerminated before departures arm, so suspect-holder pages work if departure setup fails; no new read; existing nine sites and authority unchanged; pages through the existing sink. T3b: publish the same backend through an atomic pointer for the metrics observer, and clear it on return; no new external read or authority.;rev3=census-ruling-agent-start-demo-3;basis=Wire the claim activator and root snapshot client into the demo worker; pass moved readiness to status reporting. Census read-site delta: unchanged (9).;rev3=census-ruling-region-ha-g2-fixes;basis=Wire local pool evidence, live withdrawal activator, startup ingress scan and alias publication, and edge lookup; no new direct sites; new indirect record/claim reads use existing store/judge paths described in ingress helpers. |
| +- `internal/host/hadepartures_scan.go` `Controller.ScanPass`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input. |
| +- `internal/host/hadepartures_scan.go` `Controller.complete`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read the durable departure/scan and current inventory, then conditionally delete only the retained exact edges key/revision. Reread uncertain results and refuse replacement identities. Persist deletion and acknowledged index phases before complete; queue receipts stay in memory and only complete rows acknowledge. Fresh process evidence is required before authority checkpoint reuse. Fix r1/P15: ignore the old scan-level ETag override and delete only the original departure ETag. Exact-key readback retries the same tag; a changed tag is never deleted and advances only with a different verified iid under the same ref/account/scope, otherwise holds and pages. Persist permission fault episodes; route completion faults through bounded retry. No new filesystem or executable input. B4 fix r4/P18 supersedes fixed-ref deletion: only the deterministic account/iid group reference may delete its retained exact ETag. Every other ref performs an exact-key GET and stays pending unless absent or the existing verified newer-incarnation check succeeds; the live replacement file is left intact. Group revision changes stay pending. No new key or authority read. B5: Increment completion counter only after the durable complete phase; C4 ordering stays after that commit.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations. |
| +- `internal/host/hadepartures_wiring.go` `armHADepartures`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Install proof adapter, adoption identity and suspicion callbacks before asynchronous startup. Lazily retry the same deployment/data clients; lifetime callback reads only the current host through ExecBackend.TerminationLifetime. Add bounded structured paging for unresolved per-iid records. No new bucket, tenant input path or acquire bypass. B4: Wire the shared lock reader and existing AdoptHost entry. Read local route, Pair and duty revision only after authoritative inventory eligibility; bind its record lifetime and refuse missing/mismatched local routes. No route synthesis or pool widening. B5: Publish the armed controller to the existing metrics sampler. No new loop, remote source or process authority.;rev3=census-ruling-region-ha-followups;basis=Inject the existing PageOperator function into the backend when HA departures are armed; no new read or paging transport.;rev3=census-ruling-region-ha-p3b;basis=Require group admission/BeginWork callbacks and pass them into the sole departure consumer, including the production adoption closure. Same store, identity and registry reads; consumer Started remains a lifecycle fact, not duty authority.;rev3=census-ruling-region-ha-p1b3b-s;basis=Carry the actual provisionTickConfig pools and inbound posture into CanAdopt; stamped sidecars use the existing production adopter. Legacy unresolved paging remains. No wider tenancy or new remote source. |
| +- `internal/provision/poolwithdrawal.go` `PoolWithdrawalBackoff.pending`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Store supplied normalized route, configured membership and five-minute deadline in memory after a pending withdrawal; no I/O. |
| +- `internal/provision/poolwithdrawal.go` `ReconcileConfig.withdrawPools`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=List local routes and apply the five-minute pre-read backoff only to enumerated terminal pending causes; stopping and successful completed proofs proceed on the next tick. Row and membership changes still reset it. Retain fresh record checks before and after proof and guarded SQL deletion; invoke fence cleanup only after successful deletion. No new reads, object writes or authority. |
| + |
| +Seal: `3c1d54d297da31d147cdb4e1ad4627f759c8cb8eae2db53cc92218db35e59c7b` → `85776765d2a03dfd59035024c1e32cd233c60f0437f5f9db7aef251345cbdfbc`. |
| + |
| +Overlay: `internal/provision/testdata/plan14-root-reads-region-ha-g2r-fixes.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`. |
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv| index f3b8315b8..0ecd49b32 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-chain.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-chain.tsv |
| @@ -110,3 +110,4 @@ plan14-root-reads-demo-api-claim-paths.tsv ebeaa693941f5592cd7bc3458effc2a333a8d |
| plan14-root-reads-demo-moved-capability.tsv ebeaa693941f5592cd7bc3458effc2a333a8d12ba4f192a93d0aa32589048939 |
| plan14-root-reads-demo-snapshot-unit-check.tsv 1e83ce23d7d1306e3963f802fecf8c914a2624726255e3bc30382104e568adde |
| plan14-root-reads-region-ha-g2-fixes.tsv 3c1d54d297da31d147cdb4e1ad4627f759c8cb8eae2db53cc92218db35e59c7b |
| +plan14-root-reads-region-ha-g2r-fixes.tsv 85776765d2a03dfd59035024c1e32cd233c60f0437f5f9db7aef251345cbdfbc |
diff --git a/internal/provision/testdata/plan14-root-reads-region-ha-g2r-fixes.tsv b/internal/provision/testdata/plan14-root-reads-region-ha-g2r-fixes.tsv| new file mode 100644 |
| index 000000000..da3cf0a5c |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-region-ha-g2r-fixes.tsv |
| @@ -0,0 +1,29 @@ |
| +# Census overlay region-ha-g2r-fixes, written by census-propose (#369). census-ruling-region-ha-g2r-fixes, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-region-ha-g2r-fixes.md. |
| +# 10 body, 2 sites, 4 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +@legacy 26b73f6a5c62de7a63ae6f64ec998542a2cdfa89f456d9cfc0ba5ac23c2fce9d internal/activator/poolwithdrawal.go Service.PreparePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Reap completed obsolete withdrawal jobs, then read current route and require supported matching ownership and pool ineligibility before installing an owned fence and scheduling stop/release proof. Return each completed failure once on the next matching call regardless of elapsed time, retaining the job for fence cleanup; a later call starts a new proof. Successful proof consumption and safety checks unchanged; no new read or bucket write.;rev3=census-ruling-region-ha-g2r-fixes;basis=W1: carries the proof's underlying cause on the pending error (wrapped, codes unchanged) so proof_finish can log it. Same reads, same fence, stop/release proof and ownership checks; no new path, record write or authority. registry:ClaimOwnership@784,registry:ClaimOwnership@810,registry:DBPath@753,registry:DBPath@771,registry:Host@1017,registry:Host@1048,registry:Host@1235,registry:Host@1259,registry:Host@1393,registry:Host@1701,registry:Host@390,registry:Host@678,registry:Host@893,registry:Host@922,registry:Host@961,registry:Host@990,registry:Kind@726,registry:Kind@742,whole:ClaimOwnership@792,whole:ClaimOwnership@813,whole:Route@1500,whole:Route@1507,whole:Route@1657,whole:Route@1664,whole:Route@235,whole:Route@428,whole:Route@484,whole:Route@528,whole:Route@551,whole:Route@719,whole:Route@728,whole:Route@755,whole:Route@786 23c8255b83e4d22fda9239aec0fd1ff48b17d7550087132a833340e0915341c6 |
| +@legacy 7f1f00b3c837b57c051bd63b6edf730d448999e4bf83408f64ba2d0bd459b2a7 internal/activator/poolwithdrawal.go Service.poolWithdrawalProof legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New withdrawal proof uses existing fence/stop, cgroup, record/lifetime, holder-lock, obligation, local release-record/stat and registry timer/route readers. Requires proven stop and clean release or safe never-started state; retains outstanding duties and special rows. No new path namespace or record write; local files use existing backend layout.;rev3=census-ruling-region-ha-g2r-fixes;basis=W1: each pending return wraps the error that caused it (cgroup/nested readiness, record, lock) instead of discarding it. Same readers and proof conditions; no new read or write. registry:Addr@1111,registry:Addrs@1128,registry:Args@1185,registry:DBPath@1146,registry:HA@1351,registry:Hibernate@1076,registry:Host@1597,registry:Host@2113,registry:Host@2373,registry:Host@2582,registry:Host@279,registry:Host@3886,registry:Host@3979,registry:Host@434,registry:Host@469,registry:Host@508,registry:Host@539,registry:Host@621,registry:Host@658,registry:Host@897,registry:Kind@1034,registry:Kind@1292,registry:Kind@1396,registry:NextDue@4142,registry:Runtime@1165,registry:Socket@1092,registry:WakeIncarnation@1263,registry:WakeIncarnation@1876,whole:Route@115,whole:Route@1452,whole:Route@1681,whole:Route@2208,whole:Route@2368,whole:Route@2631,whole:Route@4006,whole:Route@4050,whole:Route@4073,whole:Route@4096,whole:Route@977,whole:Timer@4170 ad0b020f5e71c29b973cb88ba093f6246de2f6df067cdbd683b6b0d9bfe678b4 |
| +@legacy b1a0021ffb5092e13d1f4f50e29a8e1ccb8a5ae02ed3c2f53459313a4d938162 internal/activator/poolwithdrawal.go Service.provePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Run withdrawal proof under service lifetime with a five-minute budget and store its result without a wall-clock retry expiry; cached route Host for logging, indirect reads owned by poolWithdrawalProof. No new read or change to the proof itself.;rev3=census-ruling-region-ha-g2r-fixes;basis=W1: logs cause=<err> beside the existing code at proof_finish. Same budget and stored result; no new read. registry:Host@131,registry:Host@430,registry:Host@552,whole:Route@135,whole:Route@434,whole:Route@556 40e50728ef97075f040c4a223f07a3300b0701e273513eb2c8787f2bd5a519c7 |
| +@legacy 890d89721007a20d3d52e77a939f4fb9219164c4fc6f5f03f817f5686751826b internal/edge/assetcatch.go Edge.serveAssetFar legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-asset-cache-3;basis=in the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): new (asset cache plan 3 Task 6): the far catch on a box with no route row for the host. It answers from this box's asset store, or fills over the backhaul from the home box under a signed fill assertion (carlos-asset-fill-v1) and stores only an acknowledged response. Its three sites are one synthetic row, registry.Route{Host, Account, App, Kind: instance}, built from the request host and the owner the home box's edges file publishes, passed to the usage meter and to the account throttle (planThrottleAdmit), so a far delivery is metered and throttled under the published owner (drift D8). No registry row is read; nothing local is dialled; no root decision. Since then: runs the hard and probe checks before the store is read, as ServeHTTP runs them (final review F1): edgeguard.Check, a pure in-memory matcher on r.URL.Path and RawQuery, through guardDecide, unless protection is off or the request came over a tunnel; a block is answered with the block page and metered under the synthetic row; a matched request is recorded through observeRecords(rt, false, r, ...) whenever this edge wrote the answer itself: a hit, the block page, a throttle refusal, or any answer written before a hop reached the home (a backhaul refusal, the no-key 503, a failed dial's 502; arrival is seen by an httptrace WroteHeaders hook on the request's context, a callback that reads nothing); a request a hop delivered to the home is judged and recorded there under the home's own mode, as for any backhauled request (fix waves 4 and 5: ordinary-backhaul parity); refusals and forwards write through the counting writer so the record carries the client's status; the one added site is that observeRecords pass of the same synthetic registry.Route{Host, Account, App, Kind: instance} (+whole:Route); no new kind of read;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: one call to observeRegional("asset-fill", host), a test hook that is a nil atomic pointer in production; no read added, no behaviour changed;rev3=census-ruling-console-protection-tab;basis=the far catch's defer now also calls observeGuardCount(rt, out) for the same synthetic registry.Route{Host, Account, App, Kind: instance} it already hands the meter and observeRecords (+whole:Route), under the same "this edge answered it" condition (billed, or a hop never reached the home), whether or not the guard matched; observeRecords still runs only on a match, as before. A count in memory only; no new kind of read; the guard check, block page and backhaul are unchanged.;rev3=census-ruling-probe-burst-limit;basis=the far catch's guard state is built for the same synthetic registry.Route{Host, Account, App, Kind: instance} (newGuardState(rt), for the owner's record-only switch), and its defer counts the request toward the probe-burst limit (noteBurst(rt, ...), in memory) when this edge answered it or the home acknowledged a fill; an httptrace WroteHeaders hook on an ordinary forward marks the request as the home's to count; the two added sites are that same synthetic route (+whole:Route x2); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): returns false at the top when markedRequest(r) is true, so a request that arrived with carlos_hold=1 is not treated as an asset request and goes on to the backhaul and the home edge classification. Reads the mark in the request context; no read added.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: passes the door-checked owner into backhaulTo so the remembered holder and connect-failure fallback are used only for that same owner; otherwise dials the box Owner named. No new read; edges-file view only. whole:Route@1540,whole:Route@2305,whole:Route@2356,whole:Route@3069,whole:Route@3673,whole:Route@4636,whole:Route@4643 9e94aef3294b0d1e3cca4439557cfab11ea2f17240e8691bac4c9c1f2d174d85 |
| +@legacy 8ea56dbb7b81ecbeb6ccc322983512839a2a7d721b122068b59f5f4d6f472682 internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site. file:ReadAll@16764,registry:Account@8267,registry:App@22921,registry:App@8291,registry:ClaimStamp@8321,registry:Gate@15738,registry:Gate@27312,registry:Gate@27372,registry:Gate@27430,registry:Host@27415,registry:Host@8498,registry:ImportGate@34815,registry:Incarnation@8356,registry:Kind@21783,registry:Kind@25221,registry:Kind@34757,registry:Kind@34786,registry:ServingSeq@8390,whole:Route@15633,whole:Route@15744,whole:Route@18561,whole:Route@19345,whole:Route@19803,whole:Route@19995,whole:Route@21786,whole:Route@22847,whole:Route@22913,whole:Route@22924,whole:Route@23177,whole:Route@23272,whole:Route@23348,whole:Route@23392,whole:Route@23694,whole:Route@23724,whole:Route@25224,whole:Route@25509,whole:Route@27315,whole:Route@27375,whole:Route@27418,whole:Route@27433,whole:Route@28351,whole:Route@30414,whole:Route@34760,whole:Route@34789,whole:Route@34818,whole:Route@34850,whole:Route@36698,whole:Route@6341,whole:Route@6440,whole:Route@6535,whole:Route@8270,whole:Route@8294,whole:Route@8324,whole:Route@8359,whole:Route@8393,whole:Route@8501 dfce2dc47f3126e3d8671eb75efd6046e81dbd0c321b688b348b2fa4072174e1 |
| +@legacy e1d3efdf561828c883e41f2becd716ae904e8af0ab9bceb44fd5e263ac1600c7 internal/edge/wildcard.go newWildcardFromEnv legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-agent-start-demo-1;basis=Includes the configured demo domain in the existing wildcard manager's explicit parent input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W2a: on a gated box (issuer gate armed: store and mirror exist) with no DNS provider, builds a serve-only wildcard manager that loads and serves wildcard PEMs from the existing local cache/mirror and never orders (dns nil never reaches obtain). Ungated boxes still get nil. Same parent inputs; no new path or provider credential read. registry:Host@6617,whole:WildcardDomain@6564,whole:WildcardDomain@6590 94506e90153038531bbb2d8f35d919ccd8ccaaec5f1135311d9080d3e10d1903 |
| +@legacy 16eb4b08b5cce9bbc2be476fa4dadc3b4bab32af330e5d5edff1839192b243f4 internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read. registry:Cursor@1984,registry:Cursor@2690,registry:Cursor@2773,registry:Cursor@2785,registry:Cursor@6512,registry:Cursor@6618,registry:Cursor@6969,registry:Generation@1925,registry:Generation@1956,registry:Generation@6492,registry:Generation@6650,registry:Hosts@2040,registry:Hosts@2060,registry:Hosts@2821,registry:Hosts@2889,registry:Hosts@4932,registry:Hosts@5319,registry:Hosts@5612,registry:Hosts@6212,registry:InventoryGeneration@1858,registry:Lifetime@2850,registry:NotBefore@3199,registry:NotBefore@3240,registry:NotBefore@4900,registry:NotBefore@5289,registry:NotBefore@5576,registry:Observed@4443,registry:Observed@4597,registry:Observed@5172,registry:Observed@5206,registry:Phase@1448,registry:Phase@1901,registry:Phase@2118,registry:Phase@4153,registry:Phase@634,registry:Phase@689,registry:Phase@729,registry:RecordDigest@3161,registry:RecordDigest@5229,registry:Rescan@1999,registry:Rescan@3141,registry:Rescan@4322,registry:Rescan@5346,registry:Rescan@6527,registry:Rescan@6684,registry:Rescan@6937,registry:Result@4870,registry:Result@5264,registry:Result@6178,registry:Unresolved@2018,registry:Unresolved@3070,registry:Unresolved@3260,registry:Unresolved@3478,registry:Unresolved@3542,registry:Unresolved@3740,registry:Unresolved@4100,registry:Unresolved@4361,registry:Unresolved@4514,registry:Unresolved@4632,registry:Unresolved@4708,registry:Unresolved@4820,registry:Unresolved@5360,registry:Unresolved@5439,registry:Unresolved@5637,registry:Unresolved@5937,registry:Unresolved@6064,registry:Unresolved@6546,registry:Unresolved@6576,registry:Unresolved@6800,registry:Unresolved@6948,registry:Unresolved@6985,registry:Version@5896,whole:HADeparture@1111,whole:HADeparture@1230,whole:HADeparture@1415,whole:HADeparture@1704,whole:HADeparture@2251,whole:HADeparture@2448,whole:HADeparture@2604,whole:HADeparture@350,whole:HADeparture@392,whole:HADeparture@4440,whole:HADeparture@5864,whole:HADeparture@6007,whole:HADeparture@6315,whole:HADeparture@7136,whole:HADeparture@7272,whole:HADeparture@914,whole:HADepartureHostScan@2042,whole:HADepartureHostScan@2062,whole:HADepartureHostScan@2823,whole:HADepartureHostScan@2891,whole:HADepartureHostScan@2925,whole:HADepartureHostScan@4934,whole:HADepartureHostScan@4950,whole:HADepartureHostScan@4991,whole:HADepartureHostScan@5321,whole:HADepartureHostScan@5337,whole:HADepartureHostScan@5614,whole:HADepartureHostScan@5630,whole:HADepartureHostScan@6214,whole:HADepartureHostScan@6230,whole:HADepartureScan@5801,whole:HADepartureScan@7070 3eaabd7116ba6372562421b983f496ec7099c434e8de69ceaf7138d8d3546fba |
| +@legacy 6d8f2744c8745fbbbaa7006761fe8b227759573f27dc4c935bcb6ae3b53101db internal/host/hadepartures_scan.go Controller.complete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read the durable departure/scan and current inventory, then conditionally delete only the retained exact edges key/revision. Reread uncertain results and refuse replacement identities. Persist deletion and acknowledged index phases before complete; queue receipts stay in memory and only complete rows acknowledge. Fresh process evidence is required before authority checkpoint reuse. Fix r1/P15: ignore the old scan-level ETag override and delete only the original departure ETag. Exact-key readback retries the same tag; a changed tag is never deleted and advances only with a different verified iid under the same ref/account/scope, otherwise holds and pages. Persist permission fault episodes; route completion faults through bounded retry. No new filesystem or executable input. B4 fix r4/P18 supersedes fixed-ref deletion: only the deterministic account/iid group reference may delete its retained exact ETag. Every other ref performs an exact-key GET and stays pending unless absent or the existing verified newer-incarnation check succeeds; the live replacement file is left intact. Group revision changes stay pending. No new key or authority read. B5: Increment completion counter only after the durable complete phase; C4 ordering stays after that commit.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: drops the per-departure nudge bookkeeping (moved to a fixed-size global limiter). Completion gates, exact-ETag deletion and reads unchanged. registry:Cursor@1830,registry:DeleteUncertain@2065,registry:DeleteUncertain@3484,registry:DeleteUncertain@3869,registry:Generation@1727,registry:Generation@1866,registry:Hosts@4708,registry:InventoryGeneration@1917,registry:PermissionAlerted@2354,registry:PermissionAlerted@3239,registry:PermissionAlerted@4013,registry:PermissionAlerted@4417,registry:PermissionAlerted@841,registry:PermissionAlerted@883,registry:Phase@1002,registry:Phase@1042,registry:Phase@1538,registry:Phase@262,registry:Phase@3363,registry:Phase@4131,registry:Phase@680,registry:Phase@950,registry:Phase@967,registry:Rescan@1846,registry:Version@665,whole:HADeparture@315,whole:HADeparture@442,whole:HADeparture@4757,whole:HADepartureHostScan@4710,whole:HADepartureScan@643 41879efe4f77d92315e4ebf7e442472c9a0813f674206002cc6e123007df373c |
| +@legacy 1ad2ffeca0fd356083f7d5c66c7513defae9ad279ab813cbf755a101a3c80c31 internal/host/hadepartures_wiring.go armHADepartures legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Install proof adapter, adoption identity and suspicion callbacks before asynchronous startup. Lazily retry the same deployment/data clients; lifetime callback reads only the current host through ExecBackend.TerminationLifetime. Add bounded structured paging for unresolved per-iid records. No new bucket, tenant input path or acquire bypass. B4: Wire the shared lock reader and existing AdoptHost entry. Read local route, Pair and duty revision only after authoritative inventory eligibility; bind its record lifetime and refuse missing/mismatched local routes. No route synthesis or pool widening. B5: Publish the armed controller to the existing metrics sampler. No new loop, remote source or process authority.;rev3=census-ruling-region-ha-followups;basis=Inject the existing PageOperator function into the backend when HA departures are armed; no new read or paging transport.;rev3=census-ruling-region-ha-p3b;basis=Require group admission/BeginWork callbacks and pass them into the sole departure consumer, including the production adoption closure. Same store, identity and registry reads; consumer Started remains a lifecycle fact, not duty authority.;rev3=census-ruling-region-ha-p1b3b-s;basis=Carry the actual provisionTickConfig pools and inbound posture into CanAdopt; stamped sidecars use the existing production adopter. Legacy unresolved paging remains. No wider tenancy or new remote source.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: wires the controller's RequestInventory hook to the agent's early-backstop signal. No new store, read or loop. registry:Account@3745,registry:Account@7507,registry:App@7534,registry:IID@3766,registry:Incarnation@7694,registry:Pool@7553,registry:Region@3756,registry:Region@7574,registry:Revision@7929,registry:Revision@8326,registry:ServingSeq@7722,whole:DutyState@8048,whole:Pair@7911,whole:Pair@8304,whole:Pair@8310,whole:Route@7494,whole:Route@8203 08ef34ee5b0ecf3511984ad806032754f20b5912c1c4016dfeb55fa1206850b9 |
| +@legacy a3f3193802fa5a65448a55136357d372c91e2a0f0892301d5ec823aef464d76a internal/provision/poolwithdrawal.go PoolWithdrawalBackoff.pending legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Store supplied normalized route, configured membership and five-minute deadline in memory after a pending withdrawal; no I/O.;rev3=census-ruling-region-ha-g2r-fixes;basis=W1: pending backoff starts at 30 s and doubles to the existing 5 min cap while the route row and pool membership are unchanged; it reads the in-memory Route value it is handed (Host and the row fields it already stored) to compare. No I/O. registry:Host@314,registry:Host@438,whole:Route@255,whole:Route@339,whole:Route@346,whole:Route@469,whole:Route@474 929b0a3cb56ff38d4fc6cabead3edcfbd1b4e2321771bb15286b4a65964dc0e5 |
| +@legacy 92bb76dcea7acd2c7d5b2bb1348016e53c5c6a32dc6ec67014e97c96f419a2d6 internal/provision/poolwithdrawal.go ReconcileConfig.withdrawPools legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=List local routes and apply the five-minute pre-read backoff only to enumerated terminal pending causes; stopping and successful completed proofs proceed on the next tick. Row and membership changes still reset it. Retain fresh record checks before and after proof and guarded SQL deletion; invoke fence cleanup only after successful deletion. No new reads, object writes or authority.;rev3=census-ruling-region-ha-g2r-fixes;basis=W1: on a successful withdrawal clears that host's backoff entry by rt.Host (in-memory Route field already listed). Fresh record checks, guarded SQL deletion and fence cleanup unchanged; no new read or write. registry:Host@1486,registry:Host@1600,registry:Host@1983,registry:Host@910,whole:ImportJournal@940,whole:Route@1044,whole:Route@1259,whole:Route@1380,whole:Route@1824,whole:Route@371,whole:Route@406,whole:Route@445,whole:Route@513,whole:Route@556,whole:Route@635,whole:Route@814 51a894fb092f94161e2d65dd9bfdaa1477c09f1a3a64cb0acbdf91a18918d1ca |
| +internal/activator/poolwithdrawal.go Service.PreparePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Reap completed obsolete withdrawal jobs, then read current route and require supported matching ownership and pool ineligibility before installing an owned fence and scheduling stop/release proof. Return each completed failure once on the next matching call regardless of elapsed time, retaining the job for fence cleanup; a later call starts a new proof. Successful proof consumption and safety checks unchanged; no new read or bucket write.;rev3=census-ruling-region-ha-g2r-fixes;basis=W1: carries the proof's underlying cause on the pending error (wrapped, codes unchanged) so proof_finish can log it. Same reads, same fence, stop/release proof and ownership checks; no new path, record write or authority. registry:ClaimOwnership@784,registry:ClaimOwnership@810,registry:DBPath@753,registry:DBPath@771,registry:Host@1017,registry:Host@1048,registry:Host@1235,registry:Host@1259,registry:Host@1393,registry:Host@1701,registry:Host@390,registry:Host@678,registry:Host@893,registry:Host@922,registry:Host@961,registry:Host@990,registry:Kind@726,registry:Kind@742,whole:ClaimOwnership@792,whole:ClaimOwnership@813,whole:Route@1500,whole:Route@1507,whole:Route@1657,whole:Route@1664,whole:Route@235,whole:Route@428,whole:Route@484,whole:Route@528,whole:Route@551,whole:Route@719,whole:Route@728,whole:Route@755,whole:Route@786 23c8255b83e4d22fda9239aec0fd1ff48b17d7550087132a833340e0915341c6 |
| +internal/activator/poolwithdrawal.go Service.poolWithdrawalProof legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New withdrawal proof uses existing fence/stop, cgroup, record/lifetime, holder-lock, obligation, local release-record/stat and registry timer/route readers. Requires proven stop and clean release or safe never-started state; retains outstanding duties and special rows. No new path namespace or record write; local files use existing backend layout.;rev3=census-ruling-region-ha-g2r-fixes;basis=W1: each pending return wraps the error that caused it (cgroup/nested readiness, record, lock) instead of discarding it. Same readers and proof conditions; no new read or write. registry:Addr@1111,registry:Addrs@1128,registry:Args@1185,registry:DBPath@1146,registry:HA@1351,registry:Hibernate@1076,registry:Host@1597,registry:Host@2113,registry:Host@2373,registry:Host@2582,registry:Host@279,registry:Host@3886,registry:Host@3979,registry:Host@434,registry:Host@469,registry:Host@508,registry:Host@539,registry:Host@621,registry:Host@658,registry:Host@897,registry:Kind@1034,registry:Kind@1292,registry:Kind@1396,registry:NextDue@4142,registry:Runtime@1165,registry:Socket@1092,registry:WakeIncarnation@1263,registry:WakeIncarnation@1876,whole:Route@115,whole:Route@1452,whole:Route@1681,whole:Route@2208,whole:Route@2368,whole:Route@2631,whole:Route@4006,whole:Route@4050,whole:Route@4073,whole:Route@4096,whole:Route@977,whole:Timer@4170 ad0b020f5e71c29b973cb88ba093f6246de2f6df067cdbd683b6b0d9bfe678b4 |
| +internal/activator/poolwithdrawal.go Service.provePoolWithdrawal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Run withdrawal proof under service lifetime with a five-minute budget and store its result without a wall-clock retry expiry; cached route Host for logging, indirect reads owned by poolWithdrawalProof. No new read or change to the proof itself.;rev3=census-ruling-region-ha-g2r-fixes;basis=W1: logs cause=<err> beside the existing code at proof_finish. Same budget and stored result; no new read. registry:Host@131,registry:Host@430,registry:Host@552,whole:Route@135,whole:Route@434,whole:Route@556 40e50728ef97075f040c4a223f07a3300b0701e273513eb2c8787f2bd5a519c7 |
| +internal/edge/assetcatch.go Edge.serveAssetFar legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-asset-cache-3;basis=in the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): new (asset cache plan 3 Task 6): the far catch on a box with no route row for the host. It answers from this box's asset store, or fills over the backhaul from the home box under a signed fill assertion (carlos-asset-fill-v1) and stores only an acknowledged response. Its three sites are one synthetic row, registry.Route{Host, Account, App, Kind: instance}, built from the request host and the owner the home box's edges file publishes, passed to the usage meter and to the account throttle (planThrottleAdmit), so a far delivery is metered and throttled under the published owner (drift D8). No registry row is read; nothing local is dialled; no root decision. Since then: runs the hard and probe checks before the store is read, as ServeHTTP runs them (final review F1): edgeguard.Check, a pure in-memory matcher on r.URL.Path and RawQuery, through guardDecide, unless protection is off or the request came over a tunnel; a block is answered with the block page and metered under the synthetic row; a matched request is recorded through observeRecords(rt, false, r, ...) whenever this edge wrote the answer itself: a hit, the block page, a throttle refusal, or any answer written before a hop reached the home (a backhaul refusal, the no-key 503, a failed dial's 502; arrival is seen by an httptrace WroteHeaders hook on the request's context, a callback that reads nothing); a request a hop delivered to the home is judged and recorded there under the home's own mode, as for any backhauled request (fix waves 4 and 5: ordinary-backhaul parity); refusals and forwards write through the counting writer so the record carries the client's status; the one added site is that observeRecords pass of the same synthetic registry.Route{Host, Account, App, Kind: instance} (+whole:Route); no new kind of read;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: one call to observeRegional("asset-fill", host), a test hook that is a nil atomic pointer in production; no read added, no behaviour changed;rev3=census-ruling-console-protection-tab;basis=the far catch's defer now also calls observeGuardCount(rt, out) for the same synthetic registry.Route{Host, Account, App, Kind: instance} it already hands the meter and observeRecords (+whole:Route), under the same "this edge answered it" condition (billed, or a hop never reached the home), whether or not the guard matched; observeRecords still runs only on a match, as before. A count in memory only; no new kind of read; the guard check, block page and backhaul are unchanged.;rev3=census-ruling-probe-burst-limit;basis=the far catch's guard state is built for the same synthetic registry.Route{Host, Account, App, Kind: instance} (newGuardState(rt), for the owner's record-only switch), and its defer counts the request toward the probe-burst limit (noteBurst(rt, ...), in memory) when this edge answered it or the home acknowledged a fill; an httptrace WroteHeaders hook on an ordinary forward marks the request as the home's to count; the two added sites are that same synthetic route (+whole:Route x2); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): returns false at the top when markedRequest(r) is true, so a request that arrived with carlos_hold=1 is not treated as an asset request and goes on to the backhaul and the home edge classification. Reads the mark in the request context; no read added.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: passes the door-checked owner into backhaulTo so the remembered holder and connect-failure fallback are used only for that same owner; otherwise dials the box Owner named. No new read; edges-file view only. whole:Route@1540,whole:Route@2305,whole:Route@2356,whole:Route@3069,whole:Route@3673,whole:Route@4636,whole:Route@4643 9e94aef3294b0d1e3cca4439557cfab11ea2f17240e8691bac4c9c1f2d174d85 |
| +internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site. file:ReadAll@16764,registry:Account@8267,registry:App@22921,registry:App@8291,registry:ClaimStamp@8321,registry:Gate@15738,registry:Gate@27312,registry:Gate@27372,registry:Gate@27430,registry:Host@27415,registry:Host@8498,registry:ImportGate@34815,registry:Incarnation@8356,registry:Kind@21783,registry:Kind@25221,registry:Kind@34757,registry:Kind@34786,registry:ServingSeq@8390,whole:Route@15633,whole:Route@15744,whole:Route@18561,whole:Route@19345,whole:Route@19803,whole:Route@19995,whole:Route@21786,whole:Route@22847,whole:Route@22913,whole:Route@22924,whole:Route@23177,whole:Route@23272,whole:Route@23348,whole:Route@23392,whole:Route@23694,whole:Route@23724,whole:Route@25224,whole:Route@25509,whole:Route@27315,whole:Route@27375,whole:Route@27418,whole:Route@27433,whole:Route@28351,whole:Route@30414,whole:Route@34760,whole:Route@34789,whole:Route@34818,whole:Route@34850,whole:Route@36698,whole:Route@6341,whole:Route@6440,whole:Route@6535,whole:Route@8270,whole:Route@8294,whole:Route@8324,whole:Route@8359,whole:Route@8393,whole:Route@8501 dfce2dc47f3126e3d8671eb75efd6046e81dbd0c321b688b348b2fa4072174e1 |
| +internal/edge/wildcard.go newWildcardFromEnv legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-agent-start-demo-1;basis=Includes the configured demo domain in the existing wildcard manager's explicit parent input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W2a: on a gated box (issuer gate armed: store and mirror exist) with no DNS provider, builds a serve-only wildcard manager that loads and serves wildcard PEMs from the existing local cache/mirror and never orders (dns nil never reaches obtain). Ungated boxes still get nil. Same parent inputs; no new path or provider credential read. registry:Host@6617,whole:WildcardDomain@6564,whole:WildcardDomain@6590 94506e90153038531bbb2d8f35d919ccd8ccaaec5f1135311d9080d3e10d1903 |
| +internal/host/agent.go runAgent authority B,C,D,F rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-region-ha-p1b3a;basis=Arm HA placement exactly once on the existing Service before activatorStart and edges publication, wiring AwakeApps and the PageOperator callback; existing six read sites unchanged, no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: start the concrete coordinator's renewal worker with agent setup; existing closeReplicaCoordinator shutdown cancels and joins it before release. No new read sites or credentials. Merge origin/main c59715e7: retain main's armHAPlacement(svc, PageOperator) wiring beside the existing activator setup; stateless coordinator and shutdown wiring remain. Same read sites; no new root read or credential.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): in the edge-ready callback, calls act.SetHeldWakeHook(e.HeldWake) when act is non-nil (installing the non-blocking wake callback) and stores e.HeldStreamsForStatus in heldStreamsSource. Wiring of in-memory callbacks only; no read added.;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Service.SetDutyView to the live edge DutySnapshot in the ready callback. No new read; no new loop or cloud operation. B2 wires the registry as the persistent DutyStore before service startup; no new cloud or filesystem path. B3b: arm one journal-backed termination consumer before service startup using agentCtx and the shared confirmer; expose edge tick and join at edge shutdown. No new direct read sites.;rev3=census-ruling-agent-start-demo-1;basis=Passes the existing registry, data store and hibernation prefix into the demo worker, and the existing instance-control client into the demo before-exec hook. No alternate data store or polling loop. Merge resolution against origin/main 9bd45488 retains main's HA departure controller, lifecycle and duty wiring alongside the demo data store and worker; no read site added by the resolution.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: install closed fixed admission before every launch source, bind activator/backend and edge, wire the real termination Started lifecycle and role reader after the change index; close before cancellation/child shutdown. No new external reads or cloud authority. Fix R1: move bind/lifecycle/edge-option wiring into wireAgentAdmission and worker listing into runWorkerBootPassAfterAdmission. Worker boot waits for admission before listing then uses unchanged bounded wakes and per-host serialization; whole Route read moves to the helper. No new storage, cloud, or root execution authority. Preserve merged main's agent wiring and census basis; the branch removes one whole Route use by moving worker iteration to the helper, with no added read kind.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: arms a fleet-only worker using the existing registry, activator, backend and authenticated console transport. Owned worker stops and joins at shutdown. No new bucket reader. merge of origin/main 9b8b2c50: retain HA duty/departure lifecycle, wake-slot and existing agent wiring alongside the replica placement worker; no new read introduced by resolution. merge of origin/main 6be08467: Retain main demo configuration, admission, build and expiry wiring alongside the replica worker; merge-only body change, no additional read. merge of origin/main 7920cccf: Retain main box-role/group admission wiring and boot publication beside the owned replica worker and shutdown; main moves the boot registry List into runWorkerBootPassAfterAdmission, removing its inline whole Route site. No new read introduced by conflict resolution.;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 M3: retain the private snapshot source and cancel/join ownership, but use the replica-health-specific retry loop. It logs its first failure only and retains the existing exponential backoff capped at 30 seconds; unsupported builds return nil. Existing five direct read sites unchanged; no new credentials, bucket reader or app lifecycle action. Fix round 1 Q20: publish Edge.ReplicaSnapshots as a separate in-memory status source, leaving the tenant-visible Upstreams source unchanged. No new external reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Load root-written group marker/configuration, configure signed boot binding and agent receipt completer, wire cancellable admission into departure work and expose cached GroupReaderSnapshot. New indirect boot reads use protected root files; agent-owned receipt controls duplicate initial completion only, never root restart permission. Same five direct sites. Merge 45cebde4 retains the replica health socket lifecycle and setReplicaSource beside GroupReaderSnapshot; no extra read beyond main.;rev3=census-ruling-agent-start-demo-2;basis=agent.go:309-329 opens demo-traffic.db beside the operator-configured registry when a demo domain exists, closes it at shutdown and wires drain-before-purge; :1010-1019 shares the worker and write gate; :1164-1177 installs the fleet identity and closed-until-worker serving callback. One added whole Route pass; the new indirect filesystem/SQL reads are claimed in openDemoTraffic and worker/store units. No request chooses the database pathname.;rev3=census-ruling-region-ha-p1b3b-s;basis=Wire the service duty view to authoritative cached sidecar manifest placement in LifetimeIndex and the edge sidecar projection; missing policy denies duty. Existing instance duty wiring remains.;rev3=census-ruling-region-ha-g2-t3;basis=T3a: wire eb.Page = PageOperator beside OwnerTerminated before departures arm, so suspect-holder pages work if departure setup fails; no new read; existing nine sites and authority unchanged; pages through the existing sink. T3b: publish the same backend through an atomic pointer for the metrics observer, and clear it on return; no new external read or authority.;rev3=census-ruling-agent-start-demo-3;basis=Wire the claim activator and root snapshot client into the demo worker; pass moved readiness to status reporting. Census read-site delta: unchanged (9).;rev3=census-ruling-region-ha-g2-fixes;basis=Wire local pool evidence, live withdrawal activator, startup ingress scan and alias publication, and edge lookup; no new direct sites; new indirect record/claim reads use existing store/judge paths described in ingress helpers.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: starts the existing record-view backstop loop with a departure-inventory listener (non-blocking, coalesced signal) even without an armed RecordView; it requests the existing full pass (backstopFullDue) there. Same nine read sites; no new read or authority. file:Exec@19204,file:Open@1707,file:Statfs@50299,registry:App@12803,registry:Host@46381,whole:Route@12795,whole:Route@45539,whole:Route@46504,whole:Route@46566 f2a34cf9f317ae42e512975d49b2eb7522bb688db88cd036338a60d20a387f5d |
| +internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read. registry:Cursor@1984,registry:Cursor@2690,registry:Cursor@2773,registry:Cursor@2785,registry:Cursor@6512,registry:Cursor@6618,registry:Cursor@6969,registry:Generation@1925,registry:Generation@1956,registry:Generation@6492,registry:Generation@6650,registry:Hosts@2040,registry:Hosts@2060,registry:Hosts@2821,registry:Hosts@2889,registry:Hosts@4932,registry:Hosts@5319,registry:Hosts@5612,registry:Hosts@6212,registry:InventoryGeneration@1858,registry:Lifetime@2850,registry:NotBefore@3199,registry:NotBefore@3240,registry:NotBefore@4900,registry:NotBefore@5289,registry:NotBefore@5576,registry:Observed@4443,registry:Observed@4597,registry:Observed@5172,registry:Observed@5206,registry:Phase@1448,registry:Phase@1901,registry:Phase@2118,registry:Phase@4153,registry:Phase@634,registry:Phase@689,registry:Phase@729,registry:RecordDigest@3161,registry:RecordDigest@5229,registry:Rescan@1999,registry:Rescan@3141,registry:Rescan@4322,registry:Rescan@5346,registry:Rescan@6527,registry:Rescan@6684,registry:Rescan@6937,registry:Result@4870,registry:Result@5264,registry:Result@6178,registry:Unresolved@2018,registry:Unresolved@3070,registry:Unresolved@3260,registry:Unresolved@3478,registry:Unresolved@3542,registry:Unresolved@3740,registry:Unresolved@4100,registry:Unresolved@4361,registry:Unresolved@4514,registry:Unresolved@4632,registry:Unresolved@4708,registry:Unresolved@4820,registry:Unresolved@5360,registry:Unresolved@5439,registry:Unresolved@5637,registry:Unresolved@5937,registry:Unresolved@6064,registry:Unresolved@6546,registry:Unresolved@6576,registry:Unresolved@6800,registry:Unresolved@6948,registry:Unresolved@6985,registry:Version@5896,whole:HADeparture@1111,whole:HADeparture@1230,whole:HADeparture@1415,whole:HADeparture@1704,whole:HADeparture@2251,whole:HADeparture@2448,whole:HADeparture@2604,whole:HADeparture@350,whole:HADeparture@392,whole:HADeparture@4440,whole:HADeparture@5864,whole:HADeparture@6007,whole:HADeparture@6315,whole:HADeparture@7136,whole:HADeparture@7272,whole:HADeparture@914,whole:HADepartureHostScan@2042,whole:HADepartureHostScan@2062,whole:HADepartureHostScan@2823,whole:HADepartureHostScan@2891,whole:HADepartureHostScan@2925,whole:HADepartureHostScan@4934,whole:HADepartureHostScan@4950,whole:HADepartureHostScan@4991,whole:HADepartureHostScan@5321,whole:HADepartureHostScan@5337,whole:HADepartureHostScan@5614,whole:HADepartureHostScan@5630,whole:HADepartureHostScan@6214,whole:HADepartureHostScan@6230,whole:HADepartureScan@5801,whole:HADepartureScan@7070 3eaabd7116ba6372562421b983f496ec7099c434e8de69ceaf7138d8d3546fba |
| +internal/host/hadepartures_scan.go Controller.complete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read the durable departure/scan and current inventory, then conditionally delete only the retained exact edges key/revision. Reread uncertain results and refuse replacement identities. Persist deletion and acknowledged index phases before complete; queue receipts stay in memory and only complete rows acknowledge. Fresh process evidence is required before authority checkpoint reuse. Fix r1/P15: ignore the old scan-level ETag override and delete only the original departure ETag. Exact-key readback retries the same tag; a changed tag is never deleted and advances only with a different verified iid under the same ref/account/scope, otherwise holds and pages. Persist permission fault episodes; route completion faults through bounded retry. No new filesystem or executable input. B4 fix r4/P18 supersedes fixed-ref deletion: only the deterministic account/iid group reference may delete its retained exact ETag. Every other ref performs an exact-key GET and stays pending unless absent or the existing verified newer-incarnation check succeeds; the live replacement file is left intact. Group revision changes stay pending. No new key or authority read. B5: Increment completion counter only after the durable complete phase; C4 ordering stays after that commit.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: drops the per-departure nudge bookkeeping (moved to a fixed-size global limiter). Completion gates, exact-ETag deletion and reads unchanged. registry:Cursor@1830,registry:DeleteUncertain@2065,registry:DeleteUncertain@3484,registry:DeleteUncertain@3869,registry:Generation@1727,registry:Generation@1866,registry:Hosts@4708,registry:InventoryGeneration@1917,registry:PermissionAlerted@2354,registry:PermissionAlerted@3239,registry:PermissionAlerted@4013,registry:PermissionAlerted@4417,registry:PermissionAlerted@841,registry:PermissionAlerted@883,registry:Phase@1002,registry:Phase@1042,registry:Phase@1538,registry:Phase@262,registry:Phase@3363,registry:Phase@4131,registry:Phase@680,registry:Phase@950,registry:Phase@967,registry:Rescan@1846,registry:Version@665,whole:HADeparture@315,whole:HADeparture@442,whole:HADeparture@4757,whole:HADepartureHostScan@4710,whole:HADepartureScan@643 41879efe4f77d92315e4ebf7e442472c9a0813f674206002cc6e123007df373c |
| +internal/host/hadepartures_wiring.go armHADepartures legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Install proof adapter, adoption identity and suspicion callbacks before asynchronous startup. Lazily retry the same deployment/data clients; lifetime callback reads only the current host through ExecBackend.TerminationLifetime. Add bounded structured paging for unresolved per-iid records. No new bucket, tenant input path or acquire bypass. B4: Wire the shared lock reader and existing AdoptHost entry. Read local route, Pair and duty revision only after authoritative inventory eligibility; bind its record lifetime and refuse missing/mismatched local routes. No route synthesis or pool widening. B5: Publish the armed controller to the existing metrics sampler. No new loop, remote source or process authority.;rev3=census-ruling-region-ha-followups;basis=Inject the existing PageOperator function into the backend when HA departures are armed; no new read or paging transport.;rev3=census-ruling-region-ha-p3b;basis=Require group admission/BeginWork callbacks and pass them into the sole departure consumer, including the production adoption closure. Same store, identity and registry reads; consumer Started remains a lifecycle fact, not duty authority.;rev3=census-ruling-region-ha-p1b3b-s;basis=Carry the actual provisionTickConfig pools and inbound posture into CanAdopt; stamped sidecars use the existing production adopter. Legacy unresolved paging remains. No wider tenancy or new remote source.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: wires the controller's RequestInventory hook to the agent's early-backstop signal. No new store, read or loop. registry:Account@3745,registry:Account@7507,registry:App@7534,registry:IID@3766,registry:Incarnation@7694,registry:Pool@7553,registry:Region@3756,registry:Region@7574,registry:Revision@7929,registry:Revision@8326,registry:ServingSeq@7722,whole:DutyState@8048,whole:Pair@7911,whole:Pair@8304,whole:Pair@8310,whole:Route@7494,whole:Route@8203 08ef34ee5b0ecf3511984ad806032754f20b5912c1c4016dfeb55fa1206850b9 |
| +internal/provision/poolwithdrawal.go PoolWithdrawalBackoff.pending legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Store supplied normalized route, configured membership and five-minute deadline in memory after a pending withdrawal; no I/O.;rev3=census-ruling-region-ha-g2r-fixes;basis=W1: pending backoff starts at 30 s and doubles to the existing 5 min cap while the route row and pool membership are unchanged; it reads the in-memory Route value it is handed (Host and the row fields it already stored) to compare. No I/O. registry:Host@314,registry:Host@438,whole:Route@255,whole:Route@339,whole:Route@346,whole:Route@469,whole:Route@474 929b0a3cb56ff38d4fc6cabead3edcfbd1b4e2321771bb15286b4a65964dc0e5 |
| +internal/provision/poolwithdrawal.go ReconcileConfig.withdrawPools legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=List local routes and apply the five-minute pre-read backoff only to enumerated terminal pending causes; stopping and successful completed proofs proceed on the next tick. Row and membership changes still reset it. Retain fresh record checks before and after proof and guarded SQL deletion; invoke fence cleanup only after successful deletion. No new reads, object writes or authority.;rev3=census-ruling-region-ha-g2r-fixes;basis=W1: on a successful withdrawal clears that host's backoff entry by rt.Host (in-memory Route field already listed). Fresh record checks, guarded SQL deletion and fence cleanup unchanged; no new read or write. registry:Host@1486,registry:Host@1600,registry:Host@1983,registry:Host@910,whole:ImportJournal@940,whole:Route@1044,whole:Route@1259,whole:Route@1380,whole:Route@1824,whole:Route@371,whole:Route@406,whole:Route@445,whole:Route@513,whole:Route@556,whole:Route@635,whole:Route@814 51a894fb092f94161e2d65dd9bfdaa1477c09f1a3a64cb0acbdf91a18918d1ca |
| +@coverage internal/activator d11b21d552097fcc88f6634a70d6679b717d2058398046f9da08742946cac831 |
| +@coverage internal/edge ef262ab62fe22fae643e49f33871091fcc66b5c05fa8307b256cf4a213d358c8 |
| +@coverage internal/host 8e13242ea2bd9e8e201301346d2fe87df877d38e296acae067ef20c309d5d953 |
| +@coverage internal/provision 1c806bf00881474e507d1370365a6981e82e5c712e7f7f149b2584913bc9a8b8 |