Remove a merged chunk's worktree and branch and fast-forward the main checkout with chunk-pr clean
CI / tests (pull_request) Successful in 2m13s
CI / tests (pull_request) Successful in 2m13s
This commit is contained in:
@@ -195,7 +195,8 @@ Launch prose-reviewer with what the diff touched and every section this review c
|
||||
2. Run the comprehension check (§3) where it runs; it runs once. When `origin/<default branch>` moves after that, return to §4, and keep the ruling and scoring run already recorded.
|
||||
3. Aligned, every pass done and everything green → **merge** with `~/.claude/bin/chunk-pr merge --gate-passed`, which takes the first merge method the repository allows on its forge. A repo whose `AGENTS.md` names another method merges that way with the forge's CLI instead. A repo withholds this in its `AGENTS.md` → leave the PR ready and unmerged, and say which line withheld it.
|
||||
4. Merged → remove the chunk's items from `todo.md` per `~/.claude/CLAUDE.md` → "Working loop".
|
||||
5. Stop. The next chunk gets a fresh session.
|
||||
5. Run `~/.claude/bin/chunk-pr clean` in the chunk's worktree. It removes the worktree and the branch and fast-forwards the main checkout; a failure it prints, such as a dirty main checkout, goes in the summary.
|
||||
6. Stop. The next chunk gets a fresh session.
|
||||
|
||||
## 6. Wrap up
|
||||
|
||||
|
||||
Reference in New Issue
Block a user