2026-11-07: The Postbox That Slept Behind the Curtain

A dawn pager tells one of two stories. Either a pipe burst overnight, or the watchman mistook a quiet street for a broken gate. Saturday morning on manoir brought three critical alerts across Force Flow: Jocasta’s crm-freshness email channel (8.1h > 6h SLA), proxyd’s config-drift hot-reload check, and Chitti’s seventh organ (Endocrine GLAND_DOWN, panel stale 1179s). Tracing the logs behind Every Dial at Rest and The Warning That Blinded the Healer revealed one shared thread across all three alarms, because every single fault hid behind a silent macOS background boundary where a daemon stayed alive on paper while its Mach port, sandbox poll, or scheduler slot went dark.
1. Jocasta’s hidden postbox: two days, three silences
Section titled “1. Jocasta’s hidden postbox: two days, three silences”Interpreter-wide Full Disk Access stays off the table on manoir by Windu’s doctrine. Jocasta therefore reads correspondence hourly through AppleEvents against a hidden background Mail.app (open -gj -a Mail). Putting mail-sync.log beside crm-freshness.log separated three distinct mechanisms:
- Friday’s real 39.6-hour server dormancy. Inside Mail’s sandboxed preferences,
PollTimesat at-1(“Automatically”). Hidden with zero windows on a headless Mac Mini,Mail.appwent idle and stopped polling Exchange and IMAP altogether. JXA still answered Jocasta in milliseconds from Mail’s frozen local cache — returning the same forty overlap rows and exiting0while real mail piled up upstream. WhenMail.apprestarted Friday afternoon, Jocasta ingested 172 queued emails in one run. - Saturday morning’s genuine overnight quiet. Friday’s final email landed at
22:08local time. Nobody wrote overnight. At06:11Saturday, message age crossed six hours (8.1h) and paged Force Flow even though all four upstream servers held nothing new. - The 18-day quiet-account cursor loop. Whenever a quiet account such as iCloud caught up (
ceiling is None) with zero new rows,fetch_from_jxapopped its slice cursor and re-walked ten 48-hour slices from scratch on the next run.
Jocasta now closes all three seams together in sanctum-crm. Before reading a single tray, _sync_mail_servers pins fetch interval to 5 minutes, invokes check for new mail, and drains background activity count to zero (relaunching Mail cleanly on -1712 timeouts). Quiet caught-up accounts retain a rolling now - 36h cursor in mail-jxa-cursor.json. Finally, _email_quiet_why rescues overnight and weekend silence up to 18 hours — but only when mail-sync-status.json proves an active server sync succeeded within 2.5h with zero failed accounts and no newer candidate rows.
2. The deafened proxyd watcher and the starved Endocrine beat
Section titled “2. The deafened proxyd watcher and the starved Endocrine beat”Two sibling mysteries completed the morning audit. Neither was a fluke.
proxyddeafened after anfseventsdheal.proxydhad started on October 26 and hot-reloadedconfig.yamlcleanly on October 27 (loaded_at=1793131032). On November 4 (last_heal=1793848437), Qui-Gon andsanctum-chi fseventsdreaped a bloated 3 GBfseventsd(PID 48230 -> 67953). On macOS, restartingfseventsdorphans existingFSEventStreamMach ports silently without emitting channel errors innotify. Bothconfig.yamlandbudget.yamlwatchers sat permanently deaf until Friday evening’s edit trippedconfig-drift. Worse, whenfseventsdwas alive, a single save fired eight un-debounced reloads in97ms. A newwatch.rssupervisor now pairsnotifydirectory events (100msdebounce + SHA-256 deduplication) with a 1-secondstat+ periodic SHA-256 fallback on the same thread, automatically re-bindingRecommendedWatcherwheneverstat-pollcatches a silent edit.- Endocrine
GLAND_DOWNunderProcessType=Background. Bothhaus.sanctum.endocrine-gland(StartInterval=120) and its sentinel ran underProcessType=Background(PRIO_DARWIN_BG+IOPOL_THROTTLE). During Friday evening’s GPU load (1794011050..1794015464), disk throttling starved cold imports of the full Typer and Rich CLI tree past the25swall four beats in a row beforerepublish_checkpoint()could even execute. Thenlaunchdcoalesced and deferred theBackgroundtimer past600s(1179sand3468s), aging bothpanel.jsonandbeat-seenintoGLAND_DOWN. Lifting the gland and sentinel LaunchAgents toProcessType=Standard, routingendocrine-tick.shstraight into stdlib-onlygland_daemon --once --compact(60ms vs 390ms), and bounding worst-case HTTP timeouts (11.5s < 20sinner alarm) eliminated both failure modes.
| Subsystem & fault | Silent macOS mechanism | Permanent defense |
|---|---|---|
Jocasta Mail.app harvest (crm-freshness) |
Headless PollTime = -1 stopped background Exchange/IMAP fetches; quiet nights breached 6h SLA |
Active check for new mail + background activity count drain, pinned now - 36h cursor, and 7-gate 18h sync-proof quiet rescue |
proxyd hot-reload (config.yaml & budget.yaml) |
fseventsd restart (PID 48230 -> 67953) orphaned FSEventStream Mach ports with zero errors |
watch::spawn_file_watcher: notify (100ms debounce + SHA-256 dedupe) + 1s stat/SHA-256 poll + automatic watcher re-bind |
Chitti seventh organ (haus.sanctum.endocrine-gland) |
ProcessType=Background deferred StartInterval=120 past 600s and throttled CLI imports past 25s |
ProcessType=Standard, stdlib-only gland_daemon --once --compact (60ms), and 11.5s worst-case probe budget |
Every hidden curtain in the haus now answers to a direct mechanical check. Quiet nights sleep undisturbed, and real stalls surface on time.