git before 2.43 reads a revision after --end-of-options in checkout as a pathspec, so
every drafting run in node:22 failed with 'Cannot update paths and switch to branch'.
Option-like values are refused instead and a trailing -- keeps rev a revision. The
suite passes in node:22 (git 2.39.5, Python 3.11.2): 185 tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>