Skip to content

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

Rust

docs(coding-agent): document idle eviction setting (fixes #621) (#626)

Seth Karten073cec16ab8f
diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md
index 9451b09841..0227ec1273 100644
--- a/packages/coding-agent/CHANGELOG.md
+++ b/packages/coding-agent/CHANGELOG.md
@@ -4,6 +4,7 @@
- Added reverse tab navigation to the `/login` configuration menu and moved the model scope shortcut to `Alt+S`.
- Fixed daemon startup crashes hiding their exit status and daemon log until the startup timeout.
+- Documented the global `idleEvictionMinutes` daemon setting, including its default, valid values, and eviction/passivation behavior ([#621](https://github.com/PrimeIntellect-ai/prime-agent/issues/621)).
## [0.6.0] - 2026-08-04
diff --git a/packages/coding-agent/docs/settings.md b/packages/coding-agent/docs/settings.md
index 5aaca59feb..c1308b6a1e 100644
--- a/packages/coding-agent/docs/settings.md
+++ b/packages/coding-agent/docs/settings.md
@@ -166,6 +166,14 @@ When a provider requests a retry delay longer than `retry.provider.maxRetryDelay
Normally the package manager's global modules location is queried using `root -g`. As a special case, if the first element of `npmCommand` is `"bun"`, the modules location will instead be queried with `pm bin -g`.
+### Daemon
+
+| Setting | Type | Default | Description |
+|---------|------|---------|-------------|
+| `idleEvictionMinutes` | number or `"off"` | `90` | Idle threshold in minutes for whole-tree worker eviction and individual idle-child passivation; `"off"` disables both. |
+
+`idleEvictionMinutes` is a global daemon policy and is read only from `~/.prime/agent/settings.json`. Set it to a positive number to configure the idle threshold.
+
### Sessions
| Setting | Type | Default | Description |