2.0 KiB
2.0 KiB
Orch Remaining Controls
Status
completed
Owner
- codex
Started At
2026-03-19
Goal
- implement the remaining leader-side scheduler control commands:
retry,reassign,cancel, andcleanup
Scope
- add store and CLI support for retrying failed tasks, reassigning blocked or failed tasks, cancelling a task or full run, and cleaning up attempt worktrees
- add integration tests that exercise the new control flows on top of the existing scheduler/worktree implementation
- update the implementation roadmap and archive this workstream when complete
Checklist
- inspect docs and current attempt/thread/worktree helpers
- implement
retry,reassign,cancel, andcleanupstore operations and CLI commands - add integration coverage for the new control flows
- run
go test ./... - update
docs/implementation-roadmap.md - archive this roadmap with a completion summary
Files
docs/roadmaps/archive/orch-remaining-controls.mddocs/implementation-roadmap.mdinternal/cli/orch/root.gointernal/cli/orch/*.gointernal/cli/orch/integration_test.gointernal/store/orch.go
Decisions
retryandreassignwill reuse the existing dispatch pipeline so new attempts keep the same attempt/worktree semantics as normal dispatchcleanupwill remove worktree directories and mark attempt workspace state ascleaned, but will not delete attempt branches in this slice
Blockers
- none
Next Step
- decide whether worktree mode should be selected automatically for code tasks, then either implement that ergonomics layer or defer it before moving into council workflows
Completion Summary
orchnow supports the remaining leader-side control commands:retry,reassign,cancel, andcleanup- retry and reassign reuse the normal dispatch pipeline, including per-attempt worktree allocation when the previous attempt was worktree-backed
- cleanup removes eligible worktree paths and marks attempt workspace state as
cleaned