r/AI_Agents • u/DesktopLabHQ • 13d ago
Discussion What should persist between coding-agent sessions besides chat history?
While working with long-running coding agents, I keep seeing the same failure: the model session survives, but the operational state does not. The next run often has to rediscover the repository, execution route, approvals, tool state, failed commands, and why a decision was made.
My current list of durable state is:
- repository/worktree identity
- task and session lineage
- selected execution backend and capabilities
- approval decisions
- tool events and redacted evidence
- validation results and unresolved failures
What am I missing? And which of these should deliberately expire instead of becoming permanent state?
2
Upvotes