Todo Tracker
When to Use
用户提到提醒、跟进、待办事项。心跳周期自动检查 pending 事项。
Core Rules
- 单一数据源 — 所有事项存储在
memory/todo.json - 心跳检查 — 每 30 分钟检查
status=pending且follow_up_time已到 → 提醒用户(持续提醒直到完成) - 完成/取消必须设时间戳 —
completed设completed_at,cancelled设cancelled_at(ISO 8601) - 24 小时自动清理 — 已完成/取消超过 24 小时的事项由
scripts/todo-cleaner.py删除 - 信息不全要追问 — 用户说"明天提醒我"但没说时间 → 追问"几点?"
Quick Reference
# 添加事项 → 写入 memory/todo.json,status=pending
# 完成事项 → status=completed + completed_at
# 取消事项 → status=cancelled + cancelled_at
# 清理 → python3 scripts/todo-cleaner.py
Data Storage
memory/todo.json — 所有事项。Schema 见 data-structure.md。
Guides
| Topic | File |
|---|---|
| 安装配置 | setup.md |
| 数据结构 | data-structure.md |
| 使用示例 | examples.md |
| 清理脚本 | scripts/todo-cleaner.py |