| index f655e201c..cc8551913 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-region-ha-g3-fixes.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-region-ha-g3-fixes.tsv |
| @@ -1,21 +1,36 @@ |
| # Census overlay region-ha-g3-fixes, written by census-propose (#369). census-ruling-region-ha-g3-fixes, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-region-ha-g3-fixes.md. |
| -# 1 body, 0 sites, 4 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| -# 7 new dispositions: 2 reads re-frozen at their disposition with the claim, 3 new units frozen accepted-legacy, 1 quiet units retired while they read nothing, 1 other. |
| +# 6 body, 0 sites, 7 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +# 8 new dispositions: 2 reads re-frozen at their disposition with the claim, 4 new units frozen accepted-legacy, 1 quiet units retired while they read nothing, 1 other. |
| +@legacy db3f72db8b66ab185074fb8c344e9090b27ce5a934766ab2f55b4f1a66be58da infra/modules/region-host/alert_publish.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New host-role inline policy grants only sns:Publish on the union of the module alerts topic and explicit additional topic ARNs, in fixed and group mode; no runtime sink configuration, termination or storage permission. Operator Terraform input, no box runtime read.;rev3=census-ruling-region-ha-g3-fixes;basis=Select either an operator-provided existing regional SNS topic or the module-created topic; grant sns:Publish only on that selected topic plus explicit additional topic ARNs. No new root runtime read, storage permission or sink configuration. file:external@0 d857bc53eaad140f52f0191f5e8b818b996dfd7be1f63db890595b426352a887 |
| +@legacy 650c54b59b9f25faf90d5da47f1257d090a99a1653e6e86d327b7c9c7ed1430a infra/modules/region-host/group_alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. Copy sweep 1: apply approved variable and alarm descriptions verbatim; no resource, threshold, action or read changes.;rev3=census-ruling-region-ha-p3b;basis=Add group capacity, memory, clock, missing-clock and launch-failure notifications; preserve account-owner SNS rights and scope CloudWatch/EventBridge publishers by source account/ARN. Operator-applied Terraform, no box file read; notifications grant no replacement authority.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: add one group-mode SuspectHolderHosts Maximum alarm, 60 seconds, 1 of 1, threshold greater than zero, missing data notBreaching, existing regional SNS actions and ASG dimension. No replacement, scale, IAM, storage or root runtime authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Send existing queue, group and launch-failure notifications to the selected regional SNS topic. Keep externally owned topic policy and subscriptions outside this module; no replacement or scale authority and no new root runtime read. file:external@0 7c2ca1b8db1500b2dc448209b90567357199d8882dae9bcb96b4d99fb0392410 |
| +@legacy 1741f8b4ecf4b8b62439acf036af4749dfa22d8a89c0a5fd7362e113bdd8b375 infra/modules/region-host/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-invite-delivery;basis=tofu on an operator's machine with the operator's AWS credentials (no box unit; no binary embeds the file): main's module with one optional aws_iam_role_policy, host_console_mail, count 0 unless console_mail_from is set; it grants the host role ses:SendEmail on the one sending identity, the carlos-bab configuration set and its tenants, conditioned on ses:FromAddress equal to console_mail_from; no read is added and nothing on a box reads the file;rev3=census-ruling-sec-host-imdsv2-module;basis=aws_instance.host gains metadata_options (IMDSv2 required, hop limit 1, endpoint enabled), matching scanner-host; tofu configuration only, run on an operator's machine; no read, file or record write is added; applies in place on a running instance with no restart;rev3=census-ruling-hunt-account-root-hardening;basis=adds aws_iam_role_policy host_release_key_deny (count from deny_release_key_reads, default true): an explicit Deny on ssm:GetParameter, GetParameters and GetParameterHistory for parameter/carlos/release-key, and on GetParametersByPath for its ancestor paths; tofu only, run on an operator's machine; no read is added and nothing on a box reads the file;rev3=census-ruling-region-host-store-deny;basis=host_store policy: the explicit Deny on the deployment's own buckets drops s3:DeleteObject and keeps s3:DeleteBucket and s3:CreateBucket (lease release, retention and prune are DeleteObject); tofu only, run on an operator machine; no read is added and nothing on a box reads the file;rev3=census-ruling-region-ha-p3b;basis=Select default fixed resources through counted addresses and explicit moves; group mode selects scoped bucket/SSM policy, partition-aware ARNs and refuses fixed-only settings. Operator Terraform controls the instance role that can read boot parameters and write runtime bucket objects; release-key Deny and fixed-mode policy remain.;rev3=census-ruling-region-ha-g3-fixes;basis=Enable the fixed-host memory alarm with either alert input and use the selected topic for alarm and recovery notifications. Preserve module topic/subscription creation for alerts_email only. No new root runtime read or box authority. file:external@0 a9fad9340dea2c3ecca2360eb1050fb5a9d8ec33406847fc929b5a718c5f74e6 |
| +@legacy 9fd4eccedd999b35274a5c900b1b120495751702086896d3d973297418db769a infra/modules/region-host/outputs.tf external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-region-ha-p3b;basis=Keep fixed outputs through indexed resources, return null for group instance/EIP, and expose group, pinned template, ingress and boot-parameter names. Operator Terraform outputs only; no new box read.;rev3=census-ruling-region-ha-g2-fixes;basis=Expose the module alert topic ARN, null without an alerts topic; no new box runtime read.;rev3=census-ruling-region-ha-g3-fixes;basis=Return the selected existing or module-created alert topic ARN, null when neither input is set. Terraform output only; no new root runtime read. file:external@0 68b83bac0c4b888e649aef7cde8a4c7f21046e548491544ef8dee03fae104c07 |
| +@legacy d2a5d82b9a7d6218628674ba4102512b7d675308ac57b5cdc6a499ce7bf7d13a infra/modules/region-host/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-invite-delivery;basis=tofu on an operator's machine with the operator's AWS credentials (no box unit; no binary embeds the file): main's variables with console_mail_from (validated as one lowercase address) and console_mail_region, both empty by default; no read is added and nothing on a box reads the file;rev3=census-ruling-hunt-account-root-hardening;basis=adds deny_release_key_reads (bool, default true); no read is added and nothing on a box reads the file;rev3=census-ruling-region-ha-p3b;basis=Add default-fixed mode and validated group count, zones, pinned image/release/template, ingress, configuration key and transaction-open refusal. Operator-supplied Terraform values select root boot inputs; no direct box runtime read and no group activation by default.;rev3=census-ruling-region-ha-g2-fixes;basis=Add an empty-default set of additional alert topic ARNs, validating concrete SNS topic syntax and excluding wildcards/subscriptions; operator Terraform input, no box runtime read.;rev3=census-ruling-region-ha-g3-fixes;basis=Add optional alerts_topic_arn with concrete same-region SNS ARN validation and mutual exclusion with alerts_email. The caller owns the existing topic policy and subscriptions; no runtime sink is configured and no new root read is added. file:external@0 7a2413ebc2c07ab6c3cdf63f7b21bc09279e82ae9d6123adf94c4210c4d6a957 |
| @legacy fd90605f37309323e9eadbc22388355d569ec9c9c307c4db05eb807474081a50 internal/host/hadepartures_scan.go Controller.retryScan legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read only the bound departure to persist bounded retry timing and the existing hourly per-departure page claim. No completion authority. Fix r1/P15: bound detached retry bookkeeping to five seconds so cancellation still records backoff/page. Permission episodes use only the structured ha_departure_permission_fault code and key, never wake-state prose. B4 fix r4/P18: Retained fixed edges use the existing persisted 30/60/120/300-second retry and hourly departure claim, emitting only ha_departure_edges_retained plus the key. Skip generic prose paging for that code. B4 fix r5: After the existing durable hourly claim succeeds for retained fixed edges, keep the structured log and send PageOperator a warning with subject ha_departure_edges_retained and body code/key/box fields through the existing bounded alert sinks. Return delivery errors; never call the generic C3 page for this state. No new read site or completion authority. B5: Emit permission notice only on permission_new, the persisted fault-episode transition; suppress repeat hourly permission logs. Other departure pages retain the durable hourly claim.;rev3=census-ruling-region-ha-followups;basis=Use the approved operator text for permission-fault and retained-edges notices and pages. Keep persisted retry timing, permission-episode suppression and the hourly page claim unchanged; no new read or completion authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Delegate to retryScanAt with the existing 30-second default. Same HADeparture read, durable retry and hourly page gates; no new read. whole:HADeparture@168 a81384cdb2ae98b14b7078b4a1d506436f52e67a203be93072474512d48e69ab |
| +@legacy 913651bf9e9811d410b45f21309697f1a6d0c15f21a7c515d597b9065ad622a2 infra/modules/region-host/tests/alerts_topic.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Add mocked OpenTofu plan assertions for empty, email and existing-topic inputs in fixed/group modes, including selected notification and publish targets and rejected malformed, wildcard, subscription, wrong-region or conflicting inputs. Test input only; no production resource mutation or root runtime read. file:external@0 e979291baf9f45d1c66ff17afb36d06115c7051446475e8ab37a8f1824876755 |
| @legacy da222f4aecab1bfe466bb77bb229e4439c6a9e3d56533276453fbe32594c2470 internal/host/hadepartures_scan.go Controller.retryScanAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Extract existing bounded detached retry/page logic and accept the computed next-attempt time. Reads the same HADeparture fields and calls the same registry retry API; permission and retained-edges notices unchanged. whole:HADeparture@1070 2bcb69a361207bf5aec5993bca78285d506f9e9466e5e9eccee19c1764afb523 |
| @legacy 6f73d31fb09083e5f854c852bf89edfec9df7adbb9cc059df18c05aeebc9117f internal/host/hadepartures_scan.go departureScanCoverage legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Count only current matching record revisions in Visited; aggregate blockers and lease waits and reset Cursor to zero. Reads HADepartureVisit RecordDigest, Unresolved, NotBefore and scan Visited/Waiting/NotBefore; no filesystem or remote read. registry:Cursor@170,registry:NotBefore@215,registry:NotBefore@435,registry:NotBefore@479,registry:NotBefore@503,registry:NotBefore@522,registry:NotBefore@541,registry:NotBefore@555,registry:RecordDigest@315,registry:Unresolved@180,registry:Unresolved@392,registry:Unresolved@410,registry:Visited@285,registry:Visited@580,registry:Waiting@194,registry:Waiting@461,whole:HADepartureVisit@287,whole:HADepartureVisit@367,whole:HADepartureVisit@385,whole:HADepartureVisit@582,whole:HADepartureVisit@592,whole:HADepartureVisit@612 ae38684c8dee6ee1d7a586db663709d858085335d02ca22a5737a68a51565c40 |
| @legacy 6202d5a99c9525d15f8b28733a8bed91b793113f624889f6805608fc44675ecf internal/host/steering_loop.go steeringPassFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Extract the production steering pass closure; read the same judged routes and edges then call ConvergeDeployment. The whole Route read moved from steeringLoop; no new authority or data source. whole:Route@396 95069914026988f1af8b403f1aeaa0a99d19e449978d2acfc1a63fb27fef46f4 |
| -@legacy 09f02170d7b907631de1926ae59fda0864adc6d4157237ebf11ad910d7c560bf internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read.;rev3=census-ruling-region-ha-g3-fixes;basis=Track current record revisions across inventory publications; separate lease waits from blockers; persist Cursor as zero for rollback. Removed records drop out of coverage, as before A1: remove the missing-record lock and adoption-receipt checks that could stall a departure forever. Current hosts still require adoption or a validated successor and a clean rescan before completion. Reads Visited, Waiting, NotBefore and existing departure/scan state; no new read source. registry:Cursor@2032,registry:Cursor@2122,registry:Cursor@7899,registry:Generation@2094,registry:Generation@7275,registry:Hosts@2275,registry:Hosts@2295,registry:Hosts@3407,registry:Hosts@3475,registry:Hosts@5453,registry:Hosts@5840,registry:Hosts@6076,registry:Hosts@6720,registry:InventoryGeneration@1913,registry:Lifetime@3436,registry:NotBefore@2191,registry:NotBefore@3335,registry:NotBefore@3778,registry:NotBefore@3819,registry:NotBefore@3844,registry:NotBefore@5421,registry:NotBefore@5810,registry:NotBefore@6040,registry:NotBefore@6106,registry:NotBefore@7684,registry:NotBefore@7738,registry:NotBefore@7952,registry:Observed@4992,registry:Observed@5139,registry:Observed@5693,registry:Observed@5727,registry:Phase@1448,registry:Phase@2049,registry:Phase@2353,registry:Phase@4709,registry:Phase@634,registry:Phase@689,registry:Phase@729,registry:RecordDigest@3022,registry:RecordDigest@3740,registry:RecordDigest@5750,registry:Rescan@2137,registry:Rescan@3720,registry:Rescan@4878,registry:Rescan@6142,registry:Rescan@7461,registry:Rescan@7849,registry:Result@5391,registry:Result@5785,registry:Result@6686,registry:Unresolved@2156,registry:Unresolved@3241,registry:Unresolved@6744,registry:Unresolved@7332,registry:Unresolved@7577,registry:Unresolved@7860,registry:Unresolved@7915,registry:Version@6418,registry:Visited@2073,registry:Visited@2219,registry:Visited@2997,registry:Visited@3192,registry:Visited@3268,registry:Visited@3362,registry:Visited@6771,registry:Visited@7981,registry:Waiting@2175,registry:Waiting@7592,registry:Waiting@7667,registry:Waiting@7881,registry:Waiting@7935,whole:HADeparture@1111,whole:HADeparture@1230,whole:HADeparture@1415,whole:HADeparture@1704,whole:HADeparture@2486,whole:HADeparture@2683,whole:HADeparture@2839,whole:HADeparture@350,whole:HADeparture@392,whole:HADeparture@4989,whole:HADeparture@6386,whole:HADeparture@6522,whole:HADeparture@6878,whole:HADeparture@8166,whole:HADeparture@8304,whole:HADeparture@914,whole:HADepartureHostScan@2277,whole:HADepartureHostScan@2297,whole:HADepartureHostScan@3409,whole:HADepartureHostScan@3477,whole:HADepartureHostScan@3511,whole:HADepartureHostScan@5455,whole:HADepartureHostScan@5471,whole:HADepartureHostScan@5512,whole:HADepartureHostScan@5842,whole:HADepartureHostScan@5858,whole:HADepartureHostScan@6078,whole:HADepartureHostScan@6094,whole:HADepartureHostScan@6722,whole:HADepartureHostScan@6738,whole:HADepartureScan@6323,whole:HADepartureScan@7266,whole:HADepartureScan@8100,whole:HADepartureVisit@2075,whole:HADepartureVisit@2221,whole:HADepartureVisit@2999,whole:HADepartureVisit@3194,whole:HADepartureVisit@3212,whole:HADepartureVisit@3270,whole:HADepartureVisit@3288,whole:HADepartureVisit@3364,whole:HADepartureVisit@3382,whole:HADepartureVisit@6773,whole:HADepartureVisit@6791,whole:HADepartureVisit@7983 94cd8825faa52b31afd2f68f29ceeec6d5c95cda8ecc35f9baf676dd5514d930 |
| +@legacy 79cdba6e1ef65629464c3a7014e817cb4435ae84b61b00892210e0f32e1d4361 internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read.;rev3=census-ruling-region-ha-g3-fixes;basis=Track current record revisions across inventory publications; separate lease waits from blockers and persist Cursor as zero for rollback. Drop removed records from coverage while retaining adoption or validated-successor gates for current hosts. Use the bounded lock-prefix listing only after validating every current host prefix; preserve per-host reads for known duties and fall back to the existing 32-host scan when listing evidence is unavailable. Cache listing evidence only in this process under scanMu, invalidate it on blocked work or inventory changes, and permit 128 reads with proven listing coverage. Added reads include departure LastError, host scan state and registry Hosts; the new remote read is a bounded LIST of the configured lock prefix in the existing data bucket. registry:Cursor@2032,registry:Cursor@2122,registry:Cursor@8440,registry:Generation@2094,registry:Generation@7816,registry:Hosts@2306,registry:Hosts@2326,registry:Hosts@3298,registry:Hosts@3918,registry:Hosts@3986,registry:Hosts@5994,registry:Hosts@6381,registry:Hosts@6617,registry:Hosts@7261,registry:InventoryGeneration@1913,registry:LastError@2902,registry:Lifetime@3947,registry:NotBefore@2191,registry:NotBefore@3846,registry:NotBefore@4319,registry:NotBefore@4360,registry:NotBefore@4385,registry:NotBefore@5962,registry:NotBefore@6351,registry:NotBefore@6581,registry:NotBefore@6647,registry:NotBefore@8225,registry:NotBefore@8279,registry:NotBefore@8493,registry:Observed@5533,registry:Observed@5680,registry:Observed@6234,registry:Observed@6268,registry:Phase@1448,registry:Phase@2049,registry:Phase@2384,registry:Phase@5250,registry:Phase@634,registry:Phase@689,registry:Phase@729,registry:RecordDigest@3228,registry:RecordDigest@4281,registry:RecordDigest@6291,registry:Rescan@2137,registry:Rescan@4261,registry:Rescan@5419,registry:Rescan@6683,registry:Rescan@8002,registry:Rescan@8390,registry:Result@5932,registry:Result@6326,registry:Result@7227,registry:Unresolved@2156,registry:Unresolved@3752,registry:Unresolved@7285,registry:Unresolved@7873,registry:Unresolved@8118,registry:Unresolved@8401,registry:Unresolved@8456,registry:Version@6959,registry:Visited@2073,registry:Visited@2219,registry:Visited@3203,registry:Visited@3703,registry:Visited@3779,registry:Visited@3873,registry:Visited@7312,registry:Visited@8522,registry:Waiting@2175,registry:Waiting@8133,registry:Waiting@8208,registry:Waiting@8422,registry:Waiting@8476,whole:HADeparture@1111,whole:HADeparture@1230,whole:HADeparture@1415,whole:HADeparture@1704,whole:HADeparture@2517,whole:HADeparture@2714,whole:HADeparture@2870,whole:HADeparture@3005,whole:HADeparture@350,whole:HADeparture@392,whole:HADeparture@5530,whole:HADeparture@6927,whole:HADeparture@7063,whole:HADeparture@7419,whole:HADeparture@8739,whole:HADeparture@8908,whole:HADeparture@914,whole:HADepartureHostScan@2308,whole:HADepartureHostScan@2328,whole:HADepartureHostScan@3300,whole:HADepartureHostScan@3920,whole:HADepartureHostScan@3988,whole:HADepartureHostScan@4022,whole:HADepartureHostScan@5996,whole:HADepartureHostScan@6012,whole:HADepartureHostScan@6053,whole:HADepartureHostScan@6383,whole:HADepartureHostScan@6399,whole:HADepartureHostScan@6619,whole:HADepartureHostScan@6635,whole:HADepartureHostScan@7263,whole:HADepartureHostScan@7279,whole:HADepartureScan@6864,whole:HADepartureScan@7807,whole:HADepartureScan@8673,whole:HADepartureVisit@2075,whole:HADepartureVisit@2221,whole:HADepartureVisit@3205,whole:HADepartureVisit@3705,whole:HADepartureVisit@3723,whole:HADepartureVisit@3781,whole:HADepartureVisit@3799,whole:HADepartureVisit@3875,whole:HADepartureVisit@3893,whole:HADepartureVisit@7314,whole:HADepartureVisit@7332,whole:HADepartureVisit@8524 e0eeba43d5bc43569cd98338867ed8cfdc8cc435e1f2fbdc97b44afe45dad357 |
| @legacy 40a122eac1bd891fc52ee97c9df415273b11902d503b41eb994e562271a1034c internal/host/hadepartures_scan.go Controller.complete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read the durable departure/scan and current inventory, then conditionally delete only the retained exact edges key/revision. Reread uncertain results and refuse replacement identities. Persist deletion and acknowledged index phases before complete; queue receipts stay in memory and only complete rows acknowledge. Fresh process evidence is required before authority checkpoint reuse. Fix r1/P15: ignore the old scan-level ETag override and delete only the original departure ETag. Exact-key readback retries the same tag; a changed tag is never deleted and advances only with a different verified iid under the same ref/account/scope, otherwise holds and pages. Persist permission fault episodes; route completion faults through bounded retry. No new filesystem or executable input. B4 fix r4/P18 supersedes fixed-ref deletion: only the deterministic account/iid group reference may delete its retained exact ETag. Every other ref performs an exact-key GET and stays pending unless absent or the existing verified newer-incarnation check succeeds; the live replacement file is left intact. Group revision changes stay pending. No new key or authority read. B5: Increment completion counter only after the durable complete phase; C4 ordering stays after that commit.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: drops the per-departure nudge bookkeeping (moved to a fixed-size global limiter). Completion gates, exact-ETag deletion and reads unchanged.;rev3=census-ruling-region-ha-g3-fixes;basis=Require current inventory visit coverage and re-read group edges before conditional deletion. Verify identity and scope before rebinding a changed ETag; preserve fixed-ref retention and exact-ETag deletion. Reads scan EdgesETag and coverage state; no new object key or read source. registry:DeleteUncertain@3813,registry:DeleteUncertain@4198,registry:EdgesETag@1894,registry:EdgesETag@2906,registry:Hosts@5037,registry:InventoryGeneration@1846,registry:PermissionAlerted@2426,registry:PermissionAlerted@3559,registry:PermissionAlerted@4342,registry:PermissionAlerted@4746,registry:PermissionAlerted@841,registry:PermissionAlerted@883,registry:Phase@1002,registry:Phase@1042,registry:Phase@1538,registry:Phase@262,registry:Phase@3692,registry:Phase@4460,registry:Phase@680,registry:Phase@950,registry:Phase@967,registry:Version@665,whole:HADeparture@2846,whole:HADeparture@315,whole:HADeparture@442,whole:HADeparture@5086,whole:HADepartureHostScan@5039,whole:HADepartureScan@1718,whole:HADepartureScan@643 0aedc09a9abfc4d815293aed8515b5553cc0ed3c8ac34615f11cc9c062c5c843 |
| +infra/modules/region-host/alert_publish.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New host-role inline policy grants only sns:Publish on the union of the module alerts topic and explicit additional topic ARNs, in fixed and group mode; no runtime sink configuration, termination or storage permission. Operator Terraform input, no box runtime read.;rev3=census-ruling-region-ha-g3-fixes;basis=Select either an operator-provided existing regional SNS topic or the module-created topic; grant sns:Publish only on that selected topic plus explicit additional topic ARNs. No new root runtime read, storage permission or sink configuration. file:external@0 d857bc53eaad140f52f0191f5e8b818b996dfd7be1f63db890595b426352a887 |
| +infra/modules/region-host/group_alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. Copy sweep 1: apply approved variable and alarm descriptions verbatim; no resource, threshold, action or read changes.;rev3=census-ruling-region-ha-p3b;basis=Add group capacity, memory, clock, missing-clock and launch-failure notifications; preserve account-owner SNS rights and scope CloudWatch/EventBridge publishers by source account/ARN. Operator-applied Terraform, no box file read; notifications grant no replacement authority.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: add one group-mode SuspectHolderHosts Maximum alarm, 60 seconds, 1 of 1, threshold greater than zero, missing data notBreaching, existing regional SNS actions and ASG dimension. No replacement, scale, IAM, storage or root runtime authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Send existing queue, group and launch-failure notifications to the selected regional SNS topic. Keep externally owned topic policy and subscriptions outside this module; no replacement or scale authority and no new root runtime read. file:external@0 7c2ca1b8db1500b2dc448209b90567357199d8882dae9bcb96b4d99fb0392410 |
| +infra/modules/region-host/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-invite-delivery;basis=tofu on an operator's machine with the operator's AWS credentials (no box unit; no binary embeds the file): main's module with one optional aws_iam_role_policy, host_console_mail, count 0 unless console_mail_from is set; it grants the host role ses:SendEmail on the one sending identity, the carlos-bab configuration set and its tenants, conditioned on ses:FromAddress equal to console_mail_from; no read is added and nothing on a box reads the file;rev3=census-ruling-sec-host-imdsv2-module;basis=aws_instance.host gains metadata_options (IMDSv2 required, hop limit 1, endpoint enabled), matching scanner-host; tofu configuration only, run on an operator's machine; no read, file or record write is added; applies in place on a running instance with no restart;rev3=census-ruling-hunt-account-root-hardening;basis=adds aws_iam_role_policy host_release_key_deny (count from deny_release_key_reads, default true): an explicit Deny on ssm:GetParameter, GetParameters and GetParameterHistory for parameter/carlos/release-key, and on GetParametersByPath for its ancestor paths; tofu only, run on an operator's machine; no read is added and nothing on a box reads the file;rev3=census-ruling-region-host-store-deny;basis=host_store policy: the explicit Deny on the deployment's own buckets drops s3:DeleteObject and keeps s3:DeleteBucket and s3:CreateBucket (lease release, retention and prune are DeleteObject); tofu only, run on an operator machine; no read is added and nothing on a box reads the file;rev3=census-ruling-region-ha-p3b;basis=Select default fixed resources through counted addresses and explicit moves; group mode selects scoped bucket/SSM policy, partition-aware ARNs and refuses fixed-only settings. Operator Terraform controls the instance role that can read boot parameters and write runtime bucket objects; release-key Deny and fixed-mode policy remain.;rev3=census-ruling-region-ha-g3-fixes;basis=Enable the fixed-host memory alarm with either alert input and use the selected topic for alarm and recovery notifications. Preserve module topic/subscription creation for alerts_email only. No new root runtime read or box authority. file:external@0 a9fad9340dea2c3ecca2360eb1050fb5a9d8ec33406847fc929b5a718c5f74e6 |
| +infra/modules/region-host/outputs.tf external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-region-ha-p3b;basis=Keep fixed outputs through indexed resources, return null for group instance/EIP, and expose group, pinned template, ingress and boot-parameter names. Operator Terraform outputs only; no new box read.;rev3=census-ruling-region-ha-g2-fixes;basis=Expose the module alert topic ARN, null without an alerts topic; no new box runtime read.;rev3=census-ruling-region-ha-g3-fixes;basis=Return the selected existing or module-created alert topic ARN, null when neither input is set. Terraform output only; no new root runtime read. file:external@0 68b83bac0c4b888e649aef7cde8a4c7f21046e548491544ef8dee03fae104c07 |
| +infra/modules/region-host/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-invite-delivery;basis=tofu on an operator's machine with the operator's AWS credentials (no box unit; no binary embeds the file): main's variables with console_mail_from (validated as one lowercase address) and console_mail_region, both empty by default; no read is added and nothing on a box reads the file;rev3=census-ruling-hunt-account-root-hardening;basis=adds deny_release_key_reads (bool, default true); no read is added and nothing on a box reads the file;rev3=census-ruling-region-ha-p3b;basis=Add default-fixed mode and validated group count, zones, pinned image/release/template, ingress, configuration key and transaction-open refusal. Operator-supplied Terraform values select root boot inputs; no direct box runtime read and no group activation by default.;rev3=census-ruling-region-ha-g2-fixes;basis=Add an empty-default set of additional alert topic ARNs, validating concrete SNS topic syntax and excluding wildcards/subscriptions; operator Terraform input, no box runtime read.;rev3=census-ruling-region-ha-g3-fixes;basis=Add optional alerts_topic_arn with concrete same-region SNS ARN validation and mutual exclusion with alerts_email. The caller owns the existing topic policy and subscriptions; no runtime sink is configured and no new root read is added. file:external@0 7a2413ebc2c07ab6c3cdf63f7b21bc09279e82ae9d6123adf94c4210c4d6a957 |
| internal/host/hadepartures_scan.go Controller.retryScan legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read only the bound departure to persist bounded retry timing and the existing hourly per-departure page claim. No completion authority. Fix r1/P15: bound detached retry bookkeeping to five seconds so cancellation still records backoff/page. Permission episodes use only the structured ha_departure_permission_fault code and key, never wake-state prose. B4 fix r4/P18: Retained fixed edges use the existing persisted 30/60/120/300-second retry and hourly departure claim, emitting only ha_departure_edges_retained plus the key. Skip generic prose paging for that code. B4 fix r5: After the existing durable hourly claim succeeds for retained fixed edges, keep the structured log and send PageOperator a warning with subject ha_departure_edges_retained and body code/key/box fields through the existing bounded alert sinks. Return delivery errors; never call the generic C3 page for this state. No new read site or completion authority. B5: Emit permission notice only on permission_new, the persisted fault-episode transition; suppress repeat hourly permission logs. Other departure pages retain the durable hourly claim.;rev3=census-ruling-region-ha-followups;basis=Use the approved operator text for permission-fault and retained-edges notices and pages. Keep persisted retry timing, permission-episode suppression and the hourly page claim unchanged; no new read or completion authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Delegate to retryScanAt with the existing 30-second default. Same HADeparture read, durable retry and hourly page gates; no new read. whole:HADeparture@168 a81384cdb2ae98b14b7078b4a1d506436f52e67a203be93072474512d48e69ab |
| +infra/modules/region-host/tests/alerts_topic.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Add mocked OpenTofu plan assertions for empty, email and existing-topic inputs in fixed/group modes, including selected notification and publish targets and rejected malformed, wildcard, subscription, wrong-region or conflicting inputs. Test input only; no production resource mutation or root runtime read. file:external@0 e979291baf9f45d1c66ff17afb36d06115c7051446475e8ab37a8f1824876755 |
| internal/host/hadepartures_scan.go Controller.retryScanAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Extract existing bounded detached retry/page logic and accept the computed next-attempt time. Reads the same HADeparture fields and calls the same registry retry API; permission and retained-edges notices unchanged. whole:HADeparture@1070 2bcb69a361207bf5aec5993bca78285d506f9e9466e5e9eccee19c1764afb523 |
| internal/host/hadepartures_scan.go departureScanCoverage legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Count only current matching record revisions in Visited; aggregate blockers and lease waits and reset Cursor to zero. Reads HADepartureVisit RecordDigest, Unresolved, NotBefore and scan Visited/Waiting/NotBefore; no filesystem or remote read. registry:Cursor@170,registry:NotBefore@215,registry:NotBefore@435,registry:NotBefore@479,registry:NotBefore@503,registry:NotBefore@522,registry:NotBefore@541,registry:NotBefore@555,registry:RecordDigest@315,registry:Unresolved@180,registry:Unresolved@392,registry:Unresolved@410,registry:Visited@285,registry:Visited@580,registry:Waiting@194,registry:Waiting@461,whole:HADepartureVisit@287,whole:HADepartureVisit@367,whole:HADepartureVisit@385,whole:HADepartureVisit@582,whole:HADepartureVisit@592,whole:HADepartureVisit@612 ae38684c8dee6ee1d7a586db663709d858085335d02ca22a5737a68a51565c40 |
| internal/host/steering_loop.go steeringPassFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g3-fixes;basis=Extract the production steering pass closure; read the same judged routes and edges then call ConvergeDeployment. The whole Route read moved from steeringLoop; no new authority or data source. whole:Route@396 95069914026988f1af8b403f1aeaa0a99d19e449978d2acfc1a63fb27fef46f4 |
| -internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read.;rev3=census-ruling-region-ha-g3-fixes;basis=Track current record revisions across inventory publications; separate lease waits from blockers; persist Cursor as zero for rollback. Removed records drop out of coverage, as before A1: remove the missing-record lock and adoption-receipt checks that could stall a departure forever. Current hosts still require adoption or a validated successor and a clean rescan before completion. Reads Visited, Waiting, NotBefore and existing departure/scan state; no new read source. registry:Cursor@2032,registry:Cursor@2122,registry:Cursor@7899,registry:Generation@2094,registry:Generation@7275,registry:Hosts@2275,registry:Hosts@2295,registry:Hosts@3407,registry:Hosts@3475,registry:Hosts@5453,registry:Hosts@5840,registry:Hosts@6076,registry:Hosts@6720,registry:InventoryGeneration@1913,registry:Lifetime@3436,registry:NotBefore@2191,registry:NotBefore@3335,registry:NotBefore@3778,registry:NotBefore@3819,registry:NotBefore@3844,registry:NotBefore@5421,registry:NotBefore@5810,registry:NotBefore@6040,registry:NotBefore@6106,registry:NotBefore@7684,registry:NotBefore@7738,registry:NotBefore@7952,registry:Observed@4992,registry:Observed@5139,registry:Observed@5693,registry:Observed@5727,registry:Phase@1448,registry:Phase@2049,registry:Phase@2353,registry:Phase@4709,registry:Phase@634,registry:Phase@689,registry:Phase@729,registry:RecordDigest@3022,registry:RecordDigest@3740,registry:RecordDigest@5750,registry:Rescan@2137,registry:Rescan@3720,registry:Rescan@4878,registry:Rescan@6142,registry:Rescan@7461,registry:Rescan@7849,registry:Result@5391,registry:Result@5785,registry:Result@6686,registry:Unresolved@2156,registry:Unresolved@3241,registry:Unresolved@6744,registry:Unresolved@7332,registry:Unresolved@7577,registry:Unresolved@7860,registry:Unresolved@7915,registry:Version@6418,registry:Visited@2073,registry:Visited@2219,registry:Visited@2997,registry:Visited@3192,registry:Visited@3268,registry:Visited@3362,registry:Visited@6771,registry:Visited@7981,registry:Waiting@2175,registry:Waiting@7592,registry:Waiting@7667,registry:Waiting@7881,registry:Waiting@7935,whole:HADeparture@1111,whole:HADeparture@1230,whole:HADeparture@1415,whole:HADeparture@1704,whole:HADeparture@2486,whole:HADeparture@2683,whole:HADeparture@2839,whole:HADeparture@350,whole:HADeparture@392,whole:HADeparture@4989,whole:HADeparture@6386,whole:HADeparture@6522,whole:HADeparture@6878,whole:HADeparture@8166,whole:HADeparture@8304,whole:HADeparture@914,whole:HADepartureHostScan@2277,whole:HADepartureHostScan@2297,whole:HADepartureHostScan@3409,whole:HADepartureHostScan@3477,whole:HADepartureHostScan@3511,whole:HADepartureHostScan@5455,whole:HADepartureHostScan@5471,whole:HADepartureHostScan@5512,whole:HADepartureHostScan@5842,whole:HADepartureHostScan@5858,whole:HADepartureHostScan@6078,whole:HADepartureHostScan@6094,whole:HADepartureHostScan@6722,whole:HADepartureHostScan@6738,whole:HADepartureScan@6323,whole:HADepartureScan@7266,whole:HADepartureScan@8100,whole:HADepartureVisit@2075,whole:HADepartureVisit@2221,whole:HADepartureVisit@2999,whole:HADepartureVisit@3194,whole:HADepartureVisit@3212,whole:HADepartureVisit@3270,whole:HADepartureVisit@3288,whole:HADepartureVisit@3364,whole:HADepartureVisit@3382,whole:HADepartureVisit@6773,whole:HADepartureVisit@6791,whole:HADepartureVisit@7983 94cd8825faa52b31afd2f68f29ceeec6d5c95cda8ecc35f9baf676dd5514d930 |
| +internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read.;rev3=census-ruling-region-ha-g3-fixes;basis=Track current record revisions across inventory publications; separate lease waits from blockers and persist Cursor as zero for rollback. Drop removed records from coverage while retaining adoption or validated-successor gates for current hosts. Use the bounded lock-prefix listing only after validating every current host prefix; preserve per-host reads for known duties and fall back to the existing 32-host scan when listing evidence is unavailable. Cache listing evidence only in this process under scanMu, invalidate it on blocked work or inventory changes, and permit 128 reads with proven listing coverage. Added reads include departure LastError, host scan state and registry Hosts; the new remote read is a bounded LIST of the configured lock prefix in the existing data bucket. registry:Cursor@2032,registry:Cursor@2122,registry:Cursor@8440,registry:Generation@2094,registry:Generation@7816,registry:Hosts@2306,registry:Hosts@2326,registry:Hosts@3298,registry:Hosts@3918,registry:Hosts@3986,registry:Hosts@5994,registry:Hosts@6381,registry:Hosts@6617,registry:Hosts@7261,registry:InventoryGeneration@1913,registry:LastError@2902,registry:Lifetime@3947,registry:NotBefore@2191,registry:NotBefore@3846,registry:NotBefore@4319,registry:NotBefore@4360,registry:NotBefore@4385,registry:NotBefore@5962,registry:NotBefore@6351,registry:NotBefore@6581,registry:NotBefore@6647,registry:NotBefore@8225,registry:NotBefore@8279,registry:NotBefore@8493,registry:Observed@5533,registry:Observed@5680,registry:Observed@6234,registry:Observed@6268,registry:Phase@1448,registry:Phase@2049,registry:Phase@2384,registry:Phase@5250,registry:Phase@634,registry:Phase@689,registry:Phase@729,registry:RecordDigest@3228,registry:RecordDigest@4281,registry:RecordDigest@6291,registry:Rescan@2137,registry:Rescan@4261,registry:Rescan@5419,registry:Rescan@6683,registry:Rescan@8002,registry:Rescan@8390,registry:Result@5932,registry:Result@6326,registry:Result@7227,registry:Unresolved@2156,registry:Unresolved@3752,registry:Unresolved@7285,registry:Unresolved@7873,registry:Unresolved@8118,registry:Unresolved@8401,registry:Unresolved@8456,registry:Version@6959,registry:Visited@2073,registry:Visited@2219,registry:Visited@3203,registry:Visited@3703,registry:Visited@3779,registry:Visited@3873,registry:Visited@7312,registry:Visited@8522,registry:Waiting@2175,registry:Waiting@8133,registry:Waiting@8208,registry:Waiting@8422,registry:Waiting@8476,whole:HADeparture@1111,whole:HADeparture@1230,whole:HADeparture@1415,whole:HADeparture@1704,whole:HADeparture@2517,whole:HADeparture@2714,whole:HADeparture@2870,whole:HADeparture@3005,whole:HADeparture@350,whole:HADeparture@392,whole:HADeparture@5530,whole:HADeparture@6927,whole:HADeparture@7063,whole:HADeparture@7419,whole:HADeparture@8739,whole:HADeparture@8908,whole:HADeparture@914,whole:HADepartureHostScan@2308,whole:HADepartureHostScan@2328,whole:HADepartureHostScan@3300,whole:HADepartureHostScan@3920,whole:HADepartureHostScan@3988,whole:HADepartureHostScan@4022,whole:HADepartureHostScan@5996,whole:HADepartureHostScan@6012,whole:HADepartureHostScan@6053,whole:HADepartureHostScan@6383,whole:HADepartureHostScan@6399,whole:HADepartureHostScan@6619,whole:HADepartureHostScan@6635,whole:HADepartureHostScan@7263,whole:HADepartureHostScan@7279,whole:HADepartureScan@6864,whole:HADepartureScan@7807,whole:HADepartureScan@8673,whole:HADepartureVisit@2075,whole:HADepartureVisit@2221,whole:HADepartureVisit@3205,whole:HADepartureVisit@3705,whole:HADepartureVisit@3723,whole:HADepartureVisit@3781,whole:HADepartureVisit@3799,whole:HADepartureVisit@3875,whole:HADepartureVisit@3893,whole:HADepartureVisit@7314,whole:HADepartureVisit@7332,whole:HADepartureVisit@8524 e0eeba43d5bc43569cd98338867ed8cfdc8cc435e1f2fbdc97b44afe45dad357 |
| internal/host/hadepartures_scan.go Controller.complete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read the durable departure/scan and current inventory, then conditionally delete only the retained exact edges key/revision. Reread uncertain results and refuse replacement identities. Persist deletion and acknowledged index phases before complete; queue receipts stay in memory and only complete rows acknowledge. Fresh process evidence is required before authority checkpoint reuse. Fix r1/P15: ignore the old scan-level ETag override and delete only the original departure ETag. Exact-key readback retries the same tag; a changed tag is never deleted and advances only with a different verified iid under the same ref/account/scope, otherwise holds and pages. Persist permission fault episodes; route completion faults through bounded retry. No new filesystem or executable input. B4 fix r4/P18 supersedes fixed-ref deletion: only the deterministic account/iid group reference may delete its retained exact ETag. Every other ref performs an exact-key GET and stays pending unless absent or the existing verified newer-incarnation check succeeds; the live replacement file is left intact. Group revision changes stay pending. No new key or authority read. B5: Increment completion counter only after the durable complete phase; C4 ordering stays after that commit.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: drops the per-departure nudge bookkeeping (moved to a fixed-size global limiter). Completion gates, exact-ETag deletion and reads unchanged.;rev3=census-ruling-region-ha-g3-fixes;basis=Require current inventory visit coverage and re-read group edges before conditional deletion. Verify identity and scope before rebinding a changed ETag; preserve fixed-ref retention and exact-ETag deletion. Reads scan EdgesETag and coverage state; no new object key or read source. registry:DeleteUncertain@3813,registry:DeleteUncertain@4198,registry:EdgesETag@1894,registry:EdgesETag@2906,registry:Hosts@5037,registry:InventoryGeneration@1846,registry:PermissionAlerted@2426,registry:PermissionAlerted@3559,registry:PermissionAlerted@4342,registry:PermissionAlerted@4746,registry:PermissionAlerted@841,registry:PermissionAlerted@883,registry:Phase@1002,registry:Phase@1042,registry:Phase@1538,registry:Phase@262,registry:Phase@3692,registry:Phase@4460,registry:Phase@680,registry:Phase@950,registry:Phase@967,registry:Version@665,whole:HADeparture@2846,whole:HADeparture@315,whole:HADeparture@442,whole:HADeparture@5086,whole:HADepartureHostScan@5039,whole:HADepartureScan@1718,whole:HADepartureScan@643 0aedc09a9abfc4d815293aed8515b5553cc0ed3c8ac34615f11cc9c062c5c843 |
| @remove internal/host/steering_loop.go steeringLoop |
| @removed internal/host/steering_loop.go steeringLoop H3 census-ruling-region-ha-g3-fixes;basis=Delegate the existing pass to steeringPassFor; the Route read moved to that unit, leaving no direct root read here. |
| -@coverage internal/host eaeec1146448e944ed02af0886f714911e8276dee914244217260eb7f8291024 |
| +@coverage infra/modules/region-host f31edf3b064b8a3b5ab8a758be0671f4a253c5c7ff7cdcf77b3d210d616746aa |
| +@coverage infra/modules/region-host/tests 8d332b82e5d6e88e0f6f62fceb96aa5e1c75abd876a96d468a49fb4b25f66497 |
| +@coverage internal/host 829af146d548b39037641123102eab6816920afe965c48e57261f15a563debb0 |
| +@coverage internal/lease e25315b1d7aec218e13718e19e07f9d3940341fc0e1f3f72856f38a975e0fec2 |
| @coverage internal/provision fcb48f5e278cb8f41fc1936c21f588fbd9b37cb9949d18f3739fc8752c4c3161 |
| @coverage internal/registry 623b8ffe1ec5dcc73e5c44c05fc4286706e8a806f02482516ae0e79199a7ffbc |
| @coverage internal/steering a85aad113abbdd1cd59816655a2df03a9a1c329808066bfe44420686d8cbbda7 |