You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tower: stale architect rows blackhole name-based delivery — afx send reports ok to a dead terminal; cron deliveries fail silently for days #1368
Failure class: architect terminal rows outlive their terminals; every name-based delivery path then silently misfires
Found live 2026-08-08 during the first real /arch-save cycle on the codev workspace.
Observed
Stale registry: Tower's architect table for the codev workspace holds main → terminal 486654f3… (pid=0, no live process) and a second dead row (agy-is-stupid → 92bf74ab…). The actual main architect session runs on terminal 73b5cee1… — env-identified (CODEV_ARCHITECT_NAME=main, afx whoami agrees) but not what the registry points at.
afx send architect:main reports ok and delivers into the corpse. A self-directed /clear (step 4 of /arch-save) "succeeded" while the live main session received nothing. The sender has no way to know. For /arch-save specifically this is benign-but-confusing (clear no-ops, context survives); the inverse mapping error would be worse — a send resolved onto the wrong live terminal executes /clear on a session that never asked.
Cron deliveries have been failing silently for days: Cannot deliver cron message … target 'architect' not found — 1,219 occurrences for one task alone; historical total ~6,400 across tasks (HN Launch Tracker alone logged 4,960 failures while enabled). Nothing surfaces these to the owner; a watchdog that can't deliver is indistinguishable from a healthy system with nothing to report.
Why the rows go stale
Reconciliation gates respawn on liveness evidence (#1150) but does not purge or re-point architect rows whose terminal is gone while a live session with the same CODEV_ARCHITECT_NAME exists on a different terminal id. The env-identity and the registry-identity drift apart; every consumer that resolves by name (afx send architect:<name>, cron delivery, presumably dashboard routing) follows the registry.
Proposed fixes (layered)
Liveness check at resolution time (shared by send + cron): if the resolved terminal has no live session, fail loudly to the sender ("architect 'main' registered to dead terminal ") instead of reporting ok. Never silently blackhole.
Reconciliation re-points or purges: on startup/periodic reconcile, an architect row pointing at a dead terminal should be re-pointed at a live session carrying the matching CODEV_ARCHITECT_NAME for that workspace, else deleted (so sends fail loudly per (1)).
Cron repeated-failure surfacing: N consecutive delivery failures for an enabled task → surface once to the workspace (needs-attention row / owner notification) and back off. Thousands of silent identical failures helped nobody.
Aggravating housekeeping datum
The currently-failing CI Health Check belongs to workspace codev-1280-test… — a leftover test fixture whose architect is long gone, with its cron still enabled, firing every 30 minutes into the void. Whatever fix lands, stale-workspace crons deserve the same loud-or-dead treatment.
Activity