Linger Agent Service memory management
Raw Developer Origin & Technical Request
GitHub Issue
Nov 19, 2026
## What happens
A Room chat with an Agent starts failing on every message with:
> Codex: The Run stopped because of an error the system could not identify. Try again; if it repeats, tell your administrator when it happened.
Retrying does not help. The Agent's Computer is healthy and never receives the Run: the Agent Service fails before it dispatches anything.
## Cause
The Agent Service throws while starting the Run:
```
ProviderRunStartError: ENOENT: no such file or directory, realpath
'/agent-memory/generations/'
at SynchronizedContextProvider.startRun (apps/node-services/dist/agent/executor/activation.js:789)
at #startProviderRun (apps/node-services/dist/agent/executor/run-loop.js:799)
```
`context_runtime.local_synchronization_prepared` logs `snapshotOutcome: "rejected"` for the same attempt.
A long-lived Context activation keeps the `sourcePath` of the memory generation it mapped when it was activated. `pruneGenerations` in `apps/node-services/src/agent/agent-features/agent-memory/projection.ts` keeps only the current generation and the newest other one, on the assumption that "a Context copies a generation when it maps it". Once the Agent's memory is published twice more and another Context of the same Agent activates, the generation the first activation still points to is deleted, and every later Run in that Context fails at start.
Timeline observed (one Agent, two Rooms, Codex Runtime):
1. Context A activated; Runs succeed for...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from simplexai-labs/linger.
Frequently Asked Questions
Market intelligence mapped to Linger Agent Service memory management.
What problem does Linger Agent Service memory management solve?
How is the developer community reacting to Linger Agent Service memory management?
What architecture is tied to Linger Agent Service memory management?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like realpath and ProviderRunStartError in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- realpath: 2 records
- ProviderRunStartError: 1 records
- ENOENT: no such file or directory: 1 records
- SynchronizedContextProvider: 1 records
- startRun: 1 records
- context_runtime.local_synchronization_prepared: 1 records
- pruneGenerations: 1 records
- sourcePath: 1 records
- memory generation: 1 records
- Context activation: 1 records
- Codex Runtime: 1 records
- snapshotOutcome: "rejected": 0 records
SaaS Metrics