| index 249e16227..4630ca8d2 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-region-ha-p3a.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-region-ha-p3a.tsv |
| @@ -5,7 +5,7 @@ |
| @legacy c44d5de2b0e229c3345b70073c526d85470960ea07766fbef0f6f5410501dd90 internal/activator/rootfsworkers.go Service.installRootfsWorkerLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1.11: the one writer of a worker's proc; installs only on the host's own entry, for a worker still the entry's, while the entry is awake and owned (a resident only with its lease watch); refused, the caller stops and proves gone what it started; in-memory;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: add/recheck the local start prohibition on generation, worker, sidecar, command or root-control launch, including retained leases; preserve existing lease/ownership checks and fixed-unit exemptions. Whole Route passes to the in-memory predicate; no new filesystem/store read. whole:Route@263 4796e557b3281e2165ac8cee36361bd88b4faef56f5520e5c83a3c7fd050a535 |
| @legacy db1aa4a54dc343855570c8d5ea22b58ec49fd812127fae04ffc7c6423ae9254f 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-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; existing reads unchanged. data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 58941f6f3c6726de8d9e93562a1b95de0f7f90d43b6a54107958efd95af38d78 |
| @legacy 835af32ac1034a8c2cf1fb9241753c715eeac79cf63b917d7235d70577cd247e internal/host/agent.go fastTick legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=PROPOSED-s3-change-index;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=observes the change index before any pass (observeIndex), runs the backstop's requested full pass and a scoped pass for moved app scopes (indexTick), and arms the canary pointer gate on the sweep (canaryPointerGate) only on a tick whose own index observation succeeded; read site unchanged, offset moved;rev3=census-ruling-stateless-replicas-1;basis=Call coordinator Tick on the existing tick before convergence; client renews held terms only at the pinned interval. Existing registry read unchanged. Final review I3: signal the owned renewal worker instead of waiting for its sequential console HTTP calls. Existing convergence and record read unchanged.;rev3=census-ruling-region-ha-p3a;basis=Run the optional desired-role reader on the existing tick after observing the armed change index; no new root path or timer, nil reader is unchanged. registry:Host@4821 487aa39fc1d1a2bb188ab5b71f0ee4bc0b417c53914f74c2b55867001a2ce528 |
| -@legacy ed545c12fbfa7f30ef3b3708cb737108e2277a342764ed7986134efb03be9e9d infra/modules/region-host/group_alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. file:external@0 c12a3da2781c7a5a10855cf1f194b2b07c562c1d7972926712cf881891c87145 |
| +@legacy 9864fcdcef593410be2cfeb27b361b8bcb8041fd2a9a6e0282dc30b6800daa05 infra/modules/region-host/group_alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. Copy sweep 1: apply approved variable and alarm descriptions verbatim; no resource, threshold, action or read changes. file:external@0 0ae34a01de1eed9c44b120330f794ed7e9067c2afc74b51c2b56e979aaa0743d |
| @legacy 43aa324875ebb70a52a2fea730d568f553c78de97a269abde7f642f9e66d6f90 infra/modules/region-host/ingress/alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add per-TG NLB alarms and optional deployment/region clock and admission alarms, notify only; no compute actions or fixed identifiers. file:external@0 a4da64aa4ccbe2ffc0618ffe7e1e6d4ca5ee616b056a938a94c9eb3041bcffbb |
| @legacy 377eb01304b9a5473fcef2354ef85dd2ba95785c48ff2ba1a0782778499989ef infra/modules/region-host/ingress/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add isolated IPv4 NLB, VPC/zone lookups, validated CIDR egress, protected new EIPs and TCP health-checked target groups; no fixed-resource edits or root runtime reads. file:external@0 103369ef62af3311ee0e01e751e23a03ca3634015841f0a9437ee7e682353d37 |
| @legacy c1636b10d14fd359d718264048fe782d0405dde3102b72a1a8eac270c37b14f6 infra/modules/region-host/ingress/outputs.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Expose per-zone addresses and NLB/TG identities for root attachments and Task 4 alarms; no root runtime reads. file:external@0 83d036fd1e80e375df647bfbb84eb9307faa97ad5511672c938a164919f246a9 |
| @@ -14,7 +14,7 @@ |
| @legacy 5d72b4a4f0a34f5cc4ef70092940738197fb5c1aa4ec382127cabdd9c82702bc infra/modules/region-host/ingress/tests/fixed-targets/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Define explicit ingress and literal target inputs for the dev-root fixture; no root runtime reads. file:external@0 644a067756d767c5668463eca9c1e4a45af902aacf140ef9cca437f3a24efde4 |
| @legacy 5f2c8be4b3fe6775f9542426e5c729a4b16115dafa420b0e63040f71bd80f685 infra/modules/region-host/ingress/tests/fixed-targets/versions.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Declare OpenTofu/AWS provider requirements for the dev-root fixture; no root runtime reads. file:external@0 bb3be812da255c0f031b2bfdfee462e4687de3681c742b529b55693a8875136b |
| @legacy cdc76197c0736576e7f41d571bdde637f7fd334182b437b5a73d041fdbb12ad2 infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add plan-only mock tests for NLB protocol, health, zone/VPC boundary, protected allocations and restricted SG traffic; remove the duplicate empty-subnet-result test in Task 1 fix round 1; no live API calls or root runtime reads. Task 4 adds plan-only mock alarm threshold, dimension, period, missing-data, disabled-default and same-region SNS checks; no live API calls. file:external@0 895a286d46ead0a3486b78de1701388a38e24a0ce4d44b8485aac142004ec64b |
| -@legacy b7110691bf293fec26644bcda1a5412aa9c7f82f580613413047540a275a9ef8 infra/modules/region-host/ingress/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add ingress-only inputs and topology/CIDR validation; no root runtime reads. Task 4 adds explicit expected target count, optional same-region SNS topic and opt-in regional metrics identity; no fixed-resource changes or root reads. file:external@0 8c008825c6997c48b6ca140c4bb8304ceb6612b5921531a2160535539433cb8b |
| +@legacy 3090ae494c7781ee4cf5a48733e6d76f3736f54329f912041cf5c03079ee318c infra/modules/region-host/ingress/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add ingress-only inputs and topology/CIDR validation; no root runtime reads. Task 4 adds explicit expected target count, optional same-region SNS topic and opt-in regional metrics identity; no fixed-resource changes or root reads. Copy sweep 1: apply approved SNS and regional-metrics descriptions verbatim; inputs, validation and reads unchanged. file:external@0 75c6b49b7580c618fc8fc130b1aabb242a3fbd7ddda729e7cfebfc5e716b4dc0 |
| @legacy 134888d1b095e8268cdd1cd04df27087407ae3fee1c4742f0df5a431520783ef infra/modules/region-host/ingress/versions.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Declare OpenTofu and AWS provider requirements for the isolated ingress child; no root runtime reads. file:external@0 bb3be812da255c0f031b2bfdfee462e4687de3681c742b529b55693a8875136b |
| @legacy 73e967bb630a74f28c53f50b63c997d086154b025cf7b59074d5b0fe2fc3bea7 infra/modules/region-host/tests/fixed_state_unchanged.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add mock regression for the unchanged fixed instance/profile/SG/root-volume wiring and legacy outputs; no root runtime reads. file:external@0 cab0fdd9e01c4497f06a617db6c41aa9887da80bd0518c76fe8eba935be42c85 |
| @legacy ce2188fc0ee3585d1b85be8de0f0fb5361014b044a6670eabcd709efce7875a4 infra/modules/region-host/tests/group_alarms.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add plan-only mock queue alarm defaults, thresholds, missing-data and regional notification assertions. file:external@0 eddcb3a71104bde85c057fd6eaa3cdc2dc50edc6f43888278dd5df9b3f2c2c96 |
| @@ -32,7 +32,7 @@ |
| @legacy 81bce8b431b7a045363a45a99b99616770120ed8a8c21cc7f726729978b178f0 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. whole:Route@378 2094d7b6e1ad01184157ba1e8bb03840edbe0955ef32a4221188860af71a1ee2 |
| @legacy 27f21e714af11f592202e1d3d47d9ba1722fd227215a6444585f45e3649c5cf0 internal/host/group_admission.go fixedAdmission.exempt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: classify the existing Route Platform, Unit and Backing fields for the fixed-box exemption; unsupported group mode has no exemption. Does not grant any new lease or root start authority. registry:Backing@111,registry:Platform@79,registry:Unit@94 1ff6546ebcea7c167b0819d478059b4d1e57a401a85f10bbf08cf9583e998abc |
| @legacy 2aa5dd77b808425a61ef94193acf41571c592f08857477542f5ac74a23aab5c8 internal/host/group_admission.go runWorkerBootPassAfterAdmission legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3 fix R1: wait for the first successful local admission or startup cancellation, then list the same registry and run the existing bounded worker boot pass through Service.WakeWorker. The whole Route read moved from runAgent, delayed until after first reconcile; no new source/path or root launch authority. whole:Route@517 3c5833004484dc449d73b9caa7a474ac9b621458d1e1473dd138bd0878d586d4 |
| -@legacy 55d3531e0ee6ec6ba52f67445464830b683d13e853e91517c09404e13558b06d internal/host/memwatch.go memwatchLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=On opted-in fixed boxes only, reuse Task 2 root-owned region-config reader and Task 3 state; on existing cadence execute absolute /usr/bin/chronyc with fixed -c tracking args, one-second context and bounded 4096-byte output. No shell, tenant-named path or new timer; switch-off reads no region config and executes no clock command. file:CommandContext@1677 fb6985996ca1c86c060605534b55a54e60b3b8f8ccacee935ae7467e36aa9ae1 |
| +@legacy 1bb788da34062e4c7b6301ed08590d2a15239370f0a6982b8f92fee25e4a2ec4 internal/host/memwatch.go memwatchLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=On opted-in fixed boxes only, reuse Task 2 root-owned region-config reader and Task 3 state; on existing cadence execute absolute /usr/bin/chronyc with fixed -c tracking args, one-second context and bounded 4096-byte output. No shell, tenant-named path or new timer; switch-off reads no region config and executes no clock command. Copy sweep 1: apply approved admission-metrics-disabled log prose; no control-flow or read changes. file:CommandContext@1677 30570032f10da6454c807df26d9db8acdff47de2a8f9792f00f7e0a6c299e585 |
| @legacy da0c89025968a59a96910fe56c0f85883ee761a25b0f85e3967c03d19bee2d81 internal/activator/backend_exec.go ExecBackend.nestedReady legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as nestedGate): new (rootfs Plan 2 Task 9): nestedGate's box half, split out unchanged so rootfsGates asks it too: the control channel is configured and NestedOK passes; its two sites are the row's host in the error text; no file, no root decision;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: add/recheck the local start prohibition on generation, worker, sidecar, command or root-control launch, including retained leases; preserve existing lease/ownership checks and fixed-unit exemptions. Whole Route passes to the in-memory predicate; no new filesystem/store read. registry:Host@217,registry:Host@362,whole:Route@93 db559b77443fa7532803e9c83547482e979ebf2813706b6e9661ba7af6fa7080 |
| @legacy b79589fbb7c726d68d4fbf285a83a77562c420af19df0dd348398215eb010681 internal/activator/activator.go Service.WakeWorker legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-remote-instance-metrics;basis=the entries-map insertion goes through putEntryLocked (which also notes the route's tenant in memory for the metrics sampler); no read added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Read serving lease health through servingError: stateless generations use local lifecycle/process supervision, while stateful generations keep the existing lease checks. No new I/O.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: check local tenant admission and start permission before lease/restore, preserving already-awake reuse during drain and existing serialization. Whole Route passes to the local predicate; no new filesystem or store read. registry:Host@1428,registry:Host@1837,registry:Host@923,registry:Host@953,whole:Route@1012,whole:Route@108,whole:Route@1404 e35358e75b7a0af7f2f382d28328e3373a48b06cdc876dbd8649db9b3c00741a |
| @legacy 2d778c3a380a638e5ca85a9cdfb9bae01bc23829a43266d04a8d27cad2587ee9 internal/activator/activator.go Service.begin legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-edge-request-records;basis=gains a req *http.Request parameter and one edge.MarkWoke(req) call on the path that starts a wake, so the edge's request record can say which request woke the app; no read added;rev3=census-ruling-remote-instance-metrics;basis=the entries-map insertion goes through putEntryLocked (which also notes the route's tenant in memory for the metrics sampler); no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: before an entry is made, a resident inside its backoff answers errResidentBackoff, and a rootfs row must pass the locked admission (rootfsRefusalLocked) and then the backend's rootfs gates off a.mu (rootfsStartRefusal, within the request's wait bound) before Acquire, Restore or the live link; the gate key is recorded on the entry; adds refusals before the lease only;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Read serving lease health through servingError: stateless generations use local lifecycle/process supervision, while stateful generations keep the existing lease checks. No new I/O.;rev3=census-ruling-region-ha-p1b3b-t;basis=Carry background-duty provenance into a new singleflight entry; a visitor waiting on its deferred refusal retries with ordinary visitor authority. No read added.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: check local tenant admission and start permission before lease/restore, preserving already-awake reuse during drain and existing serialization. Whole Route passes to the local predicate; no new filesystem or store read. registry:Host@1240,registry:Host@1780,registry:Host@3836,registry:Host@3993,registry:Host@656,whole:Route@1302,whole:Route@1413,whole:Route@177,whole:Route@2334,whole:Route@2421,whole:Route@2502,whole:Route@2763,whole:Route@2873,whole:Route@3047,whole:Route@3845,whole:Route@3852 61c8318ab572a96775c0f1b11d602dd8f9115230d0f1c99e7e3da19c2e61005c |
| @@ -59,7 +59,7 @@ internal/activator/rootfsworkers.go Service.installRootfsWorkerLocked legacy acc |
| 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-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; existing reads unchanged. data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 58941f6f3c6726de8d9e93562a1b95de0f7f90d43b6a54107958efd95af38d78 |
| internal/host/agent.go fastTick legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=PROPOSED-s3-change-index;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=observes the change index before any pass (observeIndex), runs the backstop's requested full pass and a scoped pass for moved app scopes (indexTick), and arms the canary pointer gate on the sweep (canaryPointerGate) only on a tick whose own index observation succeeded; read site unchanged, offset moved;rev3=census-ruling-stateless-replicas-1;basis=Call coordinator Tick on the existing tick before convergence; client renews held terms only at the pinned interval. Existing registry read unchanged. Final review I3: signal the owned renewal worker instead of waiting for its sequential console HTTP calls. Existing convergence and record read unchanged.;rev3=census-ruling-region-ha-p3a;basis=Run the optional desired-role reader on the existing tick after observing the armed change index; no new root path or timer, nil reader is unchanged. registry:Host@4821 487aa39fc1d1a2bb188ab5b71f0ee4bc0b417c53914f74c2b55867001a2ce528 |
| internal/host/edgesfile.go edgesFileWriteClaims authority F,J1 rev3=census-ruling-self-serve-moves-1;basis=root-route;kept=F;scope=protected-decision-only; the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): region-ha-2a's body, which with the box's lifetimes switch on also publishes each served row's lifetime pair (registry:Incarnation and registry:ServingSeq, two new sites on the rows it already lists) and an alias's or served catch-all's primary's pair, and names that primary as target_host whatever the switch; a report the edge orders unstamped entries by, not a decision; no record, /data, release or claim read added; F,J1 authority retained; self-serve moves 1 Task 8;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 8: takes a localAddrs reader (instancectl.LocalAddresses in production, which reads /proc/net/fib_trie and /proc/net/if_inet6 in the agent) and publishes its non-loopback entries as the edges file's addrs before the write gate (boxAddrs, no read of its own), so an address change writes once. The same 44 sites, offsets moved; no record, /data, release or claim read added; a report the console's egress grant check reads, not a root decision; F,J1 authority retained.;rev3=census-ruling-edge-asset-cache-3;basis=starts with assets = assets.active(), so a policy whose box has not opened its asset store publishes no assets blocks and reads no manifests, and copies the decision's Primary (the route host the block was decided for, drift D4) into the published assets block; read sites unchanged (44); no read added. Merged onto main's #328 body, which takes the localAddrs reader: the assets.active() line sits after that signature and the loop passes pub and instancectl.LocalAddresses;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: the claims argument (*edgesClaims) becomes addrs (AddressSource) and the applyEdgesClaims(ctx, claims, routes, hosts) call is deleted with edgesclaims.go, which is the one whole:Route site removed: no host claim is read and every served row publishes as with region HA off; the box-address publication is the same code reading addrs.BoxAddresses() instead of claims.addrs; a report the edge reads, not a root decision; no read added; merge of origin/main d7ae1d76: main's edge asset cache plan 3 body is kept (census-ruling-edge-asset-cache-3): the first line is assets = assets.active(), so a policy whose store has not opened publishes no assets blocks and reads no manifests, and edgesFileLoop passes pub (assets.active() for that tick) in the assets argument; main's claims *edgesClaims argument is this branch's addrs AddressSource, and no edgesClaims, applyEdgesClaims or hostclaim reference remains;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: skips publishing a platform alias edge.PlatformAliasFold refuses (and so anything attached to it); reads the same route listing;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 and its fix rounds: publishes by FleetArmVerdict (via fleetRefusedFor): withheld rows left out; a forward host's path rows left out of its owner; no assets for forward rows; the alias loop replays Reload's alias fold from the served rows so a chained alias carries its root primary's owner; certRefused and parentRefused leave out a refused claim's wildcard parent (+registry:Alias x5, +registry:Host x4, +whole:Route, +whole:RouteAlias x2, +whole:RoutePath x7, +whole:WildcardDomain). Rows already read in the pass; keeps authority F,J1; publishes less, never more.;rev3=census-ruling-probe-burst-limit;basis=sets the constant BurstNotices=true on the box's own edges file (this build's edge answers probe-burst notices, so peers may send them); not from config or any read; the same 65 sites; a report other edges read, not a root decision; F,J1 authority retained; no new root read or write kind;rev3=census-ruling-region-ha-p3a;basis=Publish one injected role snapshot; preserve the real-route bit separately from wildcard/platform class during booting withdrawal; acknowledge the exact published role/admitted/drained tuple only after PUT; existing registry reads unchanged. registry:Account@15753,registry:Alias@10256,registry:Alias@13226,registry:Alias@13276,registry:Alias@8683,registry:Alias@8702,registry:Alias@8801,registry:Alias@8855,registry:Alias@8890,registry:Alias@8952,registry:Alias@9322,registry:Alias@9479,registry:Alias@9549,registry:Alias@9581,registry:App@15765,registry:DNSStatus@8997,registry:DNSStatus@9488,registry:Host@13129,registry:Host@13149,registry:Host@13414,registry:Host@13494,registry:Host@13529,registry:Host@13578,registry:Host@14040,registry:Host@14075,registry:Host@15183,registry:Host@3889,registry:Host@3935,registry:Host@3994,registry:Host@5109,registry:Host@6079,registry:Host@8728,registry:Host@8776,registry:Incarnation@5069,registry:Platform@4848,registry:Provisioned@4862,registry:Replica@4886,registry:ServingSeq@5084,registry:Status@2677,whole:Route@1026,whole:Route@17223,whole:Route@18041,whole:Route@18216,whole:Route@1841,whole:Route@2047,whole:Route@6164,whole:Route@750,whole:RouteAlias@13180,whole:RouteAlias@17245,whole:RouteAlias@18231,whole:RouteAlias@8566,whole:RouteAlias@8648,whole:RouteAlias@8840,whole:RoutePath@17238,whole:RoutePath@18224,whole:RoutePath@5948,whole:RoutePath@5980,whole:RoutePath@6027,whole:RoutePath@6055,whole:RoutePath@6093,whole:RoutePath@6113,whole:RoutePath@6125,whole:RoutePath@6179,whole:WildcardDomain@13107,whole:WildcardDomain@13483 623de89af2adc399601b13eb4f6a529f45f8e13def4230beb7995d19d72dfe9c |
| -infra/modules/region-host/group_alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. file:external@0 c12a3da2781c7a5a10855cf1f194b2b07c562c1d7972926712cf881891c87145 |
| +infra/modules/region-host/group_alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. Copy sweep 1: apply approved variable and alarm descriptions verbatim; no resource, threshold, action or read changes. file:external@0 0ae34a01de1eed9c44b120330f794ed7e9067c2afc74b51c2b56e979aaa0743d |
| infra/modules/region-host/ingress/alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add per-TG NLB alarms and optional deployment/region clock and admission alarms, notify only; no compute actions or fixed identifiers. file:external@0 a4da64aa4ccbe2ffc0618ffe7e1e6d4ca5ee616b056a938a94c9eb3041bcffbb |
| infra/modules/region-host/ingress/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add isolated IPv4 NLB, VPC/zone lookups, validated CIDR egress, protected new EIPs and TCP health-checked target groups; no fixed-resource edits or root runtime reads. file:external@0 103369ef62af3311ee0e01e751e23a03ca3634015841f0a9437ee7e682353d37 |
| infra/modules/region-host/ingress/outputs.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Expose per-zone addresses and NLB/TG identities for root attachments and Task 4 alarms; no root runtime reads. file:external@0 83d036fd1e80e375df647bfbb84eb9307faa97ad5511672c938a164919f246a9 |
| @@ -68,7 +68,7 @@ infra/modules/region-host/ingress/tests/fixed-targets/tests/targets.tftest.hcl e |
| infra/modules/region-host/ingress/tests/fixed-targets/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Define explicit ingress and literal target inputs for the dev-root fixture; no root runtime reads. file:external@0 644a067756d767c5668463eca9c1e4a45af902aacf140ef9cca437f3a24efde4 |
| infra/modules/region-host/ingress/tests/fixed-targets/versions.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Declare OpenTofu/AWS provider requirements for the dev-root fixture; no root runtime reads. file:external@0 bb3be812da255c0f031b2bfdfee462e4687de3681c742b529b55693a8875136b |
| infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add plan-only mock tests for NLB protocol, health, zone/VPC boundary, protected allocations and restricted SG traffic; remove the duplicate empty-subnet-result test in Task 1 fix round 1; no live API calls or root runtime reads. Task 4 adds plan-only mock alarm threshold, dimension, period, missing-data, disabled-default and same-region SNS checks; no live API calls. file:external@0 895a286d46ead0a3486b78de1701388a38e24a0ce4d44b8485aac142004ec64b |
| -infra/modules/region-host/ingress/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add ingress-only inputs and topology/CIDR validation; no root runtime reads. Task 4 adds explicit expected target count, optional same-region SNS topic and opt-in regional metrics identity; no fixed-resource changes or root reads. file:external@0 8c008825c6997c48b6ca140c4bb8304ceb6612b5921531a2160535539433cb8b |
| +infra/modules/region-host/ingress/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add ingress-only inputs and topology/CIDR validation; no root runtime reads. Task 4 adds explicit expected target count, optional same-region SNS topic and opt-in regional metrics identity; no fixed-resource changes or root reads. Copy sweep 1: apply approved SNS and regional-metrics descriptions verbatim; inputs, validation and reads unchanged. file:external@0 75c6b49b7580c618fc8fc130b1aabb242a3fbd7ddda729e7cfebfc5e716b4dc0 |
| infra/modules/region-host/ingress/versions.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Declare OpenTofu and AWS provider requirements for the isolated ingress child; no root runtime reads. file:external@0 bb3be812da255c0f031b2bfdfee462e4687de3681c742b529b55693a8875136b |
| infra/modules/region-host/tests/fixed_state_unchanged.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add mock regression for the unchanged fixed instance/profile/SG/root-volume wiring and legacy outputs; no root runtime reads. file:external@0 cab0fdd9e01c4497f06a617db6c41aa9887da80bd0518c76fe8eba935be42c85 |
| infra/modules/region-host/tests/group_alarms.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add plan-only mock queue alarm defaults, thresholds, missing-data and regional notification assertions. file:external@0 eddcb3a71104bde85c057fd6eaa3cdc2dc50edc6f43888278dd5df9b3f2c2c96 |
| @@ -86,7 +86,7 @@ internal/host/group_admission.go fixedAdmission.TenantAdmissionExempt legacy acc |
| 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. whole:Route@378 2094d7b6e1ad01184157ba1e8bb03840edbe0955ef32a4221188860af71a1ee2 |
| internal/host/group_admission.go fixedAdmission.exempt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: classify the existing Route Platform, Unit and Backing fields for the fixed-box exemption; unsupported group mode has no exemption. Does not grant any new lease or root start authority. registry:Backing@111,registry:Platform@79,registry:Unit@94 1ff6546ebcea7c167b0819d478059b4d1e57a401a85f10bbf08cf9583e998abc |
| internal/host/group_admission.go runWorkerBootPassAfterAdmission legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3 fix R1: wait for the first successful local admission or startup cancellation, then list the same registry and run the existing bounded worker boot pass through Service.WakeWorker. The whole Route read moved from runAgent, delayed until after first reconcile; no new source/path or root launch authority. whole:Route@517 3c5833004484dc449d73b9caa7a474ac9b621458d1e1473dd138bd0878d586d4 |
| -internal/host/memwatch.go memwatchLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=On opted-in fixed boxes only, reuse Task 2 root-owned region-config reader and Task 3 state; on existing cadence execute absolute /usr/bin/chronyc with fixed -c tracking args, one-second context and bounded 4096-byte output. No shell, tenant-named path or new timer; switch-off reads no region config and executes no clock command. file:CommandContext@1677 fb6985996ca1c86c060605534b55a54e60b3b8f8ccacee935ae7467e36aa9ae1 |
| +internal/host/memwatch.go memwatchLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=On opted-in fixed boxes only, reuse Task 2 root-owned region-config reader and Task 3 state; on existing cadence execute absolute /usr/bin/chronyc with fixed -c tracking args, one-second context and bounded 4096-byte output. No shell, tenant-named path or new timer; switch-off reads no region config and executes no clock command. Copy sweep 1: apply approved admission-metrics-disabled log prose; no control-flow or read changes. file:CommandContext@1677 30570032f10da6454c807df26d9db8acdff47de2a8f9792f00f7e0a6c299e585 |
| internal/activator/backend_exec.go ExecBackend.nestedReady legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as nestedGate): new (rootfs Plan 2 Task 9): nestedGate's box half, split out unchanged so rootfsGates asks it too: the control channel is configured and NestedOK passes; its two sites are the row's host in the error text; no file, no root decision;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: add/recheck the local start prohibition on generation, worker, sidecar, command or root-control launch, including retained leases; preserve existing lease/ownership checks and fixed-unit exemptions. Whole Route passes to the in-memory predicate; no new filesystem/store read. registry:Host@217,registry:Host@362,whole:Route@93 db559b77443fa7532803e9c83547482e979ebf2813706b6e9661ba7af6fa7080 |
| internal/activator/activator.go Service.WakeWorker legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-remote-instance-metrics;basis=the entries-map insertion goes through putEntryLocked (which also notes the route's tenant in memory for the metrics sampler); no read added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Read serving lease health through servingError: stateless generations use local lifecycle/process supervision, while stateful generations keep the existing lease checks. No new I/O.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: check local tenant admission and start permission before lease/restore, preserving already-awake reuse during drain and existing serialization. Whole Route passes to the local predicate; no new filesystem or store read. registry:Host@1428,registry:Host@1837,registry:Host@923,registry:Host@953,whole:Route@1012,whole:Route@108,whole:Route@1404 e35358e75b7a0af7f2f382d28328e3373a48b06cdc876dbd8649db9b3c00741a |
| internal/activator/activator.go Service.begin legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-edge-request-records;basis=gains a req *http.Request parameter and one edge.MarkWoke(req) call on the path that starts a wake, so the edge's request record can say which request woke the app; no read added;rev3=census-ruling-remote-instance-metrics;basis=the entries-map insertion goes through putEntryLocked (which also notes the route's tenant in memory for the metrics sampler); no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: before an entry is made, a resident inside its backoff answers errResidentBackoff, and a rootfs row must pass the locked admission (rootfsRefusalLocked) and then the backend's rootfs gates off a.mu (rootfsStartRefusal, within the request's wait bound) before Acquire, Restore or the live link; the gate key is recorded on the entry; adds refusals before the lease only;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Read serving lease health through servingError: stateless generations use local lifecycle/process supervision, while stateful generations keep the existing lease checks. No new I/O.;rev3=census-ruling-region-ha-p1b3b-t;basis=Carry background-duty provenance into a new singleflight entry; a visitor waiting on its deferred refusal retries with ordinary visitor authority. No read added.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: check local tenant admission and start permission before lease/restore, preserving already-awake reuse during drain and existing serialization. Whole Route passes to the local predicate; no new filesystem or store read. registry:Host@1240,registry:Host@1780,registry:Host@3836,registry:Host@3993,registry:Host@656,whole:Route@1302,whole:Route@1413,whole:Route@177,whole:Route@2334,whole:Route@2421,whole:Route@2502,whole:Route@2763,whole:Route@2873,whole:Route@3047,whole:Route@3845,whole:Route@3852 61c8318ab572a96775c0f1b11d602dd8f9115230d0f1c99e7e3da19c2e61005c |
| @@ -112,17 +112,17 @@ internal/activator/workerbuild.go Service.startWorker authority E2 E39: close th |
| 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=Refuse a reserved exact hostname with no serving peer before a local or remote catch-all can handle it; one snapshot supplies the reservation and dial decision; no new read or forwarding authority. P3a Task 3: refuse a managed tenant before forwarding, geo/proof preparation and dispatch; recheck the route after login next-path resolution. Only the fixed platform/unit scope is exempt. Whole Route passes to a local permission check, not a new store/path read. file:ReadAll@15378,registry:App@21535,registry:Gate@14352,registry:Gate@25926,registry:Gate@25986,registry:Gate@26044,registry:Host@26029,registry:ImportGate@33429,registry:Kind@20397,registry:Kind@23835,registry:Kind@33371,registry:Kind@33400,whole:Route@14247,whole:Route@14358,whole:Route@17175,whole:Route@17959,whole:Route@18417,whole:Route@18609,whole:Route@20400,whole:Route@21461,whole:Route@21527,whole:Route@21538,whole:Route@21791,whole:Route@21886,whole:Route@21962,whole:Route@22006,whole:Route@22308,whole:Route@22338,whole:Route@23838,whole:Route@24123,whole:Route@25929,whole:Route@25989,whole:Route@26032,whole:Route@26047,whole:Route@26965,whole:Route@29028,whole:Route@33374,whole:Route@33403,whole:Route@33432,whole:Route@33464,whole:Route@35312,whole:Route@5267 9b1df28b2df18736fbfdbe25eacba988dc08c7c54f78b944f4ad7f4a4ce25bfb |
| 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-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. Existing reads unchanged; no new 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. file:Exec@18155,file:Open@1517,file:Statfs@46949,registry:App@11910,whole:Route@11902 f4eec5ecc2ca4c37bd80395aa9f01cb153bfe0a94e753992f79dbefb2c1a126a |
| internal/host/schedule_wiring.go newScheduleDeps legacy accepted-legacy accepted-legacy;rev3=census-ruling-moves-offline-fixes;basis=root-route (J1, main's disposition); the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from armSchedule: main's body with the runner's Skip set to scheduleSkip; no new read site;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Runner.WithDuty before token access through the existing Service. No new read.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3 fix R1: defer timers while local admission is closed, before token mint or attempt bookkeeping; translate an admission refusal from WithDuty into ErrDutyDeferred. Four whole Route predicate uses check existing fixed-route exemptions or pass the same row to WithDuty; no new external read or start authority. registry:App@1979,registry:App@388,registry:Host@2046,registry:Host@396,whole:Route@1223,whole:Route@1298,whole:Route@1974,whole:Route@383,whole:Route@872,whole:Route@946 143dc95af7d681eb5cbd9ca957acd888e1942404f9463b4e9a4bc6bf216d95dd |
| -@coverage infra/modules/region-host 2067bf570fe0f96da8f95c8706b80106cd22e56c2d3514394b9654aee45ad9ae |
| -@coverage infra/modules/region-host/ingress 6d8e6673392f649d0bdf24f24015295bb6bec0792b5f331a438b678bd36d73c2 |
| +@coverage infra/modules/region-host 3c50b6dd14e7f99e9aff32bdcecffa28af5c6fffbc6c64d1a44e0271275ce861 |
| +@coverage infra/modules/region-host/ingress 16ce4a85daae13998b509397dc8306f7188a28209d97a4376713cbc9f6178497 |
| @coverage infra/modules/region-host/ingress/tests d914e0542c1868917e85f986e49459a10907994b3d6d5a46cb510fc35dea8301 |
| @coverage infra/modules/region-host/ingress/tests/fixed-targets 66fb331d8b8eb1ba67672cacb40229c6bf575bd04a33561274582beccff24c33 |
| @coverage infra/modules/region-host/ingress/tests/fixed-targets/tests 567e4b97ac15cea31cb88aba77dccf739e58382158dba13d6b03e22935995b52 |
| @coverage infra/modules/region-host/tests e3b4f8199f84822455ff1624e4ba739d9aa7b4933c3fc2cb79f657ec43c21082 |
| @coverage internal/activator c16decc0fdbca4134e5a24e02799803bda8563809c6bd4c9122aeb8fc523cc91 |
| @coverage internal/boxroles b8804945a8da39c3f4d1778dc977ee1a071a6c8489ace1c5a22c92b5acb85d91 |
| -@coverage internal/edge 1ee70723d2f5e4a4fa8dfd12e9ba33e1a348d525c48def706d58f37e20593b18 |
| +@coverage internal/edge c53b9bdeebb59af00c9967acb8fdf39b69e0d47095620096e14212db88256185 |
| @coverage internal/edgesfile 79ccfee3606279650719114b126a16cef92707b148d8c941e1100e21115f7283 |
| @coverage internal/groupadmission 2172be5de464b7860474c2c38d13ed3c2c16a50e9b151e123642f4c832968a2e |
| -@coverage internal/host f7b26b2ef2747ba767ecf4bea99aafb316ebd92cae4ee4c1b72fd66c8acf0c1a |
| +@coverage internal/host cd3d05362ce973ac2d240a645f8edafeab79cc9b2815d41177224b6415efdb54 |
| @coverage internal/hostenv d9df92980cd7f97c31ad7334ee552e7f6378fdb310d8a1ca0d0d0cda983db81e |
| @coverage internal/release 95051eb07c6f91bdda535e8b8b45154a97c0f6869e92c32572e7f84c32677af4 |