[ORCH-109] Agent lifecycle management #210

Closed
opened 2026-02-02 18:58:28 +00:00 by jason.woltje · 2 comments
Owner

Manage agent states through lifecycle (spawning → running → completed/failed).

Acceptance Criteria

  • src/spawner/agent-lifecycle.ts implemented
  • State transitions: spawning → running → completed/failed/killed
  • State persisted in Valkey
  • Events emitted on state changes (pub/sub)
  • Agent metadata tracked (startedAt, completedAt, error)

Dependencies

  • Blocked by: #ORCH-105, #ORCH-108

Technical Notes

State machine enforces valid transitions only.

Manage agent states through lifecycle (spawning → running → completed/failed). ## Acceptance Criteria - [ ] `src/spawner/agent-lifecycle.ts` implemented - [ ] State transitions: spawning → running → completed/failed/killed - [ ] State persisted in Valkey - [ ] Events emitted on state changes (pub/sub) - [ ] Agent metadata tracked (startedAt, completedAt, error) ## Dependencies - Blocked by: #ORCH-105, #ORCH-108 ## Technical Notes State machine enforces valid transitions only.
jason.woltje added this to the M6-AgentOrchestration (0.0.6) milestone 2026-02-02 18:58:28 +00:00
jason.woltje added the orchestrator label 2026-02-02 18:58:28 +00:00
Author
Owner

Duplicate of #244 which was completed. Closing duplicate issue.

Duplicate of #244 which was completed. Closing duplicate issue.
Author
Owner

Duplicate of #244 which was completed. Closing duplicate issue.

Duplicate of #244 which was completed. Closing duplicate issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#210