Summary
Task history persistence uses api_conversation_history.json and ui_messages.json.
Both files are full JSON arrays. On each write, the whole file is read, parsed, an object appended, stringified, and saved again. This is unsuitable for logging.
Proposal (phased)
P0 – stop the bleeding
P1 – optional workspace indices
P2 – durable design for #355
- Append-only event log (JSONL or line protocol) or SQLite (WAL) task catalog.
- Repository interface shared by GUI, CLI, and repair tools.
Summary
Task history persistence uses
api_conversation_history.jsonandui_messages.json.Both files are full JSON arrays. On each write, the whole file is read, parsed, an object appended, stringified, and saved again. This is unsuitable for logging.
Proposal (phased)
P0 – stop the bleeding
P1 – optional workspace indices
P2 – durable design for #355