Make chunk-preflight create the item's worktree only with --worktree, which loop-claude passes

This commit is contained in:
2026-10-31 01:27:34 +01:00
parent 095340da78
commit 610cd63ba6
8 changed files with 84 additions and 49 deletions
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- A bare run of `chunk-preflight` now only prints the facts: it makes no worktree or branch for the item and runs no tool in one. `chunk-preflight --worktree` makes them and runs the tools, as `loop-claude` now asks for each chunk. Before, every run that found an item added the worktree `<checkout>-item-<ID>` and the branch `item-<ID>`, which a run for the facts alone left to remove.
- A release review now fixes the findings of its architecture and principles passes in the release it reviews. Before, it filed each one in `todo.md`, so the release held the drift the review had found. It files only three kinds of finding, each under the release being reviewed: one whose fix needs a human answer, marked `question`; one whose fix adds a feature; and one whose fix the five rounds cannot finish. Until each is done, the release isn't ready to cut.
- In a repo with no tag yet, `chunk-preflight` now calls a release finished once `todo.md` files no item under it: its release review is due, and no later release's item is taken. Before, it lost sight of such a release.
- In a run `loop-claude` started, `rule-hook` now refuses a `/security-review` or `/claude-security` Skill call that the worker makes in its own context on a rung below the project's. It also refuses one from any subagent whose prompt doesn't open with `You are the security pass for this chunk.`, since that subagent's rung is unchecked. The refusal says to invoke the skill from a subagent on the project's rung, its prompt opening with that sentence. Before, only an Agent call that launched the security pass was held to that rung.