Errors and uncaught exceptions are now automatically captured, deduplicated, persisted to a rotating log file, and filed as bug report tasks in the existing task queue — giving Timmy a sovereign, local issue tracker with zero new dependencies. - Add RotatingFileHandler writing errors to logs/errors.log (5MB rotate, 5 backups) - Add error capture module with stack-trace hashing and 5-min dedup window - Add FastAPI exception middleware + global exception handler - Instrument all background loops (briefing, thinking, task processor) with capture_error() - Extend task queue with bug_report task type and auto-approve rule - Fix auto-approve type matching (was ignoring task_type field entirely) - Add /bugs dashboard page and /api/bugs JSON endpoints - Add ERROR_CAPTURED and BUG_REPORT_CREATED event types for real-time feed - Add BUGS nav link to desktop and mobile navigation - Add 16 tests covering error capture, deduplication, and bug report routes Co-authored-by: Alexander Payne <apayne@MM.local> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
64 lines
765 B
Plaintext
64 lines
765 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*.pyo
|
|
.Python
|
|
build/
|
|
dist/
|
|
*.egg-info/
|
|
.eggs/
|
|
|
|
# Virtual envs
|
|
.venv/
|
|
venv/
|
|
env/
|
|
|
|
# Secrets / local config — commit only .env.example (the template)
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# SQLite — never commit databases or WAL/SHM artifacts
|
|
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
*.db-journal
|
|
|
|
# Runtime PID files
|
|
.watchdog.pid
|
|
|
|
# Chat platform state files (contain bot tokens)
|
|
telegram_state.json
|
|
discord_state.json
|
|
|
|
# Testing
|
|
.pytest_cache/
|
|
.coverage
|
|
coverage.xml
|
|
htmlcov/
|
|
reports/
|
|
|
|
# Self-modify reports (auto-generated)
|
|
data/self_modify_reports/
|
|
|
|
# Error logs (auto-generated)
|
|
logs/
|
|
src/data/
|
|
|
|
# Handoff context (session-scoped)
|
|
.handoff/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
.claude/
|
|
|
|
# macOS
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
.Spotlight-V100
|
|
.Trashes
|