Epic 1: Core Operations Refactoring — Issue 3/4
Source: 1-agent worktree (wt-a6gki1)
Description
Move agent kill logic from commands/kill.ts into core/operations/kill.ts. CLI command becomes a thin wrapper.
Acceptance Criteria
Files to Create/Modify
src/core/operations/kill.ts (new)
src/core/operations/kill.test.ts (new)
src/commands/kill.ts (simplify)
Epic 1: Core Operations Refactoring — Issue 3/4
Source: 1-agent worktree (wt-a6gki1)
Description
Move agent kill logic from
commands/kill.tsintocore/operations/kill.ts. CLI command becomes a thin wrapper.Acceptance Criteria
core/operations/kill.tsexports aperformKill()functioncommands/kill.tssimplified to arg parsing + callingperformKill()Files to Create/Modify
src/core/operations/kill.ts(new)src/core/operations/kill.test.ts(new)src/commands/kill.ts(simplify)