| index 1bd147918..d2109e9b6 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-region-ha-p3b.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-region-ha-p3b.tsv |
| @@ -9,7 +9,7 @@ |
| @legacy a22653864f7c1f0e8e81fe8188628b19b69430ca68e0bea1b60208d31df17e09 infra/modules/region-host/tests/instance_metadata.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-c2-root-exec-inputs;basis=now fingerprinted: a tofu test file under infra/ (every regular file there is in scope); run by tofu test on an operator machine, never on a box; unchanged bytes;rev3=census-ruling-region-ha-p3b;basis=Adjust fixed metadata assertions to aws_instance.host[0] and pin mock region; IMDSv2 requirement and hop limit stay intact. Test-only Terraform input, no root runtime read. file:external@0 5486af700cd06a81faa8d7647d01e2113aec1d5febaa6e8bf8786127e28c857c |
| @legacy de6606e8da8c127dce6036454924967e72fe92c270de3f0534eb3976391efb56 infra/modules/region-host/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-invite-delivery;basis=tofu on an operator's machine with the operator's AWS credentials (no box unit; no binary embeds the file): main's variables with console_mail_from (validated as one lowercase address) and console_mail_region, both empty by default; no read is added and nothing on a box reads the file;rev3=census-ruling-hunt-account-root-hardening;basis=adds deny_release_key_reads (bool, default true); no read is added and nothing on a box reads the file;rev3=census-ruling-region-ha-p3b;basis=Add default-fixed mode and validated group count, zones, pinned image/release/template, ingress, configuration key and transaction-open refusal. Operator-supplied Terraform values select root boot inputs; no direct box runtime read and no group activation by default. file:external@0 2a0fed508bc7cb256847b8c8c6757594ee7ef65c6147484352ab566eeb904bf6 |
| @legacy 59b9e876f75b8431b77198fe34b01d10ab4848465350d2abc4693d6b1507f65c internal/boxroles/roles.go Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Two point GETs of validated own and canonical-region desired-role keys; strict bounded parsing, errors never default to serve; no filesystem read or root authority grant.;rev3=census-ruling-region-ha-p3b;basis=Replace release.Store parameter with minimal Getter interface to remove dependency cycle. Same two validated own/default role GETs, parsing and absent-both serve fallback; no new read or role writer. file:Read@5 81b66ec727e85db639652220d9b1e3fbb13e2c8655e4b2cbd06b263f5908490a |
| -@legacy c568aad316433be7323744f2bcaf97d8a6868fabb5597861417149aeea54bdf0 internal/edge/edge.go RunWithActivatorReady legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-region-ha-p3b;basis=Wrap dev, HTTP and HTTPS listeners through ConfigureGroupHairpin before serving. Indirectly read protected root boot identity and group-ingress.json; kernel local/peer addresses mark local ingress, never HTTP headers. Agent edge uses verified public source for accounting; direct read sites unchanged and absent marker keeps original listeners. data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 7cfcc4650a84598b59ab6467d00ec59737c1b757c68b184d07a9c80887ba99de |
| +@legacy 092a64abad822e72bb64bd5c8cba7d131027b5e360b54a915b4b313d4a31af5d internal/edge/edge.go RunWithActivatorReady legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-region-ha-p3b;basis=Wrap dev, HTTP and HTTPS listeners through ConfigureGroupHairpin before serving. Indirectly read protected root boot identity and group-ingress.json; kernel local/peer addresses mark local ingress, never HTTP headers. Agent edge uses verified public source for accounting; direct read sites unchanged and absent marker keeps original listeners. CI fix removes interface enumeration: local peer must match snapshot primary IPv4, an ingress IPv4 installed locally by root, or loopback; kernel destination must still be an ingress EIP on port 80/443. data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 7cfcc4650a84598b59ab6467d00ec59737c1b757c68b184d07a9c80887ba99de |
| @legacy 7e180aa4af0837462e7b1017e22d3a5d3535cc1eab19c880ab411aca96de1d2b internal/host/group_admission.go fixedAdmission.bind legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: share the in-memory admission/effective-role predicate with HTTP, service and backend checks; whole Route is used only for fixed-route classification. Refuse without acquire, restore or launch; no new filesystem/store read. Fix R1: also bind the response-phase callback to the same fixedAdmission; invoked by runAgent through wireAgentAdmission before arming the departure consumer. Existing whole Route predicate only; no new external read.;rev3=census-ruling-region-ha-p3b;basis=Bind activator TenantAdmittedFunc to TenantAdmitted so successful hairpin activation is also required before tenant service. Same registry route closure/read, no new input; group has no fixed platform exemption. whole:Route@378 9faf6a21e035c6158d8983f50732b9486e42e9860875354d091db1b363492d8c |
| @legacy f013a40926a752ec008d80da5956b0bbe283997f274e579075cfaa87aaa8ea10 internal/host/hadepartures.go Controller.record legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Inspect only local durable completion before acknowledging the current in-memory queue receipt. Never serialize a reusable receipt or use an incomplete journal row as completion.;rev3=census-ruling-region-ha-p3b;basis=Closed group members journal even malformed termination hints without deleting SQS receipts; identity resolution/ack runs only when admitted and registered work is cancellable. Same registry read sites; durable agent evidence is not termination confirmation or root permission. registry:Phase@923,whole:HADeparture@978 e411deb4e9991775b08dec040267c1eea985fb80bf6738f774497ac62571d637 |
| @legacy 600d26f1eed1677b203fa81f175f5f5eac3662523fc4e24abc7f17f8f30f83d2 internal/host/hadepartures.go Controller.step legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: resolve bound same-scope identities, persist validated termination proof before enrollment, and replay bounded pending work outside consumer/fold locks. Existing regional data client and shared cache; inventory only restricts completion, never lifecycle. B3 fix r1: Describe before proof access on suspicion paths. Normalize validated legacy inbox entries in atomic transactions, process bounded per-iid pending pages, and persist hourly escalation. Delete unrelated rows only after complete applicable walks and guarded received timestamps. Acquire/completion authority unchanged. B4: Count unresolved durable hints for the globally throttled summary and call the bounded scanner outside the fold. Acknowledge unrelated hints only after complete applicable discovery; complete departure acknowledgment reads durable state. B4 fix r3: Include refused fixed-box replacements in the existing structured receiver summary, sharing its persisted hourly page claim with pending hints. Read only local refusal state and registry page state; no additional cloud request or completion authority.;rev3=census-ruling-region-ha-p3b;basis=Register admitted departure work and cancel/join it during closure before existing confirmation/import processing. Existing 23 read sites and lease/termination proofs remain; no new root input or takeover permission. file:Walk@2717,registry:Body@1979,registry:IID@2554,registry:IID@2971,registry:IID@3324,registry:IID@3357,registry:IID@4038,registry:Key@2081,registry:Key@2317,registry:LastBlocked@2872,registry:ReceivedAt@2300,registry:ReceivedAt@3255,whole:HADeparture@4980,whole:HADeparture@5948,whole:HADeparture@6271,whole:HAPendingTermination@2495,whole:HAPendingTermination@2912,whole:HAPendingTermination@3166,whole:HAPendingTermination@3449,whole:HAPendingTermination@3555,whole:HAPendingTermination@4114,whole:HAPendingTermination@4704,whole:HATerminationInbox@1939 f4508569902d401d776c293a9d52ebc224f6692ab3212346c96f24a487df897f |
| @@ -58,7 +58,7 @@ |
| @legacy 0cbeb17b443eacf21a701782869d5c66b04560a45910d0fb1fc1b00a863b7884 internal/host/systemunits.go ensureSystemUnitsWithGuard legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Move unit-repair body here with existing lock/unit/host.env reads; under lock require operator repair permit on groups before writes and each systemctl effect, preserve root masks/drop-in and omit automatic update/recovery units. New indirect protected marker/permit reads, never agent receipt; fixed repair unchanged. file:OpenFile@293,file:ReadFile@4702,file:ReadFile@4835,file:ReadFile@6293,file:Stat@4611 d6a4caa2e61eabb857c2c73a5910c4445b174ef4b68494e7ec8eb00660e24be2 |
| @legacy 76f691b2dd9a6f5c737b1d92737bc3946175fe9bfd55cde4197969f10ec004bd internal/host/units/carlos-edge-group.conf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Add group-only embedded drop-in requiring/ordering nftables and setting Restart=no. Root installs exact bytes and validates them during boot; no path or command from an agent/tenant and fixed edge unit bytes unchanged. file:external@0 c928ee10926bbf7600c71622a2f3d5d759cca4bb4834d0b51614bb60c8763de1 |
| @legacy 0aaea6f7d8de085bc6b63485ccb6becf30dd64f7f1b440fe4538527088a5a31a internal/hostenv/group.go installGroup legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Root executes its own verified bootstrap binary with fixed bootstrap and system install-channel arguments, parsed allowlisted host.env data, fixed trusted PATH/HOME and SDK retry setting, cwd /. No shell sourcing or inherited authority environment; bytes originate from root boot hash verification and operator-seeded SSM. file:CommandContext@608 5ddf7ea1966a1d797cd0c0166590993b8a63281d79287c12065b3ff2a480879c |
| -@legacy 7bcfacc84b880195c02fdcbd1bab99a24780feb79ce3e8a5b0d9bbb0d5af0400 internal/hostenv/group_linux.go readGroupFileAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Shared bounded root-input reader uses descriptor-held no-follow traversal, Fstat of protected ancestors and exact-owner/mode regular single-link leaf, size <=64KiB. Production root '/' and owner0 protect group marker/identity/ingress, region/drop-in and maintenance permit from agent/tenant writes; rejects symlinks and writable parents. file:Fstat@1232,file:Fstat@434,file:Fstat@871,file:Openat2@191,file:Openat@1013,file:Openat@691,file:ReadAll@1434 b2f5e34f88e97e30026334cdc98499dfdef0b1b284323bd5db3cad7512db33d4 |
| +@legacy ba7c0c3cfdb9b9a9e2cd90d36109c7423e5a464c6396916d75cbcf1a99c8acbe internal/hostenv/group_linux.go readGroupFileAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Shared bounded root-input reader uses descriptor-held no-follow traversal, Fstat of protected ancestors and exact-owner/mode regular single-link leaf, size <=64KiB. Production root '/' and owner0 protect group marker/identity/ingress, region/drop-in and maintenance permit from agent/tenant writes; rejects symlinks and writable parents. CI fix exposes the existing anchored reader through ReadGroupFileAt for 0700 test-owned roots; production ReadGroupFile still anchors at / and all descriptor, owner, mode, link and size checks are unchanged. file:Fstat@1232,file:Fstat@434,file:Fstat@871,file:Openat2@191,file:Openat@1013,file:Openat@691,file:ReadAll@1434 b2f5e34f88e97e30026334cdc98499dfdef0b1b284323bd5db3cad7512db33d4 |
| @legacy a7f42eac29dc4664ae99983f01180c2242353106614f17dc242295e9a94fc876 internal/instancectl/hairpin.go ClearGroupHairpin legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Root-only bounded reset acquires root hairpin lock/snapshot/state, queries current systemd agent and closes its identity even before enable; removes EIPs/exemption, then prepares dormant fence. New exec site is fixed systemctl wrapper; indirect root/kernel inputs only, agent receipt is not read. file:CommandContext@280,file:Prepare@918 7a443a013322d28318d3508de2e31931e54becac553ed33095475db03612d1c9 |
| @legacy 8431f0464897baa6f4fc2f00a1ff3b2d3efa087c98894846b8852ca2c6876450 internal/instancectl/hairpin.go InstallDormantGroupHairpin legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Root-only initial installer requires empty root saved state and no systemd agent, then prepares/verifies empty dummy/fence and saves closed state. Prepare selector plus indirect protected boot/kernel reads; cannot assign an EIP or exempt tenant traffic. file:Prepare@712 f80208521bb44fb5544566c0549a6cbd2e45a405122217ebefe7dd0c3bb3de5b |
| @legacy a303ff682fe17e1c699a75c196815be1a9feb98ae4f6d7514be074e641e38063 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-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. file:ReadAll@15679,registry:Account@7122,registry:App@21836,registry:App@7146,registry:ClaimStamp@7176,registry:Gate@14653,registry:Gate@26227,registry:Gate@26287,registry:Gate@26345,registry:Host@26330,registry:Host@7353,registry:ImportGate@33730,registry:Incarnation@7211,registry:Kind@20698,registry:Kind@24136,registry:Kind@33672,registry:Kind@33701,registry:ServingSeq@7245,whole:Route@14548,whole:Route@14659,whole:Route@17476,whole:Route@18260,whole:Route@18718,whole:Route@18910,whole:Route@20701,whole:Route@21762,whole:Route@21828,whole:Route@21839,whole:Route@22092,whole:Route@22187,whole:Route@22263,whole:Route@22307,whole:Route@22609,whole:Route@22639,whole:Route@24139,whole:Route@24424,whole:Route@26230,whole:Route@26290,whole:Route@26333,whole:Route@26348,whole:Route@27266,whole:Route@29329,whole:Route@33675,whole:Route@33704,whole:Route@33733,whole:Route@33765,whole:Route@35613,whole:Route@5457,whole:Route@7125,whole:Route@7149,whole:Route@7179,whole:Route@7214,whole:Route@7248,whole:Route@7356 49f580dcd395545c7b7c4f564405a4458a18c8d3a5ffa1bcd5115c39f265281c |
| @@ -70,7 +70,7 @@ infra/modules/region-host/tests/group_alarms.tftest.hcl external legacy accepted |
| infra/modules/region-host/tests/instance_metadata.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-c2-root-exec-inputs;basis=now fingerprinted: a tofu test file under infra/ (every regular file there is in scope); run by tofu test on an operator machine, never on a box; unchanged bytes;rev3=census-ruling-region-ha-p3b;basis=Adjust fixed metadata assertions to aws_instance.host[0] and pin mock region; IMDSv2 requirement and hop limit stay intact. Test-only Terraform input, no root runtime read. file:external@0 5486af700cd06a81faa8d7647d01e2113aec1d5febaa6e8bf8786127e28c857c |
| infra/modules/region-host/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-invite-delivery;basis=tofu on an operator's machine with the operator's AWS credentials (no box unit; no binary embeds the file): main's variables with console_mail_from (validated as one lowercase address) and console_mail_region, both empty by default; no read is added and nothing on a box reads the file;rev3=census-ruling-hunt-account-root-hardening;basis=adds deny_release_key_reads (bool, default true); no read is added and nothing on a box reads the file;rev3=census-ruling-region-ha-p3b;basis=Add default-fixed mode and validated group count, zones, pinned image/release/template, ingress, configuration key and transaction-open refusal. Operator-supplied Terraform values select root boot inputs; no direct box runtime read and no group activation by default. file:external@0 2a0fed508bc7cb256847b8c8c6757594ee7ef65c6147484352ab566eeb904bf6 |
| internal/boxroles/roles.go Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Two point GETs of validated own and canonical-region desired-role keys; strict bounded parsing, errors never default to serve; no filesystem read or root authority grant.;rev3=census-ruling-region-ha-p3b;basis=Replace release.Store parameter with minimal Getter interface to remove dependency cycle. Same two validated own/default role GETs, parsing and absent-both serve fallback; no new read or role writer. file:Read@5 81b66ec727e85db639652220d9b1e3fbb13e2c8655e4b2cbd06b263f5908490a |
| -internal/edge/edge.go RunWithActivatorReady legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-region-ha-p3b;basis=Wrap dev, HTTP and HTTPS listeners through ConfigureGroupHairpin before serving. Indirectly read protected root boot identity and group-ingress.json; kernel local/peer addresses mark local ingress, never HTTP headers. Agent edge uses verified public source for accounting; direct read sites unchanged and absent marker keeps original listeners. data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 7cfcc4650a84598b59ab6467d00ec59737c1b757c68b184d07a9c80887ba99de |
| +internal/edge/edge.go RunWithActivatorReady legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-region-ha-p3b;basis=Wrap dev, HTTP and HTTPS listeners through ConfigureGroupHairpin before serving. Indirectly read protected root boot identity and group-ingress.json; kernel local/peer addresses mark local ingress, never HTTP headers. Agent edge uses verified public source for accounting; direct read sites unchanged and absent marker keeps original listeners. CI fix removes interface enumeration: local peer must match snapshot primary IPv4, an ingress IPv4 installed locally by root, or loopback; kernel destination must still be an ingress EIP on port 80/443. data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 7cfcc4650a84598b59ab6467d00ec59737c1b757c68b184d07a9c80887ba99de |
| internal/host/agent.go fastConvergeLoop authority B3 rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): every pass context carries the box's lifetime judge (provision.WithLifetimes) and the reconcile config is boxProvisionConfig's; read sites unchanged, offsets moved; B3 authority retained;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 12: its pass config is now BoxProvisionConfig(reg, os.Getenv, judge, configure) (BoxProvisionConfig replaces boxProvisionConfig: the hub predicate hubArmed and, on the hub, ReconcileConfig.FleetOwners from hubFleetOwners); a call, no read site; read sites unchanged (2); B3 authority retained.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: wire the coordinator's nonblocking SignalTick to the existing fast tick. No new timer, polling read or authority.;rev3=census-ruling-region-ha-p3b;basis=Bind systemLeg to the existing cached reader fold and handle a nil leg on groups; names-2 rollback gate runs before artifact/request/marker work. Agent-memory evidence only, no new direct or cloud read and no autonomous group update. whole:Route@7781,whole:Route@8344 f98bc90c60fbbe3fea7753b6a68c20442cc9cbd26d4afe4b6ebd601dbd09f819 |
| 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-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. file:Exec@18416,file:Open@1707,file:Statfs@47800,registry:App@12128,whole:Route@12120 8a811ed2caef2c2ee3d8415b431c632d07cefc1a75d8d639fc840b696573e0dd |
| internal/host/claimstop_run.go RunInstanceControl authority C,D,G rev3=PROPOSED-p3;run=24;identity=root claim/adopt/update controller uid 0;basis=production root startup builds authenticated execution and launch handlers then uses activateClaimRoot for recovery, the registered census launch verifier and lifecycle start;rev3=census-ruling-rootfs-apps-2;basis=the claims-off path serves through instancectl.RunWithRegistryView with HostRuntime: instanceRegistryHostRuntime beside the same instanceRegistryHostApp(nil); the new read is instanceRegistryHostRuntime's own (a decision row in rootfs-apps-2-new); no read added in this body;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 4 and 6: the claims-off branch hands RunWithRegistryView the pre-claim egress asserter (newEgressAsserter over registryEgressSource and registryEgressHosts, which read the agent-written registry read-only, beside the instanceRegistryHostApp read it already had); the claims branch builds its runtime resources in instanceControlClaimResources, adding the claims asserter (claimsEgressSource writes no allow; the registry is read only to name slices), and serves through runClaimControl, which passes RunWithClaim the same handler, held-release route and host lookup plus that asserter. No read site in the unit, none added.;rev3=census-ruling-agent-start-demo-1;basis=Wires demo registry views and existing root release/adoption guard into instance control.;rev3=census-ruling-region-ha-p3b;basis=Add root hairpin identity verification, dormant install and reset CLI entries with bounded contexts. Indirect inputs are root-owned marker/identity/ingress/state and kernel/systemd process evidence; no request-controlled addresses or executable path. Existing control-service path remains. 04313dd306f04ffc23edf9d993bc088a22987a9c3f4b3c319b049337255e24f3 |
| @@ -132,7 +132,7 @@ internal/host/group_receipt_linux.go readGroupReceiptFile legacy accepted-legacy |
| internal/host/systemunits.go ensureSystemUnitsWithGuard legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Move unit-repair body here with existing lock/unit/host.env reads; under lock require operator repair permit on groups before writes and each systemctl effect, preserve root masks/drop-in and omit automatic update/recovery units. New indirect protected marker/permit reads, never agent receipt; fixed repair unchanged. file:OpenFile@293,file:ReadFile@4702,file:ReadFile@4835,file:ReadFile@6293,file:Stat@4611 d6a4caa2e61eabb857c2c73a5910c4445b174ef4b68494e7ec8eb00660e24be2 |
| internal/host/units/carlos-edge-group.conf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Add group-only embedded drop-in requiring/ordering nftables and setting Restart=no. Root installs exact bytes and validates them during boot; no path or command from an agent/tenant and fixed edge unit bytes unchanged. file:external@0 c928ee10926bbf7600c71622a2f3d5d759cca4bb4834d0b51614bb60c8763de1 |
| internal/hostenv/group.go installGroup legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Root executes its own verified bootstrap binary with fixed bootstrap and system install-channel arguments, parsed allowlisted host.env data, fixed trusted PATH/HOME and SDK retry setting, cwd /. No shell sourcing or inherited authority environment; bytes originate from root boot hash verification and operator-seeded SSM. file:CommandContext@608 5ddf7ea1966a1d797cd0c0166590993b8a63281d79287c12065b3ff2a480879c |
| -internal/hostenv/group_linux.go readGroupFileAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Shared bounded root-input reader uses descriptor-held no-follow traversal, Fstat of protected ancestors and exact-owner/mode regular single-link leaf, size <=64KiB. Production root '/' and owner0 protect group marker/identity/ingress, region/drop-in and maintenance permit from agent/tenant writes; rejects symlinks and writable parents. file:Fstat@1232,file:Fstat@434,file:Fstat@871,file:Openat2@191,file:Openat@1013,file:Openat@691,file:ReadAll@1434 b2f5e34f88e97e30026334cdc98499dfdef0b1b284323bd5db3cad7512db33d4 |
| +internal/hostenv/group_linux.go readGroupFileAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Shared bounded root-input reader uses descriptor-held no-follow traversal, Fstat of protected ancestors and exact-owner/mode regular single-link leaf, size <=64KiB. Production root '/' and owner0 protect group marker/identity/ingress, region/drop-in and maintenance permit from agent/tenant writes; rejects symlinks and writable parents. CI fix exposes the existing anchored reader through ReadGroupFileAt for 0700 test-owned roots; production ReadGroupFile still anchors at / and all descriptor, owner, mode, link and size checks are unchanged. file:Fstat@1232,file:Fstat@434,file:Fstat@871,file:Openat2@191,file:Openat@1013,file:Openat@691,file:ReadAll@1434 b2f5e34f88e97e30026334cdc98499dfdef0b1b284323bd5db3cad7512db33d4 |
| internal/instancectl/hairpin.go ClearGroupHairpin legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Root-only bounded reset acquires root hairpin lock/snapshot/state, queries current systemd agent and closes its identity even before enable; removes EIPs/exemption, then prepares dormant fence. New exec site is fixed systemctl wrapper; indirect root/kernel inputs only, agent receipt is not read. file:CommandContext@280,file:Prepare@918 7a443a013322d28318d3508de2e31931e54becac553ed33095475db03612d1c9 |
| internal/instancectl/hairpin.go InstallDormantGroupHairpin legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Root-only initial installer requires empty root saved state and no systemd agent, then prepares/verifies empty dummy/fence and saves closed state. Prepare selector plus indirect protected boot/kernel reads; cannot assign an EIP or exempt tenant traffic. file:Prepare@712 f80208521bb44fb5544566c0549a6cbd2e45a405122217ebefe7dd0c3bb3de5b |
| internal/host/bootstrap.go bootstrapWith authority A,C,G,J4 root-input;kept=A,C,G;scope=protected-decision-only;rev3=census-ruling-region-ha-p1a;basis=root (carlos bootstrap, cloud-init or an operator; also the staging-root and -plan-json path system apply's stagePlan runs): after the units are written, calls retireUnits(root, retiredUnits) (retiredunits.go, a new unit on this card) to disable, stop and remove carlos-system-join.path and .service, which an earlier build installed; an error there fails the bootstrap; enabledUnits (a var, not a census unit) no longer lists carlos-system-join.path; the same two sites, no read added in this body;rev3=census-ruling-fresh-box-446;basis=#446: a live bootstrap runs systemd-tmpfiles --create /etc/tmpfiles.d/carlos.conf (the conf it just wrote, a fixed path) after the credentials repair and before arming units; a failure fails the bootstrap; the staging run prints the same step;rev3=census-ruling-agent-start-demo-1;basis=Uses demo settings from the existing host.env parser; refuses malformed demo config and installs the fixed template drop-ins.;rev3=census-ruling-region-ha-p3b;basis=Direct reads moved to bootstrapWithGroup; wrapper now checks live root marker and holds guardGroupBootstrap before calling it. Quiet means no direct scanner sites, not no transitive root reads; protected boot marker/operator permit governs live group work. bafd5913d0e17be8d278444999803bf475bad841ffbc6725a1a89b34bed3c4c6 |
| @@ -143,10 +143,10 @@ internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3 |
| @coverage infra/modules/region-host/tests/fixed-and-group 0ac51ff24be6f565c9100d8f623f0fe213a3a0747a6fa85b4fffcb7315ea6341 |
| @coverage internal/awsregiongroup d81ba25e6337e75255e387c416a9c9024c0bee3f9391342bafbc99663cdda563 |
| @coverage internal/boxroles 9deaaf04c85a7fc77f98e07734c24ca706f83fdc867417d75732426e6962d122 |
| -@coverage internal/edge e8b86fd3151c2a4c1a7f80a407a2d72e9999757967e01efc740f7485d869e76e |
| +@coverage internal/edge 6b6de0d2f984041fd1c74542b9961c4794c32aa9cb8d9175e7e6e3e3aa9cad68 |
| @coverage internal/edgesfile 4a4e740461fa07051f25b098b3ce5cf45a7a26f6ffbf491809a7a4318017072d |
| @coverage internal/hairpin 2ef7863b502a6acd2aecc30f07a76a52d14581b95888d05674c3c7970ac26f4d |
| -@coverage internal/host 63f6518a6a3bf179a37fa4ac4f93f93d8970673a3c18b23423554f621d9e5a99 |
| +@coverage internal/host 4da7afaf666fcb11ba737549939ef69cece4e2ad78be206a6276633a231c387e |
| @coverage internal/host/units ccee6639aa4f5a0fb9c6b0963b625bb090ee905db8dd157113ebc7e1649d4521 |
| -@coverage internal/hostenv a8bcfc7d29d3b2cc9e4b87b74e1f3df4b12144976620da14ecdbe3b7ce9fa978 |
| +@coverage internal/hostenv 9f79761302e8c0a62b7fc9e0481e494c3920003a6bb6e53e74c8a19d477e50e5 |
| @coverage internal/instancectl 61bf34290aa406532f6d97b685d32fa3679a2deb2e01f611df8d016703deccbb |