Mission Run Overview

Mission Run: Harden the Dead-Symbol Gate

Fix the dead-symbol gate's parser bug and teach it the call patterns it's blind to, so it inspects all public symbols without false-flagging live code.

The architectural dead-symbol gate (tests/architectural/test_no_dead_symbols.py) has two limitations: a parser bug (_extract_all_literal) that blinds it to ~57 modules, and caller-detection that only recognizes 'from X import Y' — missing module-style calls, lazy package re-exports, Typer command registration, dynamic registries, and return-type flow. Fixing only the parser would surface ~107 live-but-invisible symbols and tempt a mass-allowlist that grows the very ratchet issue #2049 works to shrink. This mission instead fixes the parser AND enhances caller detection so those ~107 are correctly seen as live (no allowlist growth), cleans up the handful of genuinely-dead symbols, and closes a latent security gap (an unsafe-flag blocklist that was defined but never enforced).

Total Tasks
1
0 planned
In Progress
0
Review
0
Approved
0
Completed
1
100% done

Available Artifacts