feat(FN-3567): sync allowParallelExecution runtime toggle
Fixes FN-3567 by synchronizing the `allowParallelExecution` runtime toggle in the AgentDetailView component, adding one line to keep the setting in sync. Fusion-Task-Id: FN-3567
This commit is contained in:
@@ -237,6 +237,7 @@ The `runtimeConfig` field on agents supports the following options:
|
||||
| `autoClaimRelevantTasks` | `boolean` | `true` | During no-task heartbeats, opportunistically claim unowned relevant todo tasks that align with the agent's role/soul |
|
||||
| `heartbeatTimeoutMs` | `number` | — | Time without heartbeat before agent is considered unresponsive (ms) |
|
||||
| `maxConcurrentRuns` | `number` | `1` | Max concurrent heartbeat runs for this agent |
|
||||
| `allowParallelExecution` | `boolean` | `true` (when unset) | Permanent agents only. When `false`, heartbeat and executor paths serialize symmetrically: a heartbeat will not start while the agent's bound task has an active executor session, and an executor session will not start while the agent has an active heartbeat run |
|
||||
| `messageResponseMode` | `"immediate" \| "on-heartbeat"` | `"immediate"` | Whether agent wakes immediately on message (immediate) or processes during heartbeat (on-heartbeat). See [Heartbeat Run Mailbox Checking](#heartbeat-run-mailbox-checking) |
|
||||
| `selfImproveEnabled` | `boolean` | `true` | Enable periodic self-improvement reflection prompts during heartbeat runs |
|
||||
| `selfImproveIntervalMs` | `number` | `14400000` (4h) | Minimum delay between self-improvement cycles (minimum enforced: 3600000 ms) |
|
||||
@@ -248,6 +249,8 @@ The `runtimeConfig` field on agents supports the following options:
|
||||
Heartbeat values are validated and minimum-clamped to 5 minutes (300,000 ms).
|
||||
Project setting `heartbeatMultiplier` (default `1`) scales resolved heartbeat intervals globally; per-agent `heartbeatIntervalMs` remains the base interval before multiplier scaling. This setting is configured from the **Agents** screen's **Controls** popup under "Heartbeat Speed".
|
||||
|
||||
`allowParallelExecution` defaults to `true` when unset; setting it to `false` is serialized explicitly so operators can enforce non-parallel heartbeat/executor behavior for that permanent agent.
|
||||
|
||||
### No-task auto-claim behavior
|
||||
|
||||
When an identity-bearing, non-ephemeral agent wakes with no assigned task and `runtimeConfig.autoClaimRelevantTasks !== false`, the heartbeat monitor scans open todo tasks and may claim one before constructing the prompt run.
|
||||
|
||||
@@ -131,7 +131,7 @@ Todo View is an experimental dashboard surface for managing per-project todo lis
|
||||
> Available when `experimentalFeatures.todoView` is enabled.
|
||||
|
||||
Navigation:
|
||||
- Desktop: **Header → More views → Todos**
|
||||
- Desktop: **Header → More views → Todos** (single canonical desktop entry)
|
||||
- Mobile: **More** sheet → **Todos**
|
||||
|
||||
For full behavior, API contracts, and storage details, use the canonical [Todo View guide](./todo-view.md).
|
||||
|
||||
@@ -751,6 +751,8 @@ Common heartbeat/runtime keys on `runtimeConfig` include:
|
||||
| `heartbeatTimeoutMs` | `number` | Per-agent heartbeat timeout |
|
||||
| `maxConcurrentRuns` | `number` | Per-agent concurrent heartbeat limit |
|
||||
| `messageResponseMode` | `"immediate" \| "on-heartbeat"` | Wake on message immediately or process during periodic heartbeat |
|
||||
| `runMissedHeartbeatOnStartup` | `boolean` | Fire one startup catch-up heartbeat when the last tick was missed while the server was down (default `false`) |
|
||||
| `allowParallelExecution` | `boolean` | Permanent agents only. Default `true` when unset. Set `false` to serialize heartbeat and executor sessions symmetrically (heartbeat won't start while executor is active, and executor won't start while heartbeat is active); `false` is explicitly persisted while unset/`true` keeps parallel behavior |
|
||||
| `selfImproveEnabled` | `boolean` | Enables periodic self-improvement prompts |
|
||||
| `selfImproveIntervalMs` | `number` | Delay between self-improvement cycles (default 4h, minimum 1h) |
|
||||
| `lastSelfImproveAt` | `string` | Last self-improvement checkpoint timestamp (managed by heartbeat monitor) |
|
||||
|
||||
@@ -37,7 +37,7 @@ Behavior when disabled:
|
||||
|
||||
When enabled:
|
||||
|
||||
- Desktop: header overflow menu (**More views**) → **Todos**
|
||||
- Desktop: header overflow menu (**More views**) → **Todos** (the only desktop Todos navigation entry)
|
||||
- Mobile: **More** sheet in the mobile nav bar → **Todos**
|
||||
|
||||
## List management
|
||||
|
||||
Reference in New Issue
Block a user