ORCH-117: Killswitch implementation #252

Closed
opened 2026-02-02 22:03:10 +00:00 by jason.woltje · 1 comment
Owner

Description

Implement emergency stop functionality to kill single agent or all agents immediately.

Acceptance Criteria

  • src/killswitch/killswitch.ts implemented
  • POST /agents/{agentId}/kill endpoint
  • POST /agents/kill-all endpoint
  • Immediate termination (state transition to killed)
  • Cleanup Docker containers
  • Cleanup git worktrees
  • Update agent state to killed
  • Audit trail logged
  • Tests with >= 85% coverage

Implementation Complete

Service, controller endpoints, and comprehensive tests implemented with 100% coverage.

See scratchpad: docs/scratchpads/orch-117-killswitch.md

## Description Implement emergency stop functionality to kill single agent or all agents immediately. ## Acceptance Criteria - [x] src/killswitch/killswitch.ts implemented - [x] POST /agents/{agentId}/kill endpoint - [x] POST /agents/kill-all endpoint - [x] Immediate termination (state transition to killed) - [x] Cleanup Docker containers - [x] Cleanup git worktrees - [x] Update agent state to killed - [x] Audit trail logged - [x] Tests with >= 85% coverage ## Implementation Complete Service, controller endpoints, and comprehensive tests implemented with 100% coverage. See scratchpad: docs/scratchpads/orch-117-killswitch.md
jason.woltje added this to the M6-AgentOrchestration (0.0.6) milestone 2026-02-02 22:03:10 +00:00
jason.woltje added the securityorchestrator labels 2026-02-02 22:03:10 +00:00
Author
Owner

Implementation completed successfully. See docs/scratchpads/orch-117-killswitch.md for details. All tests passing with 100% coverage.

Implementation completed successfully. See docs/scratchpads/orch-117-killswitch.md for details. All tests passing with 100% coverage.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#252