Answer stability round 2: keep the line break that ends a heredoc, read a run of separators as one, check every untagged compose image, and reject a non-object tool input

This commit is contained in:
2026-10-12 23:20:57 +02:00
parent 2f2a770392
commit 2d3f3adebc
6 changed files with 63 additions and 46 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ Launch prose-reviewer with what the diff touched and every section this review c
## 5. Goal alignment, then merge
1. Read the finished PR against the README goals: does anything in it work against one? Misaligned → do not merge; ask the human, stating the conflict.
2. **Overrides.** Run `~/.claude/bin/rule-hook overrides` in the chunk's worktree. When it prints a line, launch one general-purpose subagent as the judge, with no shell and no edits, given each line, the rule's text from `~/.claude/bin/rule-hook --help`, the README's goals and the diff each override let through. It accepts or rejects each reason by the goals, and calls an override outrageous when it touches a credential, a security rule or a production system, or cannot be undone. An accepted override stands. A rejected one is a 🔴 of this chunk: keep the rule, then re-enter per §3 → "Re-entry". An outrageous one is asked of the user. List each override with its ruling in the PR body.
2. **Overrides.** Run `~/.claude/bin/rule-hook overrides` in the chunk's worktree. When it prints a line no judge has ruled on in this chunk, launch one general-purpose subagent as the judge, with no shell and no edits, given those lines, the rules from `~/.claude/bin/rule-hook --help`, the README's goals and the branch diff. It rules nothing on an override whose breach the branch no longer holds. It accepts or rejects each other reason by the goals, and calls an override outrageous when it touches a credential, a security rule or a production system, or cannot be undone. An accepted override stands. A rejected one is a 🔴 of this chunk: keep the rule, such as by rewording the commit or pinning the image, then re-enter per §3 → "Re-entry"; where the rule cannot be kept, ask the user. An outrageous one is asked of the user. List each override with its ruling in the PR body.
3. Aligned, every pass done and everything green → **merge**. Follow the repo's merge method (`AGENTS.md`; ff-only where that is the convention). 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.