[ORCH-118] Resource cleanup #219

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

Clean up resources when agent terminates.

Acceptance Criteria

  • src/killswitch/cleanup.ts implemented
  • Stop Docker container
  • Remove Docker container
  • Remove git worktree
  • Clear Valkey state
  • Emit cleanup event

Dependencies

  • Blocked by: #ORCH-117

Technical Notes

Run cleanup on: agent completion, agent failure, killswitch.

Clean up resources when agent terminates. ## Acceptance Criteria - [ ] `src/killswitch/cleanup.ts` implemented - [ ] Stop Docker container - [ ] Remove Docker container - [ ] Remove git worktree - [ ] Clear Valkey state - [ ] Emit cleanup event ## Dependencies - Blocked by: #ORCH-117 ## Technical Notes Run cleanup on: agent completion, agent failure, killswitch.
jason.woltje added this to the M6-AgentOrchestration (0.0.6) milestone 2026-02-02 18:58:34 +00:00
jason.woltje added the orchestrator label 2026-02-02 18:58:34 +00:00
Author
Owner

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

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

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

Duplicate of #253 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#219