github-draft-pr threw 'Target path escapes repo root' on Linux and the gate never excluded its own wrapper dir. One helper, tools/path-within.mjs, replaces the three copies; case-insensitivity now follows the platform's path flavour.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>