feat(FN-3535): restore terminated agent state and align lifecycle controls
This merge completes the agent terminated state alignment (FN-3535), adding "running → terminated" transition support with consistent styling and lifecycle controls across the heartbeat engine, agent store, and dashboard UI, plus plugin author documentation improvements (FN-3537) and plugin loader t Fusion-Task-Id: FN-3535
This commit is contained in:
@@ -673,10 +673,14 @@ Heartbeat timers are armed for agents in valid working states and remain armed a
|
||||
- `idle` — Agent is between tasks, waiting for work
|
||||
|
||||
**States where timers are cleared:**
|
||||
- `terminated` — Agent has completed or been stopped
|
||||
- `terminated` — Agent has completed or been stopped (non-tickable until explicitly reactivated)
|
||||
- `error` — Agent encountered an unrecoverable error
|
||||
- `paused` — Agent is paused (e.g., by budget exhaustion or manual action)
|
||||
|
||||
Lifecycle notes:
|
||||
- Agents can enter `terminated` from `active`, `running`, `paused`, or `error`.
|
||||
- From `terminated`, agents can be explicitly reactivated to `idle`, `active`, or `running`.
|
||||
|
||||
**Key behaviors:**
|
||||
- Timers remain armed when agents transition between `active`, `running`, and `idle` states
|
||||
- This ensures heartbeat cadence is maintained even when agents complete tasks and await new assignments
|
||||
|
||||
Reference in New Issue
Block a user