Overview
Several files in src/silentguard/ exist but contain no working code. They are not imported anywhere in the application and can mislead contributors trying to understand the codebase.
Note: blocked_view.py is no longer listed here. It was converted into a short documentation shim after the TUI Rules view was implemented in #40.
| File |
Content |
Problem |
rules.py |
Only comments and TODOs |
All rules logic currently lives in monitor.py |
actions.py |
Placeholder functions / dead action planning |
Real block/unblock helpers live in monitor.py; TUI actions live in tui.py |
ui.py |
Empty or unused UI placeholder |
Both UIs are implemented in main.py and tui.py |
Additionally, pyproject.toml.save is an outdated backup file that serves no purpose in the repo.
What needs to be done
Goal
The src/silentguard/ directory contains only files with real working code or intentional documentation shims. A new contributor reading the source should immediately understand what each file does.
Notes
If any of these files are needed for future features, they should be created fresh when that feature is started — not kept as empty placeholders that confuse the module structure.
Overview
Several files in
src/silentguard/exist but contain no working code. They are not imported anywhere in the application and can mislead contributors trying to understand the codebase.rules.pymonitor.pyactions.pymonitor.py; TUI actions live intui.pyui.pymain.pyandtui.pyAdditionally,
pyproject.toml.saveis an outdated backup file that serves no purpose in the repo.What needs to be done
grep -r "rules\|actions\|from silentguard.ui" src/src/silentguard/rules.pysrc/silentguard/actions.pysrc/silentguard/ui.pypyproject.toml.saveGoal
The
src/silentguard/directory contains only files with real working code or intentional documentation shims. A new contributor reading the source should immediately understand what each file does.Notes
If any of these files are needed for future features, they should be created fresh when that feature is started — not kept as empty placeholders that confuse the module structure.