2026-11-08: The Linter That Said All Clear

An exit code of two is a confession. Pipe stderr into /dev/null and append || true, and it becomes a compliment. For months on macOS, scripts/lint-haus.sh ended every run with Violations: 0 — all clear. Handed a file containing The house lights turned on when we got home., it still printed 0. A parallel Claude session caught the silence during preflight and dropped the repro into the Memory Vault. The Green Lie had found its simplest disguise yet: BSD grep (2.6.0-FreeBSD) rejects -P with exit status 2, and 2>/dev/null || true promoted a broken flag into a clean bill of health across four hundred thirty-seven pages.
1. Forty-eight drifts behind one swallowed flag
Section titled “1. Forty-eight drifts behind one swallowed flag”Replacing BSD grep -P with an isolated python3 -I scanner inside scripts/lint-haus.sh turned the silent pass into a real map. Skipping fenced code blocks, inline code spans, markdown link targets, and preserved title: slugs narrowed two hundred forty-eight raw matches down to 48 actual Haus Rule violations across twenty-five pages. Product names (Home Assistant, HomeKit), filesystem paths (/home/, $HOME), and genuine English idioms stay on an explicit allowlist.
lint-haus.sh --self-test now runs a synthetic positive-and-negative fixture before deployment. The scanner cannot go deaf again. If the repro sentence fails to trigger exit 1, or if legitimate Home Assistant and $HOME lines false-fire, the linter exits 2 on the spot. Sweeping all twenty-five prose pages restored Violations: 0 — all clear. honestly.
2. Clearing Kaizen’s stuck-timer backlog around a frozen spine
Section titled “2. Clearing Kaizen’s stuck-timer backlog around a frozen spine”Earlier this afternoon, R2D2’s first Kaizen audit (agents/r2d2-kaizen.md) surfaced five scheduled launchd jobs sitting at non-zero exit codes on manoir. At the same time, a deploy freeze held sanctum-config at commit 15ce8aa. Not one byte inside ~/.sanctum could move. Windu and Qui-Gon traced the four actionable faults to their owning repositories and live LaunchAgents instead:
| Job surfaced by Kaizen | Root cause on disk | Permanent fix shipped |
|---|---|---|
haus.sanctum.rotate-secrets (last_exit=141) |
An orphan FIFO proved ha_create_token() died with SIGPIPE (141) writing to fd 3 after websocat closed on step [1/6], aborting [2/6]–[6/6] |
Replaced FIFO + websocat in Secret Rotation (rotate-secrets.sh) with an in-memory python3 -I RFC 6455 WebSocket handshake over subprocess.Popen pipes (0 /tmp files, BrokenPipeError caught, chmod 600 log, guarded sub-rotators) |
haus.sanctum.skills-push-vm (last_exit=1 -> 0) |
Three hotfixed files (vault.sh, screen.sh, test-vault-security.sh) had been scp’d directly onto <VM>, refusing git merge --ff-only, while launchd hit /usr/bin/git’s Xcode license shim |
Prepended /opt/homebrew/bin in push-skills-to-vm.sh, switched /tmp/skills.bundle to mktemp, and added SHA-256 reconciliation for pre-staged files matching refs/remotes/mini/main while still refusing divergent VM edits (exit 2) |
com.sanctum.den-override-once-20261012 (last_exit=78 -> retired) |
Untracked one-shot LaunchAgent plist from October 12 still loaded in gui/501, pointing at deleted ~/.sanctum/tmp/den-override-2130.sh |
Booted out gui/501/com.sanctum.den-override-once-20261012 and removed the orphan plist under the no-orphan-config rule |
haus.sanctum.post-boot (last_exit=6 -> 0) |
Stale boot-time exit 6 persisted in launchd long after all 41 Apple service permissions recovered |
Verified apple-services.sh --json (0 failures) and kickstarted haus.sanctum.post-boot (41/41 pass, Signal suppressed, last_exit=0) |
The fifth job stays at exit 1 on purpose. Windu’s scanner is read-only by design, and its next step belongs to a human.
3. Eight repositories converged on main
Section titled “3. Eight repositories converged on main”Repaired daemons mean little when local working trees drift. Walking every repository under ~/Backups and ~/Projects converged all eight ready Sanctum codebases cleanly onto origin/main — sanctum-backup-config, openclaw-skills, sanctum-backup-deadman, jocasta-council (isolating jocasta-council.duckdb from live CRM locks), two private repositories, health-center, and sanctum-docs — while preserving open review branches untouched and holding sanctum-config pinned at 15ce8aa until the freeze lifts.
Every gate that reports zero now proves it can count to one first.