The generic “write me a handoff” produces a plausible summary; this version forces the agent to actually persist state and pass a fail-closed validation gate first, then audit the artifact twice against a cold-start reproducibility test and validate every claim against disk/git before it is allowed to say GO.
Fill in: repo_roothandoff_doctask_filemain_branchallowed_branchesmax_actionsverify_cmd
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.