From the prime-agent analysis. They emit Conversation log: <path> in the system prompt; since the on-disk transcript keeps everything compaction discards, the model can recover any detail with grep instead of losing it forever.
Proposal: when a durable session exists, add one line to the system prompt with the session file path and a note on its format (JSONL) plus the caveat that it lags the live turn. Pairs with the post-compaction note issue: after compaction the model knows where the full history lives.
Nearly free; biggest win right after an aggressive compaction.
From the prime-agent analysis. They emit
Conversation log: <path>in the system prompt; since the on-disk transcript keeps everything compaction discards, the model can recover any detail with grep instead of losing it forever.Proposal: when a durable session exists, add one line to the system prompt with the session file path and a note on its format (JSONL) plus the caveat that it lags the live turn. Pairs with the post-compaction note issue: after compaction the model knows where the full history lives.
Nearly free; biggest win right after an aggressive compaction.