The activation audit called six subsystems straight-deletable. Re-verified at HEAD before touching anything, three of the six claims were wrong — the audit predates 15 merges and misread live wiring. This PR executes only what re-proved dead, and the correction is on the issue so nobody deletes live code on the audit's word.
| audit claim | at HEAD | action |
|---|---|---|
| event-log: bus, 0 subscribers | 8 appenders alive*, cursor-readers 0 callers | trim readers |
| children-bus: 4/6 exports dead | confirmed exactly | delete 4 |
| detectPipeline unconditionally null | real logic, 3 importers | kept, own issue |
| multi-agent-coordinator inert | wired via entries/prompt | kept, own issue |
| registry tables droppable | settings_overrides read on EVERY PreToolUse | kept, own issue |
| handoffs 3 writers 0 readers | writers live inside 3 running hooks | surgery, not trim |
*One layer deeper: 7 of those 8 import event-logger, a different
module my own grep conflated by name. event-log proper has ONE production caller — the
audit's count was right and my first correction overcorrected. Both errors are recorded.
event-log.ts −82 getTailCursor · readEventsSince (64KB chunked cursor
reader, ZERO callers ever) · writer half KEPT
children-bus.ts −92 writeChildState · readChildState · listChildren ·
sweepOrphanChildren · childrenDir + deleteChild KEPT
fixtures/ +69 bus-test-readers.ts — two tests used the dead exports
as seed/inspect helpers; those move to test-land,
production keeps only what production calls
The suite for the dead exports was deleted WITH them: a green test suite for functions nothing calls is exactly how this repo once had 103 tests passing against a helper dead in production.
verification 4 affected test files: 23 passed · typecheck clean
npm run build clean · validate-counts PASSED