carlos / platform Public

region HA P3b: census refresh after F1

Refresh the P3b overlay and chain after the operator floor fix.
Correct the four Opus claim notes and preserve the existing review budget
and complete claims in the card. Census and 9B8 checks pass.
Co-Authored-By: GPT-6 Astra (codex) <noreply@openai.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev c898eff7367a53065f6e8f1e833aee3055a94a6c parent fe96939
3 files changed, +36 −28
  • docs/superpowers/notes/census-proposal-region-ha-p3b.md +21 −13
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-region-ha-p3b.tsv +14 −14

CI failed — run details

Intent

Attributed to this commit: 41.2 g CO₂e (5,289,028 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-p3b-build, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/superpowers/notes/census-proposal-region-ha-p3b.md b/docs/superpowers/notes/census-proposal-region-ha-p3b.md
index dfc3369c8..dd29f7496 100644
--- a/docs/superpowers/notes/census-proposal-region-ha-p3b.md
+++ b/docs/superpowers/notes/census-proposal-region-ha-p3b.md
@@ -24,8 +24,8 @@ Ruling `census-ruling-region-ha-p3b`. The independent reviewer approves or rejec
| `internal/host/hadepartures_scan.go` `Controller.adoptMeasured` | body | unchanged (2) | Require registered admitted work before measured duty adoption. Same adoption and metric reads, no new input; admission does not replace lease or successor proof. |
| `internal/host/hadepartures_scan.go` `Controller.complete` | body | unchanged (30) | Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations. |
| `internal/host/hadepartures_wiring.go` `armHADepartures` | body | unchanged (17) | Require group admission/BeginWork callbacks and pass them into the sole departure consumer, including the production adoption closure. Same store, identity and registry reads; consumer Started remains a lifecycle fact, not duty authority. |
-| `internal/host/installchannel.go` `channelInstall.refreshPrev` | body | unchanged (1) | Write channel identity only when signed identity bytes are present; verified absent-both group floor can return nil. Same staged artifact/slot checks and direct read site; nil wire adds no unsigned identity authority. |
-| `internal/host/installchannel.go` `channelInstall.run` | body | unchanged (1) | Reset invocation-local maintenance state under the existing install lock before install. Indirect install guard consumes root group-install-used once or requires the protected operator install permit; direct lock read unchanged, agent receipt never read by root. |
+| `internal/host/installchannel.go` `channelInstall.refreshPrev` | body | unchanged (1) | Write channel identity only when verified signed identity bytes are present. Nil wire is allowed only when both floor objects are genuinely absent and the protected root marker explicitly says floor=absent-expected; required or missing marker refuses. Published floor always verifies identity/image. Same staged artifact/slot checks and direct read site; nil wire adds no unsigned identity authority. |
+| `internal/host/installchannel.go` `channelInstall.run` | body | unchanged (1) | Reset invocation-local maintenance state under the existing install lock before install. Indirect install guard consumes root group-install-used once or requires the protected operator install permit; direct lock read unchanged, agent receipt never read by root. F1: no-floor install now requires floor=absent-expected from the protected root marker through maintenanceConfig, plus genuine absence of both floor objects. Required or missing marker refuses absence as on main; published floor always verifies identity/image. No agent-owned input supplies the permission. |
| `internal/host/memwatch.go` `memwatchLoop` | body | unchanged (1) | Use groupMetricsAWSConfig for box-region CloudWatch with one SDK attempt on groups; extend existing admission batch using verified launch binding and clock-presence data. Same chronyc/metadata/config read paths and cadence, no new per-box poll; fixed client retries remain. |
| `internal/host/systemapply.go` `systemApplier.Run` | body | unchanged (1) | Under the apply lock require the root marker-bound maintenance permit before group staging cleanup/floor/recovery work, then bind candidate digest before staging. Marker /etc/carlos/group.json is root boot output; permit /run/carlos-group-maintenance/permit.json is operator-written through root, never the agent receipt. Direct read unchanged. |
| `internal/host/systemapply.go` `systemApplier.activationGuard` | body | unchanged (1) | Recheck the operator maintenance action before existing release/floor guard and immediately before repoint callback. Indirect protected marker/permit and exact installed-artifact reads add refusal at mutation boundaries; root never accepts agent receipt authority. |
@@ -36,7 +36,7 @@ Ruling `census-ruling-region-ha-p3b`. The independent reviewer approves or rejec
| `internal/host/systemapply.go` `systemApplier.restoreFiles` | body | unchanged (1) | Authorize exact previous artifact before restore, propagate quiesce refusal and remove automatic group units from enable list. Existing signature/floor and staged plan reads remain; indirect permit must be root-owned and bind old digest/current boot. |
| `internal/host/systemapply.go` `systemApplier.stageCandidate` | body | unchanged (2) | Require groupStageDigest before staging/candidate execution; action and new digest come from root-owned operator permit bound to boot marker. Existing signed pointer/artifact verification and two direct read sites remain. |
| `internal/host/systemapply.go` `systemApplier.stagePlan` | body | unchanged (1) | Require groupExecutable before staged bootstrap execution, matching the authorized old/new artifact through existing no-follow slot checks. New indirect marker/permit reads are root-protected; staged path still subject to existing release verification, direct read site unchanged. |
-| `internal/hostenv/cli.go` `runHostEnv` | body | unchanged (1) | Add write --group/--install: root reads /etc/carlos/group.json with protected reader, matches deployment/region, fetches bounded allowlisted SSM configuration, writes host.env and invokes verified bootstrap install. Operator-seeded SSM plus root boot marker supply configuration; no shell evaluation. Existing seed --from read unchanged. |
+| `internal/hostenv/cli.go` `runHostEnv` | body | unchanged (1) | Add write --group/--install: root reads /etc/carlos/group.json with protected reader, matches deployment/region, fetches bounded allowlisted SSM configuration, writes host.env and invokes verified bootstrap install. Operator-seeded SSM plus root boot marker supply configuration; no shell evaluation. Existing seed --from read unchanged. The --group= prefix pre-scan also selects the stricter bounded SSM reader for --group=false; flag parsing still selects fixed assembly and grants no group authority. |
| `internal/instancectl/server.go` `Server.RunProbe` | body | unchanged (1) | Take shared root hairpin lease for the entire probe so deny refresh and hairpin mutation cannot race it. Indirect reads validate root boot snapshot, root state/fence and interface inventory; existing probe.out direct read remains and lock/config errors fail readiness. |
| `internal/instancectl/server.go` `runWithClaim` | body | unchanged (4) | Resume root-owned hairpin state before probes/control service work; verify current systemd agent identity and kernel fence/addresses, restore pidfd watch or revoke stale state. Same direct exec/statfs/data sites; indirect inputs are protected root snapshot/state and kernel evidence, never receipt data. |
| `internal/instancectl/server.go` `type Server` | body | unchanged (1) | Add hairpinActive boolean alongside lastDeny under existing deny synchronization. Field declaration only; existing Statfs selector unchanged, no new read or externally supplied authority. |
@@ -127,15 +127,15 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- quiet `internal/host/systemunits.go:ensureSystemUnits`: reads nothing now; retired while it reads nothing (or its row keeps no sites)
- reads `internal/edge/edge.go:Edge.ServeHTTP`: +registry:Account, +registry:App, +registry:ClaimStamp, +registry:Host, +registry:Incarnation, +registry:ServingSeq, +whole:Route ×6; keeps legacy, task accepted-legacy
-Seal: `59c0891618b9befae27ebe04d0a67b08c7f7658bca9f1c78bf6d05eb7a708e82` → `6fff7fd706651cee79e21bda9509fd44d736310c9f06a9b3befe6b9cbd73efe3`.
+Seal: `59c0891618b9befae27ebe04d0a67b08c7f7658bca9f1c78bf6d05eb7a708e82` → `21bc7355b42234bccdee2d6bfd04bf99a4a043b28e14a408ce17ea558d619b46`.
Overlay: `internal/provision/testdata/plan14-root-reads-region-ha-p3b.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
## Author context
-Proposal only. Independent approval and the verdict on #280 are pending. The generated overlay header names the required pre-merge approval; it is not evidence that approval has occurred.
+Proposal refreshed after census review round 1. Opus approved all units and envelopes subject to F1 (0 P1, 1 P2, 4 P3); the F1 fix below and P3 claim corrections remain within that round. The controller checks the fix hunk and records the verdict on #280. This author refresh does not supply independent approval.
-Implementation tip: `04ae3dfb4a6f4c665f5438fb1dc48c599db935cd`. CI repair baseline: `6c365b15cedf745fb5869817642a2b81b556c7c4`. Comparison base: amadan `origin/main` at `bb8973d1395370003ba85c0cc65130c89c773206`, already merged into this branch. The CI repair removes edge interface enumeration, enables the deployment change index on the bounded group installer store, and exposes the existing anchored safe-file reader for test-owned roots. The production reader remains anchored at / with unchanged checks. The changed package fingerprints are internal/edge, internal/host and internal/hostenv; no unit disposition or read-site set changed since the first proposal.
+Prior CI repair implementation tip: `04ae3dfb4a6f4c665f5438fb1dc48c599db935cd`. CI repair baseline: `6c365b15cedf745fb5869817642a2b81b556c7c4`. Comparison base: amadan `origin/main` at `bb8973d1395370003ba85c0cc65130c89c773206`, already merged into this branch. The CI repair removes edge interface enumeration, enables the deployment change index on the bounded group installer store, and exposes the existing anchored safe-file reader for test-owned roots. The production reader remains anchored at / with unchanged checks. The changed package fingerprints are internal/edge, internal/host and internal/hostenv; no unit disposition or read-site set changed since the first proposal.
Counts: 36 body, 0 sites, 1 reads, 37 new, 2 quiet, 0 removed, 0 left, 12 envelope, 0 other. There are 76 unit claims and 88 changes including envelopes. The 40 new dispositions comprise 37 new units, two quiet units and one changed read set. Quiet wrappers still call readers; their direct reads moved into the new implementations.
@@ -145,6 +145,14 @@ Review history carried forward: plan rounds 1 and 2 are recorded in the branch's
Root authority needs particular attention in the new rows, even though the proposal tool initially freezes them as accepted-legacy: protected boot marker and signed identity, root ingress snapshot, operator maintenance permit and durable consumption, authenticated agent hairpin request, and kernel fence/address verification. The agent-owned launch receipt is never read by root. The permit relies on the operator's prior cloud readbacks; local root cannot establish Standby itself. Hairpin uses local ingress EIPs behind a TCP 80/443 fence, following the task's later ruling, rather than the older spec's redirect wording.
+## F1 fix
+
+Starting tip: `b68411f26cc5ca3fa4da8f0d49947b6214578aa6`. F1 implementation tip: `fe9693950030ac9a761eb871f324f42667b9b1e9`. Trust invariant: only operator-protected boot configuration may authorize installation without a published floor. The SSM `boot/bootstrap-object` now requires `floor` with exactly `absent-expected` or `required`, alongside `key`, `version`, `known_readers` and `deployment_aws_region`. It remains operator-seeded; Terraform only supplies its name. The install-channel paragraph in `docs/site/cli.md` now documents the operator field and replaces its previous unconditional absent-floor permission.
+
+The boot template validates the field before fetching the bootstrap object, then root writes it into `/etc/carlos/group.json` before computing `config_digest`. Go validates the same two values and digest. On genuine absence of both floor objects, `checkGroupInstallFloor` reads that marker through the existing protected `maintenanceConfig` reader and permits only `absent-expected`. Required, missing or invalid markers refuse. A published floor always undergoes the existing signature and image checks, including when the marker expects absence; one missing half and read failures refuse. Fixed-box control flow is unchanged. No new census unit or disposition is introduced; the helper and schema changes are covered by the host and hostenv envelopes.
+
+P3-1 through P3-4 are corrected in the complete claims below: the group unit file is an unembedded fixture for the root-written constant; agent and instance-control gain AF_NETLINK without CAP_NET_ADMIN; `--group=false` selects the stricter SSM reader during pre-scan; and root creates and hands `/data/carlos` to the agent. No new review round was opened.
+
## Complete author claims
Exact content of the ignored CLAIMS input follows, including claims for new and quiet units that the generated table does not print.
@@ -170,8 +178,8 @@ internal/host/hadepartures_scan.go:Controller.ScanPass Gate and register the exi
internal/host/hadepartures_scan.go:Controller.adoptMeasured Require registered admitted work before measured duty adoption. Same adoption and metric reads, no new input; admission does not replace lease or successor proof.
internal/host/hadepartures_scan.go:Controller.complete Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations.
internal/host/hadepartures_wiring.go:armHADepartures Require group admission/BeginWork callbacks and pass them into the sole departure consumer, including the production adoption closure. Same store, identity and registry reads; consumer Started remains a lifecycle fact, not duty authority.
-internal/host/installchannel.go:channelInstall.refreshPrev Write channel identity only when signed identity bytes are present; verified absent-both group floor can return nil. Same staged artifact/slot checks and direct read site; nil wire adds no unsigned identity authority.
-internal/host/installchannel.go:channelInstall.run Reset invocation-local maintenance state under the existing install lock before install. Indirect install guard consumes root group-install-used once or requires the protected operator install permit; direct lock read unchanged, agent receipt never read by root.
+internal/host/installchannel.go:channelInstall.refreshPrev Write channel identity only when verified signed identity bytes are present. Nil wire is allowed only when both floor objects are genuinely absent and the protected root marker explicitly says floor=absent-expected; required or missing marker refuses. Published floor always verifies identity/image. Same staged artifact/slot checks and direct read site; nil wire adds no unsigned identity authority.
+internal/host/installchannel.go:channelInstall.run Reset invocation-local maintenance state under the existing install lock before install. Indirect install guard consumes root group-install-used once or requires the protected operator install permit; direct lock read unchanged, agent receipt never read by root. F1: no-floor install now requires floor=absent-expected from the protected root marker through maintenanceConfig, plus genuine absence of both floor objects. Required or missing marker refuses absence as on main; published floor always verifies identity/image. No agent-owned input supplies the permission.
internal/host/memwatch.go:memwatchLoop Use groupMetricsAWSConfig for box-region CloudWatch with one SDK attempt on groups; extend existing admission batch using verified launch binding and clock-presence data. Same chronyc/metadata/config read paths and cadence, no new per-box poll; fixed client retries remain.
internal/host/systemapply.go:systemApplier.Run Under the apply lock require the root marker-bound maintenance permit before group staging cleanup/floor/recovery work, then bind candidate digest before staging. Marker /etc/carlos/group.json is root boot output; permit /run/carlos-group-maintenance/permit.json is operator-written through root, never the agent receipt. Direct read unchanged.
internal/host/systemapply.go:systemApplier.activationGuard Recheck the operator maintenance action before existing release/floor guard and immediately before repoint callback. Indirect protected marker/permit and exact installed-artifact reads add refusal at mutation boundaries; root never accepts agent receipt authority.
@@ -182,11 +190,11 @@ internal/host/systemapply.go:systemApplier.restartInstanceControl Check group ap
internal/host/systemapply.go:systemApplier.restoreFiles Authorize exact previous artifact before restore, propagate quiesce refusal and remove automatic group units from enable list. Existing signature/floor and staged plan reads remain; indirect permit must be root-owned and bind old digest/current boot.
internal/host/systemapply.go:systemApplier.stageCandidate Require groupStageDigest before staging/candidate execution; action and new digest come from root-owned operator permit bound to boot marker. Existing signed pointer/artifact verification and two direct read sites remain.
internal/host/systemapply.go:systemApplier.stagePlan Require groupExecutable before staged bootstrap execution, matching the authorized old/new artifact through existing no-follow slot checks. New indirect marker/permit reads are root-protected; staged path still subject to existing release verification, direct read site unchanged.
-internal/hostenv/cli.go:runHostEnv Add write --group/--install: root reads /etc/carlos/group.json with protected reader, matches deployment/region, fetches bounded allowlisted SSM configuration, writes host.env and invokes verified bootstrap install. Operator-seeded SSM plus root boot marker supply configuration; no shell evaluation. Existing seed --from read unchanged.
+internal/hostenv/cli.go:runHostEnv Add write --group/--install: root reads /etc/carlos/group.json with protected reader, matches deployment/region, fetches bounded allowlisted SSM configuration, writes host.env and invokes verified bootstrap install. Operator-seeded SSM plus root boot marker supply configuration; no shell evaluation. Existing seed --from read unchanged. The --group= prefix pre-scan also selects the stricter bounded SSM reader for --group=false; flag parsing still selects fixed assembly and grants no group authority.
internal/instancectl/server.go:Server.RunProbe Take shared root hairpin lease for the entire probe so deny refresh and hairpin mutation cannot race it. Indirect reads validate root boot snapshot, root state/fence and interface inventory; existing probe.out direct read remains and lock/config errors fail readiness.
internal/instancectl/server.go:runWithClaim Resume root-owned hairpin state before probes/control service work; verify current systemd agent identity and kernel fence/addresses, restore pidfd watch or revoke stale state. Same direct exec/statfs/data sites; indirect inputs are protected root snapshot/state and kernel evidence, never receipt data.
internal/instancectl/server.go:type Server Add hairpinActive boolean alongside lastDeny under existing deny synchronization. Field declaration only; existing Statfs selector unchanged, no new read or externally supplied authority.
-infra/modules/region-host/group-init.sh.tftpl:external New root user-data boot: operator Terraform/SSM supply scoped bootstrap object version/hash, queue, reader inventory and ingress; hash-verified bootstrap verifies signed IMDS identity. Root exclusively writes /etc/carlos/group.json, group-identity.json, region-config.json and group-ingress.json with current kernel boot ID; public address comes from protected IMDSv2, not signed document or headers. Install IMDS denial, chrony, dormant hairpin fence and protected drop-ins before bootstrap/install/start. No agent receipt is read by root; restart authority is separate maintenance permit.
+infra/modules/region-host/group-init.sh.tftpl:external New root user-data boot: operator Terraform/SSM supply scoped bootstrap object version/hash, queue, reader inventory and ingress; hash-verified bootstrap verifies signed IMDS identity. Root exclusively writes /etc/carlos/group.json, group-identity.json, region-config.json and group-ingress.json with current kernel boot ID; public address comes from protected IMDSv2, not signed document or headers. Install IMDS denial, chrony, dormant hairpin fence and protected drop-ins before bootstrap/install/start. No agent receipt is read by root; restart authority is separate maintenance permit. F1: operator-seeded SSM boot/bootstrap-object requires floor=absent-expected or required beside key/version/known_readers/deployment_aws_region; root copies it into group.json before config_digest. Missing or invalid floor refuses before bootstrap fetch; Terraform only names this SSM key and does not write the object. Agent and instance-control gain AF_NETLINK in their address-family allowlists, with no CAP_NET_ADMIN grant.
infra/modules/region-host/group.tf:external Add opt-in pinned AMI/template ASG, group security group, validated reused/new ingress, fixed capacity and ABANDON launch hook; suspend AZRebalance, no refresh policy. Operator Terraform writes scoped queue and boot/ingress SSM parameters (stable array of ingress IPv4s) before launches; root boot snapshots these inputs. Explicit moves preserve fixed resource addresses.
infra/modules/region-host/group_iam.tf:external Compose group SSM read scopes and KMS ViaService/context, own tagged ASG completion and region-limited DescribeInstances; explicit Deny protects control/box-roles from box-role writes. Bootstrap version reads and regional data version operations are scoped; ordinary deployment/data writes remain. Root boot trusts operator-seeded parameters/hash, not arbitrary mutable bucket objects; file itself is operator Terraform only.
infra/modules/region-host/tests/fixed-and-group/main.tf:external Add local Terraform fixture instantiating distinct fixed/group names, roles, ingress and queues for isolation assertions. Mock-test fixture only, no box root runtime input.
@@ -203,8 +211,8 @@ internal/hairpin/native_linux.go:run Shared exec.CommandContext wrapper for inte
internal/hairpin/snapshot.go:groupPresentAt Lstat fixed /etc/carlos/group.json to detect visible marker including symlink, or group reference flag. Selection only, not content authority: visible marker triggers strict protected reads; inaccessible marker with no group reference retains fixed selection.
internal/hairpin/snapshot.go:loadGroupIdentity Read root-owned 0644 /etc/carlos/group.json and group-identity.json through protected reader plus kernel boot_id. Validate marker, current boot and signed IMDS identity account/region/iid/derived box reference before reading root group-ingress.json. Operator boot/SSM and protected IMDS are provenance; agent cannot supply snapshot authority.
internal/host/bootstrap.go:bootstrapWithGroup Move bootstrapWith body here, retaining host.env, embedded unit reads and tmpfiles execution. Group live caller holds root mutation guard; skip automatic update/recovery units, preserve Restart=no/nftables drop-in and masks, and write separate root-owned /run/carlos-group-maintenance tmpfiles rule outside service ownership walk. No agent receipt read.
-internal/host/group_boot.go:loadGroupConfigurationAt Lstat marker then protected-read root boot /etc/carlos/group.json, region-config.json and exact 50-group.conf; validate schema/digest, environment, queue, placement and Restart=no/nftables bytes. Marker written by root from operator configuration/IMDS; visible invalid marker refuses, absent/inaccessible unreferenced marker retains fixed selection.
-internal/host/group_config_linux.go:initializeGroupLaunch Root checks current boot/deadline and protected hairpin snapshot, then exclusively creates group-admission/attempt.json through directory descriptors and hands ownership to carlos. New Openat sites create a directory/leaf, never read existing agent journal or receipt; existing directory refuses. Initial journal is agent lifecycle state, not root maintenance authority.
+internal/host/group_boot.go:loadGroupConfigurationAt Lstat marker then protected-read root boot /etc/carlos/group.json, region-config.json and exact 50-group.conf; validate schema/digest, environment, queue, placement and Restart=no/nftables bytes. Marker written by root from operator configuration/IMDS; visible invalid marker refuses, absent/inaccessible unreferenced marker retains fixed selection. Marker schema now requires floor=absent-expected or required and binds that choice in config_digest; missing/unknown values fail closed.
+internal/host/group_config_linux.go:initializeGroupLaunch Root checks current boot/deadline and protected hairpin snapshot, then exclusively creates group-admission/attempt.json through directory descriptors and hands ownership to carlos. New Openat sites create a directory/leaf, never read existing agent journal or receipt; existing directory refuses. Initial journal is agent lifecycle state, not root maintenance authority. Root also creates /data/carlos and hands it to the service user before creating the journal directory; root never reads agent state there.
internal/host/group_maintenance.go:groupInstallationConsumed Lstat root-owned /etc/carlos/group-install-used; any result except absence means initial-install authority is consumed. No leaf content is trusted and no agent receipt is consulted.
internal/host/group_maintenance.go:groupMarkerPresent Lstat /etc/carlos/group.json (or test etc root); anything except absence selects strict group maintenance validation. Root boot writes marker, flags cannot bypass it and unreadable/linked marker cannot authorize fixed behavior.
internal/host/group_maintenance.go:preserveGroupUnits Readlink only known update/recovery unit paths under root /etc/systemd/system to preserve /dev/null masks; write exact Restart=no/nftables drop-in and replace non-mask entries. Runs after root authorization; no link target is followed or used as executable/input.
@@ -218,7 +226,7 @@ internal/host/group_receipt_linux.go:groupReceiptLeaf Agent opens fixed receipt/
internal/host/group_receipt_linux.go:openGroupReceiptDir Agent Openat2 forbids symlinks/magic links in /data/carlos/group-admission, Fstat requires current uid and 0700. This intentionally agent-owned path holds completion state only; root bootstrap creates it, root maintenance never reads it.
internal/host/group_receipt_linux.go:readGroupReceiptFile Agent bounded ReadAll (65537 limit) from verified receipt leaf, then strict JSON decode of receipt.json or attempt.json. Binding/deadline/retry checks occur in completer; no root caller uses agent data as permit or proof of cloud membership.
internal/host/systemunits.go:ensureSystemUnitsWithGuard 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.
-internal/host/units/carlos-edge-group.conf:external 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.
+internal/host/units/carlos-edge-group.conf:external Group-only test fixture pins the groupUnitProtection constant; this file is not embedded or read in production. Root writes the constant through preserveGroupUnits and validates it during boot. No agent input and fixed edge unit bytes unchanged.
internal/hostenv/group.go:installGroup 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.
internal/hostenv/group_linux.go:readGroupFileAt 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.
internal/instancectl/hairpin.go:ClearGroupHairpin 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.
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index b9b61714e..410d15573 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -83,4 +83,4 @@ plan14-root-reads-region-ha-p3a.tsv f44d209a054eee55fdee54227d419b74c34a9b2fc174
plan14-root-reads-stateless-coordinator-route.tsv 7974cb078e82272605cbc8ef6809c9ae5e0b02edc22ca843cd2ef4b38d9e44e9
plan14-root-reads-stateless-replicas-2.tsv 59c0891618b9befae27ebe04d0a67b08c7f7658bca9f1c78bf6d05eb7a708e82
plan14-root-reads-region-ha-p2b.tsv 59c0891618b9befae27ebe04d0a67b08c7f7658bca9f1c78bf6d05eb7a708e82
-plan14-root-reads-region-ha-p3b.tsv 6fff7fd706651cee79e21bda9509fd44d736310c9f06a9b3befe6b9cbd73efe3
+plan14-root-reads-region-ha-p3b.tsv 21bc7355b42234bccdee2d6bfd04bf99a4a043b28e14a408ce17ea558d619b46
diff --git a/internal/provision/testdata/plan14-root-reads-region-ha-p3b.tsv b/internal/provision/testdata/plan14-root-reads-region-ha-p3b.tsv
index d2109e9b6..732046149 100644
--- a/internal/provision/testdata/plan14-root-reads-region-ha-p3b.tsv
+++ b/internal/provision/testdata/plan14-root-reads-region-ha-p3b.tsv
@@ -24,7 +24,7 @@
@legacy 4a96b6a26e5d61b400d3385bba41e29facaa5361ad7e69b97f1cc1791575cd94 internal/host/systemapply.go systemApplier.stagePlan legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-region-ha-p3b;basis=Require groupExecutable before staged bootstrap execution, matching the authorized old/new artifact through existing no-follow slot checks. New indirect marker/permit reads are root-protected; staged path still subject to existing release verification, direct read site unchanged. file:ReadDir@622 f2f49fa16a22b949be8dd46002b72cd5e35013fd97df121a3fdd43725caf35fa
@legacy 51881edaa812e2924dee200ed0de2efd79c082f140a60cc7358c4357e4203548 internal/instancectl/server.go Server.RunProbe legacy accepted-legacy accepted-legacy;rev3=J2,J4;basis=root-input;rev3=census-ruling-rootfs-apps-2;basis=after the resolver allow it applies the box-address deny (denyLocalAddrs: set-property IPAddressDeny on carlos-instances.slice from localPrefixes, which reads /proc/net/fib_trie and /proc/net/if_inet6 as LocalAddrs already did), writes the probe's box-addrs under its own exe layout (writeFileExcl, a decision row), and after the binary probe runs the rootfs probe (runRootfsProbe, a decision row); its own direct read, probe.out, is unchanged;rev3=census-ruling-region-ha-p3b;basis=Take shared root hairpin lease for the entire probe so deny refresh and hairpin mutation cannot race it. Indirect reads validate root boot snapshot, root state/fence and interface inventory; existing probe.out direct read remains and lock/config errors fail readiness. file:ReadFile@2469 9c70137a37f74d20f04b61d46ebdaff701633d261c1a96c20cf184d5a9e11bcb
@legacy 991b08d3822cc2567c80c7434dc91e3f968ef08e5b1157f4cf2c873ed369f51b internal/instancectl/server.go type Server 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. Census ruling 292 reclassified this declaration accepted-legacy (J2,J4) for root's per-host ordering of legacy run starts against stops; this ruling kept the row as main classed it. Its own addition is the cmd start's poll and wait bounds and its per-host lock map: field declarations only;rev3=census-ruling-rootfs-apps-2;basis=new fields: HostRuntime, ProbeImage, ProbeImageFile, RootfsProbeOut, DenyEvery, the deny's lastDeny and denyMu, the rootfs probe's report and lock, the jit reload counters and imageDigests; genStarting counts binary generation starts per unit; rootfsLocksMu and rootfsLocks, one lock entry per rootfs unit name being started or removed right now, held by a start from its layout through systemctl start and its own cleanup and by a removal from its proof through the raw removal, a removal refusing while it is taken, a waiting start giving up when its request ends, an entry dropped with its last holder or waiter (fixes E6, L2, L3); rootfsProvenHook, a test hook run between the proof and the raw removal; field declarations only; no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 and #329 plan 3 Task 5: the declaration gains sliceLocks (one mutex per host slice, taken by /size and /parent) and Egress (the asserter every start path calls), and its comment names the egress allow (plan 3's ControlDropInDir field was deleted in ef38e13b, the P1 EROFS fix); the same one site, the Statfs field, offset moved; no read added.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 6: comments only: the one-shot pacing fields cover /cmd and /tty, and cmdLocks is now keyed by (role, host) (oneShotKey, PF-7) so a session's start never waits behind a command's; field declarations unchanged; the same one site, no read added;rev3=census-ruling-agent-start-demo-1;basis=Adds fixed demo configuration, registry views, derived runtime root, synchronization and purge guard.;rev3=census-ruling-region-ha-p3b;basis=Add hairpinActive boolean alongside lastDeny under existing deny synchronization. Field declaration only; existing Statfs selector unchanged, no new read or externally supplied authority. file:Statfs@3927 fa61b5a13fde6a977b8eef64245838a699bc468b052a10449c2945355b8163c7
-@legacy b610cda564cfaa05fe950b84582b0d1e24add62588aefa34ae28e03ca987de19 infra/modules/region-host/group-init.sh.tftpl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=New root user-data boot: operator Terraform/SSM supply scoped bootstrap object version/hash, queue, reader inventory and ingress; hash-verified bootstrap verifies signed IMDS identity. Root exclusively writes /etc/carlos/group.json, group-identity.json, region-config.json and group-ingress.json with current kernel boot ID; public address comes from protected IMDSv2, not signed document or headers. Install IMDS denial, chrony, dormant hairpin fence and protected drop-ins before bootstrap/install/start. No agent receipt is read by root; restart authority is separate maintenance permit. file:external@0 b2b6ce0ed173269808c6e7a931dcdd28b875b671926fbc6efcd9b1a02417d70d
+@legacy 356b16cbc2527801279430cf84dba44847ddace649dd8656407830c97a7c0dd5 infra/modules/region-host/group-init.sh.tftpl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=New root user-data boot: operator Terraform/SSM supply scoped bootstrap object version/hash, queue, reader inventory and ingress; hash-verified bootstrap verifies signed IMDS identity. Root exclusively writes /etc/carlos/group.json, group-identity.json, region-config.json and group-ingress.json with current kernel boot ID; public address comes from protected IMDSv2, not signed document or headers. Install IMDS denial, chrony, dormant hairpin fence and protected drop-ins before bootstrap/install/start. No agent receipt is read by root; restart authority is separate maintenance permit. F1: operator-seeded SSM boot/bootstrap-object requires floor=absent-expected or required beside key/version/known_readers/deployment_aws_region; root copies it into group.json before config_digest. Missing or invalid floor refuses before bootstrap fetch; Terraform only names this SSM key and does not write the object. Agent and instance-control gain AF_NETLINK in their address-family allowlists, with no CAP_NET_ADMIN grant. file:external@0 a19a6a157c34ae06288c8d335ef766bf66aeeaa85f81d6a1d6c5022a24bad5ee
@legacy 5b263b317b07a290f36493307823b99bb793a703d703545586ba3176eb42292e infra/modules/region-host/group.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Add opt-in pinned AMI/template ASG, group security group, validated reused/new ingress, fixed capacity and ABANDON launch hook; suspend AZRebalance, no refresh policy. Operator Terraform writes scoped queue and boot/ingress SSM parameters (stable array of ingress IPv4s) before launches; root boot snapshots these inputs. Explicit moves preserve fixed resource addresses. file:external@0 8dc084e1cb08a3b40560babf2671bdefa001e7947c34b57cb44b642aebf361fd
@legacy a4c6acdeeafd2ed131061856a69bbea054f3e269543be3dd19388b607ab82479 infra/modules/region-host/group_iam.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Compose group SSM read scopes and KMS ViaService/context, own tagged ASG completion and region-limited DescribeInstances; explicit Deny protects control/box-roles from box-role writes. Bootstrap version reads and regional data version operations are scoped; ordinary deployment/data writes remain. Root boot trusts operator-seeded parameters/hash, not arbitrary mutable bucket objects; file itself is operator Terraform only. file:external@0 6b349d1b8b3a943c4fd597b57b0a938bb635a7b60243c81a2a08313a73becae4
@legacy ac04a40d9131cebaa26daaeae7f49ad404847f647b91e26cc8df640a89e22485 infra/modules/region-host/tests/fixed-and-group/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Add local Terraform fixture instantiating distinct fixed/group names, roles, ingress and queues for isolation assertions. Mock-test fixture only, no box root runtime input. file:external@0 1b92bcb46334aafdf627e5de4184f1dcd422e158b4739e30e3cbe2f6e900e14e
@@ -41,8 +41,8 @@
@legacy fbf7a44fd5adc43e422e21d1bcca04b71b681df2ccb5de8f6158124b10fd5d3e internal/hairpin/snapshot.go groupPresentAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Lstat fixed /etc/carlos/group.json to detect visible marker including symlink, or group reference flag. Selection only, not content authority: visible marker triggers strict protected reads; inaccessible marker with no group reference retains fixed selection. file:Lstat@62 72b498ff5b85221815c47634de507f16503bb8e0a4d64d0c5e00fc5c2ae6f079
@legacy e789d152ed442a89ecdeecab1ee865363bc99f65ca936b47adc4a7eea4c74509 internal/hairpin/snapshot.go loadGroupIdentity legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Read root-owned 0644 /etc/carlos/group.json and group-identity.json through protected reader plus kernel boot_id. Validate marker, current boot and signed IMDS identity account/region/iid/derived box reference before reading root group-ingress.json. Operator boot/SSM and protected IMDS are provenance; agent cannot supply snapshot authority. file:ReadFile@306 c589565939e1e50075ec56935068d3281d702782a76b4867e4e59c74010d7e5d
@legacy 566ae288cef414325283205b3a4bec389f208aca4931b2972c3b2d2bfe849723 internal/host/bootstrap.go bootstrapWithGroup legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Move bootstrapWith body here, retaining host.env, embedded unit reads and tmpfiles execution. Group live caller holds root mutation guard; skip automatic update/recovery units, preserve Restart=no/nftables drop-in and masks, and write separate root-owned /run/carlos-group-maintenance tmpfiles rule outside service ownership walk. No agent receipt read. file:Command@11973,file:ReadFile@564,file:ReadFile@7027 d9b7fc46e56bef323e21d60f03cc6d346b6e2d55eb5e76b294d6fb66b41e96cc
-@legacy 9a292118e6c4338101d47a8c9590f7b544c34054254965a93599c8ba0178b8a3 internal/host/group_boot.go loadGroupConfigurationAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Lstat marker then protected-read root boot /etc/carlos/group.json, region-config.json and exact 50-group.conf; validate schema/digest, environment, queue, placement and Restart=no/nftables bytes. Marker written by root from operator configuration/IMDS; visible invalid marker refuses, absent/inaccessible unreferenced marker retains fixed selection. file:Lstat@341 dee97ec04c2adb038c84d847f8680b4c468b16b55bc4edbfc70997a987aef950
-@legacy 99280cd76deabc95bb477683858ff4364d145ae64735b9ba1c78595373e5e414 internal/host/group_config_linux.go initializeGroupLaunch legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Root checks current boot/deadline and protected hairpin snapshot, then exclusively creates group-admission/attempt.json through directory descriptors and hands ownership to carlos. New Openat sites create a directory/leaf, never read existing agent journal or receipt; existing directory refuses. Initial journal is agent lifecycle state, not root maintenance authority. file:Openat@738,file:Openat@909 095446775dbb483d46f6c4b663433a44fe8bbf6a709c443a2c86580a916dc1c5
+@legacy c4112d3ae952a6a486a858f841b8612dbd4e19b6c9a4176693b62c94d8c7364d internal/host/group_boot.go loadGroupConfigurationAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Lstat marker then protected-read root boot /etc/carlos/group.json, region-config.json and exact 50-group.conf; validate schema/digest, environment, queue, placement and Restart=no/nftables bytes. Marker written by root from operator configuration/IMDS; visible invalid marker refuses, absent/inaccessible unreferenced marker retains fixed selection. Marker schema now requires floor=absent-expected or required and binds that choice in config_digest; missing/unknown values fail closed. file:Lstat@341 dee97ec04c2adb038c84d847f8680b4c468b16b55bc4edbfc70997a987aef950
+@legacy 268b83cb82cbe34f879576febecb7232ad822b31ba4d6c5518e01b412c5c49f2 internal/host/group_config_linux.go initializeGroupLaunch legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Root checks current boot/deadline and protected hairpin snapshot, then exclusively creates group-admission/attempt.json through directory descriptors and hands ownership to carlos. New Openat sites create a directory/leaf, never read existing agent journal or receipt; existing directory refuses. Initial journal is agent lifecycle state, not root maintenance authority. Root also creates /data/carlos and hands it to the service user before creating the journal directory; root never reads agent state there. file:Openat@738,file:Openat@909 095446775dbb483d46f6c4b663433a44fe8bbf6a709c443a2c86580a916dc1c5
@legacy 69ff8347786851091d1bb4d0ef1043c66a8f064a3d27b9f344dfa1d9a8eb1354 internal/host/group_maintenance.go groupInstallationConsumed legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Lstat root-owned /etc/carlos/group-install-used; any result except absence means initial-install authority is consumed. No leaf content is trusted and no agent receipt is consulted. file:Lstat@61 6edabbcf2ec1b1aa807c63ac58eac9e04893aed86eaa8179eb671a65c730e803
@legacy 5d068cc5425fa1c5b7b91e52578f51e28ff1845811191ccfe791d0dfc8f570fa internal/host/group_maintenance.go groupMarkerPresent legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Lstat /etc/carlos/group.json (or test etc root); anything except absence selects strict group maintenance validation. Root boot writes marker, flags cannot bypass it and unreadable/linked marker cannot authorize fixed behavior. file:Lstat@54 96f8636ee8c29c8d700296edd8fe990cbae6a9b0dbb70faf9c5f7efe5328d685
@legacy 0b8096e3422b743abf0651e5026e85ceb341fcb74f63af64d758491ae5d68335 internal/host/group_maintenance.go preserveGroupUnits legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Readlink only known update/recovery unit paths under root /etc/systemd/system to preserve /dev/null masks; write exact Restart=no/nftables drop-in and replace non-mask entries. Runs after root authorization; no link target is followed or used as executable/input. file:Readlink@504 c8387e22d2a599e6b821db39b8f717a489dd189d5a9551b839f4c448fd12cf9a
@@ -56,7 +56,7 @@
@legacy da3153a5a0966afdca1bc480460699b3759640f9d8d1e782616ae32a6f930711 internal/host/group_receipt_linux.go openGroupReceiptDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Agent Openat2 forbids symlinks/magic links in /data/carlos/group-admission, Fstat requires current uid and 0700. This intentionally agent-owned path holds completion state only; root bootstrap creates it, root maintenance never reads it. file:Fstat@297,file:Openat2@65 961b4ed655469115c031fbb36fbac67de9c38387d1b9f5586868268fcbd89ff9
@legacy 0381ca14ffee25548d12597cd78fe786bedc037641a33e71d0d20f31783b0153 internal/host/group_receipt_linux.go readGroupReceiptFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Agent bounded ReadAll (65537 limit) from verified receipt leaf, then strict JSON decode of receipt.json or attempt.json. Binding/deadline/retry checks occur in completer; no root caller uses agent data as permit or proof of cloud membership. file:ReadAll@272 c6164c2c9e289e7b77cbe15043487a55a6975957965031b4140dfb5ffdeec280
@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 50287bfbd7e454c99a51a836df16febbe142fefa85177f6dc67167be21572e81 internal/host/units/carlos-edge-group.conf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Group-only test fixture pins the groupUnitProtection constant; this file is not embedded or read in production. Root writes the constant through preserveGroupUnits and validates it during boot. No agent input 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 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
@@ -82,8 +82,8 @@ internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy ac
internal/host/hadepartures_scan.go Controller.adoptMeasured legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B5: Invoke the existing importer once and measure result/latency with bound inventory and departure fields. No new read or authority.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before measured duty adoption. Same adoption and metric reads, no new input; admission does not replace lease or successor proof. whole:HADeparture@324,whole:HADeparture@579 ab4ece9e4bd78643fd5fa52851192d430ae2b4fdb1cb8142ad28b5d124e9aa3b
internal/host/hadepartures_scan.go Controller.complete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read the durable departure/scan and current inventory, then conditionally delete only the retained exact edges key/revision. Reread uncertain results and refuse replacement identities. Persist deletion and acknowledged index phases before complete; queue receipts stay in memory and only complete rows acknowledge. Fresh process evidence is required before authority checkpoint reuse. Fix r1/P15: ignore the old scan-level ETag override and delete only the original departure ETag. Exact-key readback retries the same tag; a changed tag is never deleted and advances only with a different verified iid under the same ref/account/scope, otherwise holds and pages. Persist permission fault episodes; route completion faults through bounded retry. No new filesystem or executable input. B4 fix r4/P18 supersedes fixed-ref deletion: only the deterministic account/iid group reference may delete its retained exact ETag. Every other ref performs an exact-key GET and stays pending unless absent or the existing verified newer-incarnation check succeeds; the live replacement file is left intact. Group revision changes stay pending. No new key or authority read. B5: Increment completion counter only after the durable complete phase; C4 ordering stays after that commit.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations. registry:Cursor@1745,registry:DeleteUncertain@1980,registry:DeleteUncertain@3399,registry:DeleteUncertain@3784,registry:Generation@1727,registry:Generation@1781,registry:Hosts@4623,registry:InventoryGeneration@1832,registry:PermissionAlerted@2269,registry:PermissionAlerted@3154,registry:PermissionAlerted@3928,registry:PermissionAlerted@4332,registry:PermissionAlerted@841,registry:PermissionAlerted@883,registry:Phase@1002,registry:Phase@1042,registry:Phase@1538,registry:Phase@262,registry:Phase@3278,registry:Phase@4046,registry:Phase@680,registry:Phase@950,registry:Phase@967,registry:Rescan@1761,registry:Version@665,whole:HADeparture@315,whole:HADeparture@442,whole:HADeparture@4672,whole:HADepartureHostScan@4625,whole:HADepartureScan@643 95d35c2909c28f2a8542e32e21fb9caa866a8ebe24c6c984a20c5c0933796be9
internal/host/hadepartures_wiring.go armHADepartures legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Install proof adapter, adoption identity and suspicion callbacks before asynchronous startup. Lazily retry the same deployment/data clients; lifetime callback reads only the current host through ExecBackend.TerminationLifetime. Add bounded structured paging for unresolved per-iid records. No new bucket, tenant input path or acquire bypass. B4: Wire the shared lock reader and existing AdoptHost entry. Read local route, Pair and duty revision only after authoritative inventory eligibility; bind its record lifetime and refuse missing/mismatched local routes. No route synthesis or pool widening. B5: Publish the armed controller to the existing metrics sampler. No new loop, remote source or process authority.;rev3=census-ruling-region-ha-followups;basis=Inject the existing PageOperator function into the backend when HA departures are armed; no new read or paging transport.;rev3=census-ruling-region-ha-p3b;basis=Require group admission/BeginWork callbacks and pass them into the sole departure consumer, including the production adoption closure. Same store, identity and registry reads; consumer Started remains a lifecycle fact, not duty authority. registry:Account@3666,registry:Account@7386,registry:App@7413,registry:IID@3687,registry:Incarnation@7573,registry:Pool@7432,registry:Region@3677,registry:Region@7453,registry:Revision@7808,registry:Revision@8205,registry:ServingSeq@7601,whole:DutyState@7927,whole:Pair@7790,whole:Pair@8183,whole:Pair@8189,whole:Route@7373,whole:Route@8082 81607c6b32a3c91e7d31a9e2606eaa33161bf219a51ff2c28570e353146bebf9
-internal/host/installchannel.go channelInstall.refreshPrev authority F,J4 rev3=census-ruling-claim-prev-rehearsal-fix1;identity=uid 0 at the box's attended root shell (carlos system install-channel --policy);basis=under the apply lock, after the armed-guard, unfinished-update, other-release and floor refusals: carlos must hash, through slotState's O_NOFOLLOW descriptor, to the channel release's signed artifact sha256; its one read site Lstats carlos.prev to refuse a symlink or anything but a regular file; completePrev then removes the old verdicts and version record, copies carlos over carlos.prev and writes and reads back the record, each step mandatory; it then reaches notePrev and through it the floor's judgement (judgePrevWith and judgeSeedsPrev, or with a root participation census the root moves floor judge), which can open the registry as root when a legacy local floor exists; both slots are re-hashed before the identity is kept; nothing is fetched or executed and applied.json and seen.json are not written;rev3=census-ruling-region-ha-p3b;basis=Write channel identity only when signed identity bytes are present; verified absent-both group floor can return nil. Same staged artifact/slot checks and direct read site; nil wire adds no unsigned identity authority. file:Lstat@907 b242d5e7c8a0c13eabb67e31f84447efe8fcf3f0c0702047e6c4dae32da1d8f4
-internal/host/installchannel.go channelInstall.run authority F,J4 rev3=census-ruling-claim-untagged-pointer;identity=uid 0 at a fresh box's start-up, and with --policy --identity at an updated box's attended root shell (carlos system install-channel);basis=carlos system install-channel (root): at a fresh box's start-up, and with --policy and --identity also at an updated box's attended root shell before the host floor is published; its one read site opens root's apply lock; the install goes through verifyPointer, hostfloor.CheckImage (against the published floor and the identity the pointer's release tag names, or with --policy against the verified policy floor and the --identity file, which must be the identity published under its own tag and name the pointer's version, this platform's artifact sha256 and any tag the pointer carries) and stageCandidate into both protected slots, or with --policy on an updated box at the channel head through refreshPrev; it refuses a box whose guard is armed or that already runs another release, and with --policy a box whose update has not finished;rev3=census-ruling-region-ha-p3b;basis=Reset invocation-local maintenance state under the existing install lock before install. Indirect install guard consumes root group-install-used once or requires the protected operator install permit; direct lock read unchanged, agent receipt never read by root. file:OpenFile@196 e923094717f71d7bccf77637a6153076dd61c71242664dd8c490cbd749ebb586
+internal/host/installchannel.go channelInstall.refreshPrev authority F,J4 rev3=census-ruling-claim-prev-rehearsal-fix1;identity=uid 0 at the box's attended root shell (carlos system install-channel --policy);basis=under the apply lock, after the armed-guard, unfinished-update, other-release and floor refusals: carlos must hash, through slotState's O_NOFOLLOW descriptor, to the channel release's signed artifact sha256; its one read site Lstats carlos.prev to refuse a symlink or anything but a regular file; completePrev then removes the old verdicts and version record, copies carlos over carlos.prev and writes and reads back the record, each step mandatory; it then reaches notePrev and through it the floor's judgement (judgePrevWith and judgeSeedsPrev, or with a root participation census the root moves floor judge), which can open the registry as root when a legacy local floor exists; both slots are re-hashed before the identity is kept; nothing is fetched or executed and applied.json and seen.json are not written;rev3=census-ruling-region-ha-p3b;basis=Write channel identity only when verified signed identity bytes are present. Nil wire is allowed only when both floor objects are genuinely absent and the protected root marker explicitly says floor=absent-expected; required or missing marker refuses. Published floor always verifies identity/image. Same staged artifact/slot checks and direct read site; nil wire adds no unsigned identity authority. file:Lstat@907 b242d5e7c8a0c13eabb67e31f84447efe8fcf3f0c0702047e6c4dae32da1d8f4
+internal/host/installchannel.go channelInstall.run authority F,J4 rev3=census-ruling-claim-untagged-pointer;identity=uid 0 at a fresh box's start-up, and with --policy --identity at an updated box's attended root shell (carlos system install-channel);basis=carlos system install-channel (root): at a fresh box's start-up, and with --policy and --identity also at an updated box's attended root shell before the host floor is published; its one read site opens root's apply lock; the install goes through verifyPointer, hostfloor.CheckImage (against the published floor and the identity the pointer's release tag names, or with --policy against the verified policy floor and the --identity file, which must be the identity published under its own tag and name the pointer's version, this platform's artifact sha256 and any tag the pointer carries) and stageCandidate into both protected slots, or with --policy on an updated box at the channel head through refreshPrev; it refuses a box whose guard is armed or that already runs another release, and with --policy a box whose update has not finished;rev3=census-ruling-region-ha-p3b;basis=Reset invocation-local maintenance state under the existing install lock before install. Indirect install guard consumes root group-install-used once or requires the protected operator install permit; direct lock read unchanged, agent receipt never read by root. F1: no-floor install now requires floor=absent-expected from the protected root marker through maintenanceConfig, plus genuine absence of both floor objects. Required or missing marker refuses absence as on main; published floor always verifies identity/image. No agent-owned input supplies the permission. file:OpenFile@196 e923094717f71d7bccf77637a6153076dd61c71242664dd8c490cbd749ebb586
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.;rev3=census-ruling-region-ha-p3b;basis=Use groupMetricsAWSConfig for box-region CloudWatch with one SDK attempt on groups; extend existing admission batch using verified launch binding and clock-presence data. Same chronyc/metadata/config read paths and cadence, no new per-box poll; fixed client retries remain. file:CommandContext@1709 2bfbd9899fb2d50cbbeed53917f066fa6ef226bea788da09abb333873c9b73f2
internal/host/systemapply.go systemApplier.Run authority D,F,J4 rev3=PROPOSED-claims-on-gate-recover;identity=root apply/recovery uid 0;basis=re-pinned at its class and task; its lock-file read is unchanged. A checkGuardRecovery error wrapping errSettlementDeferred under --recover is logged and not fatal, and the end-of-run settlement is not retried after a deferral; every other refusal returns as before. root-input;kept=D,F;scope=protected-decision-only. TestRecoverDefersACensusRefusalWithNoJournalOpen, TestApplyStillFailsACensusRefusalWithNoJournalOpen. Fix round 2: a deferral that recoverIfNeeded returns after the journal was removed is consumed the same way, with no fatal error kept and no settlement retried. TestRecoverDefersARefusalAfterTheJournalIsRemoved. Fix round 3: the end-of-run marker settlement (settleMarker, settleUpdateBegun) also goes through settleWithoutJournal, so a legacy update-begun marker with no update record and no journal defers a census refusal with the recover-legacy barrier held; a barrier that cannot be written joins the run's error in every mode; every other marker failure is logged as on main. TestRecoverHoldsAcquisitionsForALegacyMarker, TestRecoverFailsALegacyMarkerWhoseBarrierCannotBeWritten.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 15: the no-op test is split so the installed build (onDiskBuild, the same read as before) is read once; a hand-run apply then refuses a candidate below the rootfs floor v0.29.0 on a box already at or above it unless the override flag is passed; the agent's pointer path is unchanged; adds a refusal only;rev3=census-ruling-region-ha-p3b;basis=Under the apply lock require the root marker-bound maintenance permit before group staging cleanup/floor/recovery work, then bind candidate digest before staging. Marker /etc/carlos/group.json is root boot output; permit /run/carlos-group-maintenance/permit.json is operator-written through root, never the agent receipt. Direct read unchanged. file:OpenFile@523 98a0175dfd1065d9d3c43eb4071db3ec1f9f7bc054faef52c7a85d88fba2cde3
internal/host/systemapply.go systemApplier.activationGuard authority D,F,J4 rev3=PROPOSED-p3;identity=carlos system apply/recover root units and offline root CLI uid 0;basis=release exclusion then scoped participation transaction then effective moves/seeds floor and registry; signed candidate checks remain inside guard; nested journal close reuses live exclusion;rev3=census-ruling-region-ha-p3b;basis=Recheck the operator maintenance action before existing release/floor guard and immediately before repoint callback. Indirect protected marker/permit and exact installed-artifact reads add refusal at mutation boundaries; root never accepts agent receipt authority. whole:Route@1497 f19e9a91970565b979b9dc91f144a4459b1673ff34c925070b8f90b6685dfa32
@@ -94,11 +94,11 @@ internal/host/systemapply.go systemApplier.restartInstanceControl legacy accepte
internal/host/systemapply.go systemApplier.restoreFiles authority F,J4 rev3=PROPOSED-p3;identity=carlos system apply/recover, root systemd units or offline root CLI, uid 0;basis=selects signed prev identity and checks staged restore against both root bounds before rename; version sidecar cannot authorize;rev3=census-ruling-region-ha-p3b;basis=Authorize exact previous artifact before restore, propagate quiesce refusal and remove automatic group units from enable list. Existing signature/floor and staged plan reads remain; indirect permit must be root-owned and bind old digest/current boot. file:Stat@330 85c6fab0a047bc5bc8c0928b11f84b212dfe4002ceb2df26c6f7c53309ea37ac
internal/host/systemapply.go systemApplier.stageCandidate legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-region-ha-p3b;basis=Require groupStageDigest before staging/candidate execution; action and new digest come from root-owned operator permit bound to boot marker. Existing signed pointer/artifact verification and two direct read sites remain. file:OpenFile@949,file:Stat@774 d6d3ac7c5b6cba393f2b111b8846318a88a22aecd17134da8d9f262ab5f7268c
internal/host/systemapply.go systemApplier.stagePlan legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-region-ha-p3b;basis=Require groupExecutable before staged bootstrap execution, matching the authorized old/new artifact through existing no-follow slot checks. New indirect marker/permit reads are root-protected; staged path still subject to existing release verification, direct read site unchanged. file:ReadDir@622 f2f49fa16a22b949be8dd46002b72cd5e35013fd97df121a3fdd43725caf35fa
-internal/hostenv/cli.go runHostEnv authority A,J4 rev3=census-ruling-region-ha-2b;basis=carlos system host-env: write runs as root at a box's start-up and writes /etc/carlos/host.env, 0600, whole (temporary file and rename), from allowlisted parameters with safe values only, refusing a missing required value; its one read site is seed's --from file, an operator's host.env whose values go only to the parameter store; write's path is fixed and reached only through writeHostEnv;rev3=census-ruling-region-ha-p3b;basis=Add write --group/--install: root reads /etc/carlos/group.json with protected reader, matches deployment/region, fetches bounded allowlisted SSM configuration, writes host.env and invokes verified bootstrap install. Operator-seeded SSM plus root boot marker supply configuration; no shell evaluation. Existing seed --from read unchanged. file:ReadFile@2233 fafefa24aeebf180fd4687389de5f485de8aa6c00ab8804fb6f2d5481102d373
+internal/hostenv/cli.go runHostEnv authority A,J4 rev3=census-ruling-region-ha-2b;basis=carlos system host-env: write runs as root at a box's start-up and writes /etc/carlos/host.env, 0600, whole (temporary file and rename), from allowlisted parameters with safe values only, refusing a missing required value; its one read site is seed's --from file, an operator's host.env whose values go only to the parameter store; write's path is fixed and reached only through writeHostEnv;rev3=census-ruling-region-ha-p3b;basis=Add write --group/--install: root reads /etc/carlos/group.json with protected reader, matches deployment/region, fetches bounded allowlisted SSM configuration, writes host.env and invokes verified bootstrap install. Operator-seeded SSM plus root boot marker supply configuration; no shell evaluation. Existing seed --from read unchanged. The --group= prefix pre-scan also selects the stricter bounded SSM reader for --group=false; flag parsing still selects fixed assembly and grants no group authority. file:ReadFile@2233 fafefa24aeebf180fd4687389de5f485de8aa6c00ab8804fb6f2d5481102d373
internal/instancectl/server.go Server.RunProbe legacy accepted-legacy accepted-legacy;rev3=J2,J4;basis=root-input;rev3=census-ruling-rootfs-apps-2;basis=after the resolver allow it applies the box-address deny (denyLocalAddrs: set-property IPAddressDeny on carlos-instances.slice from localPrefixes, which reads /proc/net/fib_trie and /proc/net/if_inet6 as LocalAddrs already did), writes the probe's box-addrs under its own exe layout (writeFileExcl, a decision row), and after the binary probe runs the rootfs probe (runRootfsProbe, a decision row); its own direct read, probe.out, is unchanged;rev3=census-ruling-region-ha-p3b;basis=Take shared root hairpin lease for the entire probe so deny refresh and hairpin mutation cannot race it. Indirect reads validate root boot snapshot, root state/fence and interface inventory; existing probe.out direct read remains and lock/config errors fail readiness. file:ReadFile@2469 9c70137a37f74d20f04b61d46ebdaff701633d261c1a96c20cf184d5a9e11bcb
internal/instancectl/server.go runWithClaim authority C,D,G Claim instance controller adds held-release RPC dispatch within existing launch/participation execution boundary.;rev3=census-ruling-rootfs-apps-2;basis=takes a RegistryView (HostApp and HostRuntime) for the bare hostApp, and the production Server literal gains HostRuntime, ProbeImage: BuildProbeImage, ProbeImageFile: ProbeImagePath, RootfsProbeOut under /run/carlos-control and DenyEvery: 10s; this body reads nothing new itself; the readers it wires (instanceRegistryHostRuntime, BuildProbeImage, the rootfs probe's output) are decision rows;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 4 and #329 plan 3 Task 5: takes the egress asserter as a parameter, sets it on the production Server literal (Egress) and starts its 30 s Loop beside probeLoop and diskLoop; the literal also names the fixture check ProbeFixturesOK (renamed in plan 2 Task 14). It sets no control drop-in directory: plan 3's ControlDropInDir default (/run/systemd/system.control) was deleted with removeGenControlDropIn in ef38e13b (the P1 EROFS fix), so instance control names systemd's control directory only to read it (TrustedDropinReader). The same four sites (the two exec.CommandContext closures, statfsBytes, the data literal), offsets moved; no read added.;rev3=census-ruling-agent-start-demo-1;basis=Wires root-owned demo config and existing fixed paths into the service.;rev3=census-ruling-region-ha-p3b;basis=Resume root-owned hairpin state before probes/control service work; verify current systemd agent identity and kernel fence/addresses, restore pidfd watch or revoke stale state. Same direct exec/statfs/data sites; indirect inputs are protected root snapshot/state and kernel evidence, never receipt data. data-literal@2201,file:CommandContext@1132,file:CommandContext@954,file:Statfs@2222 5b6fe9b32fb2ab7431f16876d2dc88c37cd768bce8bd42d7a3e1f1d24184e59b
internal/instancectl/server.go type Server 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. Census ruling 292 reclassified this declaration accepted-legacy (J2,J4) for root's per-host ordering of legacy run starts against stops; this ruling kept the row as main classed it. Its own addition is the cmd start's poll and wait bounds and its per-host lock map: field declarations only;rev3=census-ruling-rootfs-apps-2;basis=new fields: HostRuntime, ProbeImage, ProbeImageFile, RootfsProbeOut, DenyEvery, the deny's lastDeny and denyMu, the rootfs probe's report and lock, the jit reload counters and imageDigests; genStarting counts binary generation starts per unit; rootfsLocksMu and rootfsLocks, one lock entry per rootfs unit name being started or removed right now, held by a start from its layout through systemctl start and its own cleanup and by a removal from its proof through the raw removal, a removal refusing while it is taken, a waiting start giving up when its request ends, an entry dropped with its last holder or waiter (fixes E6, L2, L3); rootfsProvenHook, a test hook run between the proof and the raw removal; field declarations only; no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 and #329 plan 3 Task 5: the declaration gains sliceLocks (one mutex per host slice, taken by /size and /parent) and Egress (the asserter every start path calls), and its comment names the egress allow (plan 3's ControlDropInDir field was deleted in ef38e13b, the P1 EROFS fix); the same one site, the Statfs field, offset moved; no read added.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 6: comments only: the one-shot pacing fields cover /cmd and /tty, and cmdLocks is now keyed by (role, host) (oneShotKey, PF-7) so a session's start never waits behind a command's; field declarations unchanged; the same one site, no read added;rev3=census-ruling-agent-start-demo-1;basis=Adds fixed demo configuration, registry views, derived runtime root, synchronization and purge guard.;rev3=census-ruling-region-ha-p3b;basis=Add hairpinActive boolean alongside lastDeny under existing deny synchronization. Field declaration only; existing Statfs selector unchanged, no new read or externally supplied authority. file:Statfs@3927 fa61b5a13fde6a977b8eef64245838a699bc468b052a10449c2945355b8163c7
-infra/modules/region-host/group-init.sh.tftpl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=New root user-data boot: operator Terraform/SSM supply scoped bootstrap object version/hash, queue, reader inventory and ingress; hash-verified bootstrap verifies signed IMDS identity. Root exclusively writes /etc/carlos/group.json, group-identity.json, region-config.json and group-ingress.json with current kernel boot ID; public address comes from protected IMDSv2, not signed document or headers. Install IMDS denial, chrony, dormant hairpin fence and protected drop-ins before bootstrap/install/start. No agent receipt is read by root; restart authority is separate maintenance permit. file:external@0 b2b6ce0ed173269808c6e7a931dcdd28b875b671926fbc6efcd9b1a02417d70d
+infra/modules/region-host/group-init.sh.tftpl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=New root user-data boot: operator Terraform/SSM supply scoped bootstrap object version/hash, queue, reader inventory and ingress; hash-verified bootstrap verifies signed IMDS identity. Root exclusively writes /etc/carlos/group.json, group-identity.json, region-config.json and group-ingress.json with current kernel boot ID; public address comes from protected IMDSv2, not signed document or headers. Install IMDS denial, chrony, dormant hairpin fence and protected drop-ins before bootstrap/install/start. No agent receipt is read by root; restart authority is separate maintenance permit. F1: operator-seeded SSM boot/bootstrap-object requires floor=absent-expected or required beside key/version/known_readers/deployment_aws_region; root copies it into group.json before config_digest. Missing or invalid floor refuses before bootstrap fetch; Terraform only names this SSM key and does not write the object. Agent and instance-control gain AF_NETLINK in their address-family allowlists, with no CAP_NET_ADMIN grant. file:external@0 a19a6a157c34ae06288c8d335ef766bf66aeeaa85f81d6a1d6c5022a24bad5ee
infra/modules/region-host/group.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Add opt-in pinned AMI/template ASG, group security group, validated reused/new ingress, fixed capacity and ABANDON launch hook; suspend AZRebalance, no refresh policy. Operator Terraform writes scoped queue and boot/ingress SSM parameters (stable array of ingress IPv4s) before launches; root boot snapshots these inputs. Explicit moves preserve fixed resource addresses. file:external@0 8dc084e1cb08a3b40560babf2671bdefa001e7947c34b57cb44b642aebf361fd
infra/modules/region-host/group_iam.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Compose group SSM read scopes and KMS ViaService/context, own tagged ASG completion and region-limited DescribeInstances; explicit Deny protects control/box-roles from box-role writes. Bootstrap version reads and regional data version operations are scoped; ordinary deployment/data writes remain. Root boot trusts operator-seeded parameters/hash, not arbitrary mutable bucket objects; file itself is operator Terraform only. file:external@0 6b349d1b8b3a943c4fd597b57b0a938bb635a7b60243c81a2a08313a73becae4
infra/modules/region-host/tests/fixed-and-group/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Add local Terraform fixture instantiating distinct fixed/group names, roles, ingress and queues for isolation assertions. Mock-test fixture only, no box root runtime input. file:external@0 1b92bcb46334aafdf627e5de4184f1dcd422e158b4739e30e3cbe2f6e900e14e
@@ -115,8 +115,8 @@ internal/hairpin/native_linux.go run legacy accepted-legacy accepted-legacy;rev3
internal/hairpin/snapshot.go groupPresentAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Lstat fixed /etc/carlos/group.json to detect visible marker including symlink, or group reference flag. Selection only, not content authority: visible marker triggers strict protected reads; inaccessible marker with no group reference retains fixed selection. file:Lstat@62 72b498ff5b85221815c47634de507f16503bb8e0a4d64d0c5e00fc5c2ae6f079
internal/hairpin/snapshot.go loadGroupIdentity legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Read root-owned 0644 /etc/carlos/group.json and group-identity.json through protected reader plus kernel boot_id. Validate marker, current boot and signed IMDS identity account/region/iid/derived box reference before reading root group-ingress.json. Operator boot/SSM and protected IMDS are provenance; agent cannot supply snapshot authority. file:ReadFile@306 c589565939e1e50075ec56935068d3281d702782a76b4867e4e59c74010d7e5d
internal/host/bootstrap.go bootstrapWithGroup legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Move bootstrapWith body here, retaining host.env, embedded unit reads and tmpfiles execution. Group live caller holds root mutation guard; skip automatic update/recovery units, preserve Restart=no/nftables drop-in and masks, and write separate root-owned /run/carlos-group-maintenance tmpfiles rule outside service ownership walk. No agent receipt read. file:Command@11973,file:ReadFile@564,file:ReadFile@7027 d9b7fc46e56bef323e21d60f03cc6d346b6e2d55eb5e76b294d6fb66b41e96cc
-internal/host/group_boot.go loadGroupConfigurationAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Lstat marker then protected-read root boot /etc/carlos/group.json, region-config.json and exact 50-group.conf; validate schema/digest, environment, queue, placement and Restart=no/nftables bytes. Marker written by root from operator configuration/IMDS; visible invalid marker refuses, absent/inaccessible unreferenced marker retains fixed selection. file:Lstat@341 dee97ec04c2adb038c84d847f8680b4c468b16b55bc4edbfc70997a987aef950
-internal/host/group_config_linux.go initializeGroupLaunch legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Root checks current boot/deadline and protected hairpin snapshot, then exclusively creates group-admission/attempt.json through directory descriptors and hands ownership to carlos. New Openat sites create a directory/leaf, never read existing agent journal or receipt; existing directory refuses. Initial journal is agent lifecycle state, not root maintenance authority. file:Openat@738,file:Openat@909 095446775dbb483d46f6c4b663433a44fe8bbf6a709c443a2c86580a916dc1c5
+internal/host/group_boot.go loadGroupConfigurationAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Lstat marker then protected-read root boot /etc/carlos/group.json, region-config.json and exact 50-group.conf; validate schema/digest, environment, queue, placement and Restart=no/nftables bytes. Marker written by root from operator configuration/IMDS; visible invalid marker refuses, absent/inaccessible unreferenced marker retains fixed selection. Marker schema now requires floor=absent-expected or required and binds that choice in config_digest; missing/unknown values fail closed. file:Lstat@341 dee97ec04c2adb038c84d847f8680b4c468b16b55bc4edbfc70997a987aef950
+internal/host/group_config_linux.go initializeGroupLaunch legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Root checks current boot/deadline and protected hairpin snapshot, then exclusively creates group-admission/attempt.json through directory descriptors and hands ownership to carlos. New Openat sites create a directory/leaf, never read existing agent journal or receipt; existing directory refuses. Initial journal is agent lifecycle state, not root maintenance authority. Root also creates /data/carlos and hands it to the service user before creating the journal directory; root never reads agent state there. file:Openat@738,file:Openat@909 095446775dbb483d46f6c4b663433a44fe8bbf6a709c443a2c86580a916dc1c5
internal/host/group_maintenance.go groupInstallationConsumed legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Lstat root-owned /etc/carlos/group-install-used; any result except absence means initial-install authority is consumed. No leaf content is trusted and no agent receipt is consulted. file:Lstat@61 6edabbcf2ec1b1aa807c63ac58eac9e04893aed86eaa8179eb671a65c730e803
internal/host/group_maintenance.go groupMarkerPresent legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Lstat /etc/carlos/group.json (or test etc root); anything except absence selects strict group maintenance validation. Root boot writes marker, flags cannot bypass it and unreadable/linked marker cannot authorize fixed behavior. file:Lstat@54 96f8636ee8c29c8d700296edd8fe990cbae6a9b0dbb70faf9c5f7efe5328d685
internal/host/group_maintenance.go preserveGroupUnits legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Readlink only known update/recovery unit paths under root /etc/systemd/system to preserve /dev/null masks; write exact Restart=no/nftables drop-in and replace non-mask entries. Runs after root authorization; no link target is followed or used as executable/input. file:Readlink@504 c8387e22d2a599e6b821db39b8f717a489dd189d5a9551b839f4c448fd12cf9a
@@ -130,7 +130,7 @@ internal/host/group_receipt_linux.go groupReceiptLeaf legacy accepted-legacy acc
internal/host/group_receipt_linux.go openGroupReceiptDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Agent Openat2 forbids symlinks/magic links in /data/carlos/group-admission, Fstat requires current uid and 0700. This intentionally agent-owned path holds completion state only; root bootstrap creates it, root maintenance never reads it. file:Fstat@297,file:Openat2@65 961b4ed655469115c031fbb36fbac67de9c38387d1b9f5586868268fcbd89ff9
internal/host/group_receipt_linux.go readGroupReceiptFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Agent bounded ReadAll (65537 limit) from verified receipt leaf, then strict JSON decode of receipt.json or attempt.json. Binding/deadline/retry checks occur in completer; no root caller uses agent data as permit or proof of cloud membership. file:ReadAll@272 c6164c2c9e289e7b77cbe15043487a55a6975957965031b4140dfb5ffdeec280
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/host/units/carlos-edge-group.conf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b;basis=Group-only test fixture pins the groupUnitProtection constant; this file is not embedded or read in production. Root writes the constant through preserveGroupUnits and validates it during boot. No agent input 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. 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
@@ -138,7 +138,7 @@ internal/instancectl/hairpin.go InstallDormantGroupHairpin legacy accepted-legac
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
internal/host/systemunits.go ensureSystemUnits authority F,J4 rev3=PROPOSED-activation-tools;run=27;basis=automated offline transaction removed; retains preceding integrated classification: root-input;kept=F;scope=protected-decision-only;rev3=census-ruling-db-region-forward-1;identity=root (the adopt pass);basis=installs carlos-dbread.socket and carlos-dbread@.service with the other system units, asks one more is-active and arms the socket, never the service template; read sites unchanged, offsets moved; main's F authority retained; round 1: arms carlos-dbread.socket only when the installed host.env arms db reads (dbReadsSocketWanted reads its six db-reads keys through readClaimUnitFile, which the scanner does not name), and stops and disables it elsewhere;rev3=census-ruling-retire-join-units-on-adopt;basis=root (the hourly carlos adopt pass, carlos-adopt.timer, and the -config-only/-stage-only passes; never -restart-only): after the apply lock is taken and systemctl has answered, and before the already-armed early return, calls retireUnitsIn(<etc>/systemd/system, retiredUnits, its own systemctl seam) to disable --now, then remove, the units an earlier build installed and this one no longer ships (the compiled-in exact names carlos-system-join.path and carlos-system-join.service); an error is logged and never stops the arming; under a running apply (lock held) or a silent systemctl nothing is retired; no read added in this body (the reads are in retireUnitsIn) (#454);rev3=census-ruling-agent-start-demo-1;basis=Body unchanged; consumes the enlarged embedded file list through the existing root installer.;rev3=census-ruling-region-ha-p3b;basis=Direct unit/lock reads moved to ensureSystemUnitsWithGuard; wrapper builds systemApplier and delegates. Quiet means no direct scanner sites; root repair authorization and protected marker/permit reads live in the delegate. 82be35c94daee06f94e2d44655fd0b7f56f5235f3a64e3418d85de70a074f6af
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
-@coverage infra/modules/region-host 67bf240c0fa08520d868dc06ddfa3798d0a93c4273dd4a5544401e2565840ed6
+@coverage infra/modules/region-host d4433b96b883aad365b5b569804a84a427301812f0dccb9ba699680f56007d20
@coverage infra/modules/region-host/tests c6098afe5118bcbf291c9a4f5bef87fe86c69b9203633134ab528f86f8bc830d
@coverage infra/modules/region-host/tests/fixed-and-group 0ac51ff24be6f565c9100d8f623f0fe213a3a0747a6fa85b4fffcb7315ea6341
@coverage internal/awsregiongroup d81ba25e6337e75255e387c416a9c9024c0bee3f9391342bafbc99663cdda563
@@ -146,7 +146,7 @@ internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3
@coverage internal/edge 6b6de0d2f984041fd1c74542b9961c4794c32aa9cb8d9175e7e6e3e3aa9cad68
@coverage internal/edgesfile 4a4e740461fa07051f25b098b3ce5cf45a7a26f6ffbf491809a7a4318017072d
@coverage internal/hairpin 2ef7863b502a6acd2aecc30f07a76a52d14581b95888d05674c3c7970ac26f4d
-@coverage internal/host 4da7afaf666fcb11ba737549939ef69cece4e2ad78be206a6276633a231c387e
+@coverage internal/host 126206a4bb7d2fa0141e60aeec195ce7f82e22d40a399f3a47ad641349a58474
@coverage internal/host/units ccee6639aa4f5a0fb9c6b0963b625bb090ee905db8dd157113ebc7e1649d4521
-@coverage internal/hostenv 9f79761302e8c0a62b7fc9e0481e494c3920003a6bb6e53e74c8a19d477e50e5
+@coverage internal/hostenv 0743cfcb95b14ad08bde1e89beef43ee0234503426fd591bb343e22c150a01fc
@coverage internal/instancectl 61bf34290aa406532f6d97b685d32fa3679a2deb2e01f611df8d016703deccbb