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