feat: orch down stops an issue's sessions, --forget deletes them
Live sessions get the abort `k` sends; unfinished ones whose process is gone are marked aborted so `orch up` leaves them alone. --forget waits for the aborted ones to exit, then deletes their rows and logs. Worktrees stay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bfc2693f9b
commit
c59924fc0f
4 files changed
+191
-2
No files matched your search
@@ -18,6 +18,7 @@ git host: tasks come from a folder or any JSON command, results go to a local br
|
||||
orch check NAME CMD [--owner sN] add an acceptance check (pass = exit 0)
|
||||
orch checks [--owner sN | --main] run acceptance checks here, or on a clean copy of main
|
||||
orch up MANIFEST one detached session per worktree of an issue (any repos)
|
||||
orch down MANIFEST [--forget] stop those sessions; --forget also deletes them
|
||||
orch issues TUI on the sessions `orch up` started, grouped by issue
|
||||
|
||||
## How a run goes
|
||||
@@ -129,8 +130,11 @@ when one is broken, then starts one detached session per worktree and returns. L
|
||||
`<state>/logs/issue-sN.log`. Running it again is safe: sessions that run or are done are left alone, and ones that
|
||||
stopped unfinished start again. The sessions of every repo live in one database, `<state>/issues.db`; `orch
|
||||
issues` shows them grouped by issue, with the repo under each name. Steering and kill work as in the normal TUI;
|
||||
`u` and `R` start sessions detached again. `manifest_dir` defaults to `<config>/manifests` and is set in
|
||||
`<config>/config.toml` (`~/.config/orch/config.toml`):
|
||||
`u` and `R` start sessions detached again. `orch down ABC-123` stops the issue's sessions: running ones get the
|
||||
same abort as `k`, unfinished ones whose process is gone are marked aborted, so `orch up` leaves them alone.
|
||||
`--forget` then deletes the sessions and their logs (it waits up to a minute for aborted ones to exit), so `orch
|
||||
issues` no longer lists them and the next `orch up` starts fresh. Worktrees and branches stay. `manifest_dir`
|
||||
defaults to `<config>/manifests` and is set in `<config>/config.toml` (`~/.config/orch/config.toml`):
|
||||
|
||||
```toml
|
||||
manifest_dir = "~/notes/manifests"
|
||||
|
||||
Reference in new issue
Block a user