[ORCH-109] Agent lifecycle management #244
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Manage agent states through lifecycle (spawning → running → completed/failed/killed).
Acceptance Criteria
Implementation Summary
Created AgentLifecycleService that manages agent state transitions with:
Files Modified
Dependencies
Technical Notes
State machine enforces valid transitions only. All state changes are persisted to Valkey and emit pub/sub events for real-time monitoring.