2026-11-08: The Healer That Undid Its Own Relief

Home Assistant Green had zero persistent notifications on its own board. Yet the operator’s iPhone buzzed 78 times between midnight and eight in the evening. Force Flow (notifications.db, sequence 58,844) held the entire trail: every push arrived through the phone’s companion-app notify service, and 73 of the 78 alerts (93.6%) came from four loops that detected real trouble, ran a half-measure or undid their own repair, and paged again on the next timer tick.
1. Sixty seconds between relief and relapse
Section titled “1. Sixty seconds between relief and relapse”Forty-three of today’s iPhone alerts (217 across seven days) complained about swap on manoir. Two separate defects kept that fire burning.
First, quigon-doctor.py fought itself inside the same process invocation. At 15:08:17, 17:11:02, and 18:12:32, quigon-doctor.py --heal invoked memory-sentinel.py --relieve at the top of its pass. Because the primary :1337 Cathedral (Qwen3.8-27B) had been pushed past 75% into swap, The Pressure Valve unloaded the 17.6 GiB backup coder seat (haus.sanctum.mlx-coder on :3301) via launchctl bootout and recorded last_shed in ~/.sanctum/state/memory-sentinel.json. Sixty seconds later in that exact same run, Qui-Gon walked its check table down to devstral_3301, saw TCP :3301 closed, checked under_pressure() (which inspected only chi.json ram_frac >= 0.92 and ignored both kernel memory pressure and memory-sentinel.json), and ran enable+bootstrap haus.sanctum.mlx-coder. Every hour, Qui-Gon parked seventeen gigabytes of weights and immediately hauled them back upstairs. Two minutes after reload, devstral-prewarm-sentinel.sh sent a nineteen-thousand-token sacrificial prompt into :3301, driving kern.memorystatus_vm_pressure_level straight back to 2.
Second, haus-pulse.py still carried pre-dual-residency swap lines (13.0 GiB amber, 16.5 GiB red) with no kernel pressure check at all. Steady dual residency on manoir sits at 14.5–18.5 GiB swap at pressure=1, right across both tripwires. haus-pulse fired twenty-five gentle and loud transitions in a single Sunday.
Closing the loop took four coordinated edits:
quigon-doctor.py(probe_coder_3301&under_pressure): reads~/.sanctum/state/memory-sentinel.jsonso a backup seat intentionally parked bymemory-sentinelreportsok=True(parked by memory-sentinel), and treatskern.memorystatus_vm_pressure_level >= 2aspressured=True.memory-sentinel.py&swap-sentinel.sh: raisesSHED_COOLDOWNfrom30mto2h(7200s) and adds--relieve --sustainedbeforeswap-sentinel’s thirty-minute(still)repeat page; if shedding a fully-swapped backup drops kernel pressure back to1,swap-sentinellogsself-healed-warninstead of paging the iPhone.haus-pulse.py: aligns swap thresholds (24 GiBamber /28 GiBred +pressure >= 2/4) withswap-sentineland callsmemory-sentinel.py --relievebefore raising a swap finding.
2. The airlock severed the CLI’s mirror, not the daemon
Section titled “2. The airlock severed the CLI’s mirror, not the daemon”Nineteen loud error pushes today (47 across forty-eight hours, one every sixty minutes since Friday night) came from Qui-Gon’s yoda_identity check:
PLACEHOLDER/wrong identity: Account: +15555550101 Operator: +15555550100Friday’s Four Hinges Behind the Airlock unmounted the host home directory inside sanctum-vm. Yoda’s live yoda-chat-proxy.service unit kept working because its systemd drop-in (10-operator.conf) injected YODA_ACCOUNT and YODA_OPERATOR. However, probe_yoda_identity() ran yoda-chat status as an unprivileged CLI subprocess outside systemd. Without environment variables or the unmounted host ~/.sanctum/.instance.json, yoda_chat/config.py fell back to its +15555550xxx scaffold defaults. heal_yoda_identity() then restarted yoda-chat-proxy.service without ever creating ~/.sanctum/.instance.json inside <VM>, failed its post-heal probe eight seconds later, and paged the operator every hour with zero chronic backoff.
vm-autostart.sh and heal_yoda_identity() now project a secret-free, two-field ~/.sanctum/.instance.json (0600, containing only notifications.signal.{account, target}) across the airlock before restarting yoda-chat-proxy.service. Running heal_yoda_identity() converged probe_yoda_identity() in two seconds (identity bound to real account/operator). In addition, quigon-doctor.py now caps identical non-converging escalations at two hourly pages before throttling to a twelve-hour digest (ESCALATE_DIGEST_SEC=43200), resetting immediately once a check turns green.
3. http=000000 on a thinking proxy and an idle-campaign abort on mbp
Section titled “3. http=000000 on a thinking proxy and an idle-campaign abort on mbp”The remaining eleven alerts split across two shell bugs:
Alert source (24h / 7d) |
Exact failure mechanism | Self-healing upgrade |
|---|---|---|
free-sub-brain-sentinel.sh (6x / 29x) |
curl -sS -m 12 -o /tmp/fsb-g.out -w "%{http_code}" ... || echo "000" timed out (exit 28) when agy-proxy routed gemini-best-pro to thinking mode (8–18s). curl printed 000 and || echo "000" appended a second 000, producing http=000000 alongside stale JSON left in /tmp/fsb-g.out. Meanwhile heal_agy ran only when /health failed, never when chat wedged behind a green /health. |
Switched to per-run mktemp truncated before each call, fixed exit capture (000, never 000000), raised chat timeout to 25s with one 3s retry, and armed heal_agy (launchctl kickstart -k gui/$uid/haus.sanctum.agy-proxy) + re-probe whenever chat consecutively fails behind a healthy /health. |
mbp disk-sentinel.sh (4x / 18x) |
Internal SSD hit 14 GiB free (99%). prune-adapters.sh saw zero exp-* dirs younger than 3 days on finished September campaigns and aborted with exit 1 (ABORT: retention would keep ZERO experiment dirs), skipping checkpoint trim too. disk-sentinel.sh also lived as an untracked orphan file, scanned only one council-autoresearch root (1.3G) while missing 15.9G in sibling council-autoresearch-* trees and 5.3G in sanctum-rs-lora/target, and paged error every 6h with no state file. |
Updated prune-adapters.sh to retain the newest MIN_KEEP_DIRS=2 experiments plus champion on idle campaigns, tracked sentinels/disk-sentinel.sh in sanctum-mbp (symlinked at ~/.sanctum/disk-sentinel/disk-sentinel.sh), swept all council-autoresearch* roots and clean >14d non-GDN Rust targets before classifying severity (reclaiming +17 GiB immediately: 14 GiB -> 31 GiB free), and added edge + 24h digest hysteresis. |
Whether Qui-Gon, Yoda, Windu, or R2-D2 holds the watch, a sentinel earns the right to wake the operator only after its own hands have tried the wrench and stepped out of its neighbor’s way.