- Opening a stored agent with no provider session ran the fresh-create
cleanup, which deleted its saved timeline. Now that history survives a
restart, that open erased it; the record-based open now clears only the
previous session's runtime state.
- The delete RPC removed the registry record first and swallowed a failed
history delete, replying agent_deleted while the transcript stayed on
disk with no record to retry from. History now goes first and a failure
reaches the client as rpc_error with the agent still listed.
- The chat outline built its prompt index from every active row, which on
SQLite decodes all replies and tool output. Backends now return the
active prompt rows, which the rewind and import paths already read.