sha 08880b9c5890Born in: the post where it earned its place →
The generic vendor “clean up my git” answer dumps a list of commands and trusts the model to behave; this version is an operator contract with a recovery anchor, a per-mutation verify-then-fail-closed loop, a scope cap, a mandatory self-critical “what would make this verdict wrong” line per item, and an evidence-shaped output that forces SHAs and command tails instead of a confident-sounding summary that could be quietly destroying recoverable work.
Fill in: repo_path default_branch validate_cmd max_branches_to_touch integration_target_branch
Shared as is, for reference. Read it and decide what it will do before you run it; using it is your responsibility, under the terms.