Revise a rejected candidate
Produce a new candidate and a checkable patch. Keep the rejected version and the working tree unchanged; the latest approved review list is the entire write scope.
- Pin the round. Reread the current review, request, evidence and ledger. Record the target base commit and scoped working-tree state; distinguish pre-existing edits from your work. If a newer base or a conflicting instruction changes the round, resolve it before editing.
- Build in scratch. From pristine base copies, reproduce the accepted parts of the rejected
candidate and apply only the current numbered fixes. Restore excluded hunks to the base.
Verify each replacement anchor matches exactly once before writing any output. Write the
revised files and a new
vN+1patch with stable repo-relativea/andb/paths. - Check both comparisons. Compare rejected and revised bytes to verify every fix and find
off-list changes; compare base and revised bytes to verify the complete patch, including
removed hunks, valid frontmatter where applicable, and absence of rejected conclusions in
paraphrase. Run
git apply --numstatandgit apply --checkagainst the pinned base from its root; validate the current target separately or report drift. Apply-check proves structure only. Recheck that the rejected bytes and working-tree state did not change. - Hand back the candidate. Give the revised files, patch, base SHA, numstat and apply-check result, plus one stable patch anchor or new fragment per numbered fix. Name unresolved items and any decision still needed. State explicitly that nothing was applied to the working tree.
For evidence wording or a Git patch recipe, see review checks.
