Files
Timmy-time-dashboard/.gitignore
Alexander Whitestone 3bf7187482 Clean up generated files and fix 6 dashboard bugs (#142)
* chore: gitignore local/generated files and remove from tracking

Remove user-specific files (MEMORY.md, user_profile.md, prompts.py)
from source control. Add patterns for credentials, backups, and
generated content to .gitignore.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: resolve 6 dashboard bugs — chat, /bugs, /swarm/events, WebSocket, marketplace, sidebar

1. Chat non-functional: CSRF middleware silently blocked HTMX POSTs.
   Added CSRF token transmission via hx-headers in base.html.

2. /bugs → 500: Route missing template vars (total, stats, filter_status).

3. /swarm/events → 500: Called .event_type.value on a plain str
   (SparkEvent.event_type is str, not enum). Also fixed timestamp
   and source field mismatches in the template.

4. WebSocket reconnect loop: No WS endpoint existed at /swarm/live,
   only an HTTP GET. Added @router.websocket("/live") using ws_manager.

5. Marketplace "Agent not found": Nav links /marketplace/ui matched
   the /{agent_id} catch-all. Added explicit /marketplace/ui route
   with enriched template context.

6. Agents sidebar "LOADING...": /swarm/agents/sidebar endpoint was
   missing. Added route returning the existing sidebar partial.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: restore src/timmy/prompts.py to source control

prompts.py is imported by timmy.agent and is production code,
not a user-local file. Re-add to tracking and remove from .gitignore.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Trip T <trip@local>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:26:41 -05:00

81 lines
1.0 KiB
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
discord_credentials.txt
# Backup / temp files
*~
# 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/
# Local content — user-specific or generated
MEMORY.md
memory/self/user_profile.md
TIMMYTIME
introduction.txt
messages.txt
morning_briefing.txt
markdown_report.md
data/timmy_soul.jsonl
scripts/migrate_to_zeroclaw.py
src/infrastructure/db_pool.py
workspace/
# macOS
.DS_Store
.AppleDouble
.LSOverride
.Spotlight-V100
.Trashes