←
PLOW-45
Created: 2025-12-21
•
Updated: 2025-12-21
Relationships
Loading...
Attachments
Loading...
Comments (1)
agent
·
2025-12-21
## Implementation Complete
Added the `--notify` flag to both `run` and `tui` commands that sends ntfy notifications on workflow exit.
### Changes Made
**New Files:**
- `src/trckr_plow/notify.py` - Core notification module with QueueStatus, SessionStats, NotifyConfig dataclasses and send_exit_notification()
- `src/trckr_plow/settings.py` - load_notify_config() to read config from ~/.config/trckr-plow/config.yml
**Modified Files:**
- `src/trckr_plow/cli.py` - Added notify_and_exit() helper, --notify flag to run (line 184) and tui (line 541) commands, updated all exit points
**Test Files:**
- `tests/test_notify.py` - 21 tests (100% coverage)
- `tests/test_settings.py` - 14 tests (96% coverage)
- `tests/test_cli.py` - Added 8 new tests for --notify flag
### Verification
- All 777 tests pass
- Lint clean
- Merged to master and pushed