Context
PR #37 added cross-agent diff review (task.review field on Task). Currently task.review is only stored in-memory — it's not persisted to SQLite in store.ts.
What needs to happen
- Add
review column to the tasks table (JSON text, nullable)
- Update
save() to serialize task.review as JSON
- Update
load() to deserialize it back
- Schema migration for existing databases
Why
Without persistence, review results are lost on restart. API consumers reading historical tasks won't see review data.
Ref: #37
Context
PR #37 added cross-agent diff review (
task.reviewfield on Task). Currentlytask.reviewis only stored in-memory — it's not persisted to SQLite instore.ts.What needs to happen
reviewcolumn to the tasks table (JSON text, nullable)save()to serializetask.reviewas JSONload()to deserialize it backWhy
Without persistence, review results are lost on restart. API consumers reading historical tasks won't see review data.
Ref: #37