Task Tracker
Maintain a live task state file so context survives session resets/compaction.
State File
memory/tasks.md โ single source of truth.
When to Write
- Task received โ add entry with status
๐ ่ฟ่กไธญ - Background process started โ record session ID, PID, server, command
- Progress update โ update status/notes
- Task completed โ mark
โ ๅฎๆ, record results/links - Task failed โ mark
โ ๅคฑ่ดฅ, record error - Session start โ read
memory/tasks.mdto resume awareness
Format
# Active Tasks
## [task-id] Short description
- **Status**: ๐ ่ฟ่กไธญ | โ
ๅฎๆ | โ ๅคฑ่ดฅ | โธ๏ธ ๆๅ
- **Requested**: YYYY-MM-DD HH:MM
- **Updated**: YYYY-MM-DD HH:MM
- **Background**: session-id (PID) on server-name โ `command`
- **Notes**: progress details, partial results
- **Result**: final output, links, summary
# Completed (recent)
<!-- Move completed tasks here, keep last 10, prune older -->
Rules
- Update the file BEFORE reporting to user (write-first)
- Include enough detail to resume without prior conversation context
- For background processes: always record session ID + what server + what command
- For multi-step tasks: update after each step
- Keep it concise โ this isn't a log, it's a state snapshot
- Size limit: keep under 50 lines / 2KB โ this file is read every session start
- Completed tasks: collapse to one-line summary, reference daily notes for details
- Prune completed tasks older than 3 days
- If Active is empty, write ๏ผๆ ๏ผ to make it obvious






