Session scope: process the queued-findings backlog left open at the G12/dc1 close (ledger 2026-07-23 close entry: "3 findings"; plus the four tool gaps queued in changelog-20260722-g12-dc1-build.md items 7/9). Repo deliverables only -- NO cloud mutation this session. Each item carries its revert.
Verified up front: the netem runbook Step-11 divergence flagged at step E is ALREADY fixed (runbook targets the dc0<->dc1 leg, 07-21 captures cited) -- off the queue, nothing to do.
HERE="$(dirname "${BASH_SOURCE[0]}")" line (with a comment stating why it must not come back). Under ssh 'bash -s' < script BASH_SOURCE is unset and set -u killed the script at line 20, before its first guard (measured on the dc1 build, 2026-07-22 changelog item 7c). The variable was referenced nowhere -- deletion IS the minimal fix.bash -s and asserts it reaches the mirror guard (no "unbound variable"). 4/4 + 1 SKIP (environmental).--check/setup hint prose hardcoded opnsense-prep-image.sh 26.1 (while 26.7 is the ruled version) and cd opentofu/vr1-dc0-substrate (while parameterized for any DC). Hints now say <ruled-version> pointing at the version authority (CURRENT-STATE section 7) and vr1-<dc>-substrate. NOT changed (value, not prose -- out of the finding's cosmetic scope): the OPNSENSE_BASE default filename still embeds 26.1; every real standup passes --opnsense-base explicitly. Flagged here, not fixed.26.1, no vr1-dc0-substrate, and do point at CURRENT-STATE.nft -f on a live table APPENDS, so a sec010-fw.service restart (or install re-run) DUPLICATED the FORWARD-drop rules -- observed live on voffice1 2026-07-22, cleaned by hand. The generated file now opens with the declare-then-delete preamble (table inet sec010 {} + delete table inet sec010) so any reload converges to exactly one rule pair. No destroy keyword (older-nft-safe).site-headend-install.sh --host-nodes now creates /var/lib/libvirt/vr1/staging (0755; literal keyed to modules/opnsense-edge's hardcoded serial-log path) and --check verifies it. Hand-created on dc0; its absence failed the dc1 inner apply at 18/28.configctl openssh restart and first contact got scp: Connection closed; fails LOUD exit 2 if the edge never answers. (b) one retry on the first scp. (c) -n on the base ssh opts -- an inner ssh without it EATS a piped bash -s driver's stdin (the swallowed retrieve/cleanup lines). Plus the dc0-queued usage note: the minter PHP must sit BESIDE the script when staged to a rack. OPNSENSE_BOOTSTRAP_RETRY_DELAY env exists ONLY so the harness need not sleep for real.runbooks/dc-dc-phase2-tofu-dc-substrate.md Steps 9-10 still prescribed the modules/maas-vm-host virsh-POD route and called D-123 "PROPOSED, recommend Model A" -- refuted/retired by the D-103/D-123 amendments (2026-07-20) but never re-pointed. Added SUPERSEDED banners on both steps (per-machine power_type=virsh via maas-node-power.sh is the ruled path; pod-delete cascade trap cited) and a new "DC standup definition-of-done" section after Step 12 -- the 7-row as-executed checklist (measured reach/site-baseleg; dc-rack-net twin; staging dir; region MAAS subnet config; per-DC power key incl. the SEC-016 snap-refresh RE-ASSERT fragility; per-machine power; commissioning 9/9 gate). This lands the two "queued to DC standup DoD" obligations (staging dir; snap-key re-assert) in their runbook home.require_once("util.inc") (shell_safe -- the dc1 abort; any surviving dc0 .b64 rack artifact LACKS it, do not replay); local_user_set() to materialize authorized_keys; tcsh no-quoted-one-liners; ssh -n when driven via bash -s; the post-restart sshd transient (now handled by Item 5). This closes the "fold util.inc into the canonical console bootstrap payload" queue item -- the runbook checklist IS the canonical payload spec (no repo-carried payload artifact exists; authoring one is a possible future deliverable, logged here, not started)./etc/nftables-sec010.nft.pre-reassert-20260723, inserted the declare-then-delete preamble after the shebang IN PLACE (voffice1's hand-extended two-leg file preserved verbatim), then restarted sec010-fw TWICE per host: rule counts stable at 2/2, 2/2, 4/4 drops -- the double restart is the proof the append-duplication defect is gone. Pre+post capture: docs/audit/sec010-reassert-20260723.txt. SEC-010 enforcement never gapped (delete+recreate inside one atomic nft -f).sudo cp -a /etc/nftables-sec010.nft.pre-reassert-20260723 /etc/nftables-sec010.nft && sudo systemctl restart sec010-fw.core/firmware/info): os-qemu-guest-agent 1.3 installed=1; os-iperf installed=0 -- REFUSED by the edge, upgradestatus log verbatim: "Installation out of date. The update to opnsense-26.7.1 is required."POST core/firmware/remove/os-qemu-guest-agent).expose_qga_channel = true on module.office1_opnsense (opentofu/main.tf); validate PASS; saved plan 0/1/0 exact -- only the channel block, in-place (docs/audit/outer-plan-20260723-office1-qga.txt); applied; edge bounced and returned in ~5s answering ping. Channel in the live domain XML, state=connected; guest-ping -> {"return":{}}; domifaddr --source agent reports vtnet0/vtnet1 -- the dc0-equivalent D-129 proof, first time on office1.POST core/firmware/update: 26.7 -> 26.7.1, package-level only (no reboot required; upgradestatus DONE, web GUI restarted). Egress re-verified 0% loss.opnsense-plugins.sh apply vr1-edge re-run: os-iperf installed=1 (the 26.7 refusal from Item 9 resolved by the update); os-qemu-guest-agent still installed=1.docs/audit/outer-plan-20260723-postqga-converged.txt); section-5 history chain re-recorded.docs/audit/g13-close-20260723.txt (plugins read-back, product_version 26.7.1, channel count, guest-ping, egress). G13 row CLOSED in CURRENT-STATE; as-built edge row updated (same commit).expose_qga_channel from main.tf + gated 0/1/0 apply (bounces the edge). Plugins -- POST core/firmware/remove/<pkg>. Firmware -- effectively one-way (no API downgrade); the operator accepted this in the bundle approval.opentofu/vr1-dc0-maas/ on-disk residue: DELETED 2026-07-23 (operator-approved after a full association check, per the pod-cascade lesson -- check BEFORE delete). Verified first: 0 git-tracked files; full recursive listing = provider cache only (canonical/maas 2.7.2 binary + modules.json, 20 MB); 0 tfstate/tfvars/tf/key/env files; 0 symlinks; both repo mentions non-load-bearing (a validator COMMENT at opentofu-validate.sh:192 and a superseded-runbook tfplan filename substring). Post-delete: opentofu-validate PASS, tree clean. Revert: none needed (re-downloadable cache; outer root's own lock still pins maas 2.7.2)..claude/settings.json allow (ledger-scan.sh, opentofu-validate.sh -- 38 + 11 historical prompts). Everything else either already allowlisted, auto-allowed, a banned shape (bare interpreters), or a DELIBERATE mutation gate (script-wrapped live commands, ssh/virsh, tofu, git write ops) left untouched -- the ask/deny walls were not modified.docs/D-068-vault-migration-plan-draft.md -- options paper splitting item 1 into Q1 (interim EOL posture for rehearsals), Q2 (Roosevelt path: wait-for-V1 / OpenBao-payload-under-reactive-charm fork / shrink-vault's- job-first / enter-on-1.8-with-deadline) and Q3 (triggers via the D-071 monthly review), each its own GA-R5 exchange. Two dated web probes (2026-07-23, both no-signal): no reactive-charm tls-certificates V1 adoption; no OpenBao Juju charm. Verify list V1-V5 owed before any Q2 ruling. D-068 amendment appended (item 1 now PRESENTABLE); CURRENT-STATE section 8 item 3 + G15 row updated (same commit). NOTHING adopted.runbooks/ops-update-procedure.md: new section 0c (the two standing monthly checks -- Vault 1.8.x CVE scan, D-068 migration-signal probes; read-only, log-always). ALSO fixed two FLAGGED stale claims found in the same vehicle: the section-0 CAUTION still said bundle pins vault 1.16 (reverted 2026-07-05; re-grounded to the ruled Q1/Q2 posture) and the tail still called D-071 PROPOSED (ADOPTED 2026-07-21).docs/netbox-write-path-findings.md carries the still-open residue (original #4 dumper blind spot + #5 duplicate-CIDR collapse UNFIXED; hardened-fidelity re-run = C2 sub-task (i); campaign-time re-verify of the 2026-07-14 fixes) with its trigger (any NetBox WRITE campaign; above all the deferred apex merge-back). Archive re-read established that original defects 1-3 + 6 were FIXED 2026-07-14 -- the routed doc records only what is genuinely still open. Ledger retained block now points at the doc.