Answer security round 1: 0 🔴, 1 🟡 (0 misread); keep the hooks in settings.json on their full path, so a session started outside the loop still runs them
CI / tests (pull_request) Successful in 4m36s

This commit is contained in:
2026-12-03 13:11:11 +01:00
parent 0653c2744e
commit 9240b34e0c
4 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ It applies only those commits on the newest tag, tests them with `ci.sh`, tags a
## Tools
loop-claude puts the release's tools first on the `PATH` of every claude it starts, so this README and the rules name each tool bare, as in `metric-bench`. Install puts only `loop-claude` on your shell's `PATH`: there, call another by its path, `~/.claude/bin/<tool>`, from the project's checkout. A claude you start yourself, outside loop-claude, doesn't find the tools, so it runs without this setup's hooks and status line. The tools under `~/.claude` are the release's; test a change to one from `~/code/claude-config/bin`. The tools are listed in alphabetical order, and the packages under `bin/` follow under their own heading.
loop-claude puts the release's tools first on the `PATH` of every claude it starts, so this README and the rules name each tool bare, as in `metric-bench`. Install puts only `loop-claude` on your shell's `PATH`: there, call another by its path, `~/.claude/bin/<tool>`, from the project's checkout. The tools under `~/.claude` are the release's; test a change to one from `~/code/claude-config/bin`. The tools are listed in alphabetical order, and the packages under `bin/` follow under their own heading.
- `chunk-pr open|sync|ready|push|merge|clean|open-epic` opens a chunk's pull request as a draft, brings its branch level with origin's default branch, marks it ready and merges it once its checks pass, with `gh` on a GitHub origin and `tea` elsewhere. Where the project's config sets `epic-branch`, the pull request goes into the epic's working branch instead, `push` pushes later commits and asks the auto-reviewer for a review, and `open-epic` opens the pull request from that branch into the default branch. The chunks of one project merge one at a time: in its turn, `merge` brings the branch level again, finishes the plan items its `--finish` flags name, and waits for the checks. Under `merge = "human"` it then marks the pull request ready and leaves the merge to a person. Once the pull request is merged, `clean` removes the chunk's worktree and branch and fast-forwards the main checkout. `chunk-pr --help` states the steps.
- `chunk-preflight` finds the mechanical facts a chunk starts from, and with `--worktree` makes its worktree; `loop-claude` runs it with `--worktree` before it routes each chunk, and `chunk-preflight --help` lists the facts.