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
chore: delete dead code identified by static analysis #729
polylogue/showcase/context.py — 114 lines, ShowcaseContext class and 6 methods, listed in __all__ but never imported by any production, devtools, or test code
Test-only modules (imported only by tests, not by production or devtools):
polylogue/cli/insights_rendering.py — 49 lines, its own docstring says "All per-insight-type renderers are replaced by the generic render_insight_items()" — the retained summarize_archive_debt helper is never called
polylogue/archive/query/read_fields.py — 175 lines, ReadFieldDescriptor and READ_FIELD_DESCRIPTORS not wired into production
polylogue/cli/shared/qa_finalization.py — 62 lines, finalize_qa_run not wired to a CLI verb
polylogue/cli/shared/schema_command_support.py — 61 lines, build_schema_privacy_config has no production caller
Acceptance criteria
Delete showcase/context.py — confirmed dead.
For the 4 test-only modules: either wire into production callers or delete. insights_rendering.py docstring strongly suggests deletion.
Run devtools verify --quick and full test suite after deletion.
Activity
chore: clean baseline — drop 3 dead modules, split artifacts/__init__…
Sinity commentedon May 3, 2026
Closed by #752. Verify:
python3 -c "import polylogue.showcase.context"→ ModuleNotFoundError (module deleted).chore: clean baseline — drop 3 dead modules, split artifacts/__init__…