GitNexus/gitnexus/hooks
Gergo Magyar ef4776c10c fix(hooks): prefix Windows device names with an extension in hook slot names (#3374)
Trigger: on Windows, storage-slot.ts sanitizeSlotBasename prefixes a
device-name basename that has an extension (`CON.txt` -> `repository-CON.txt`),
but the hook's copy in registry-query.cjs only matched the bare device name.
With GITNEXUS_STORAGE_ROOT set, a checkout named e.g. `con.txt` got a
different slot from the hook than from the CLI, so the hook could not see its
index.

Fix: mirror the platform branch (extension form on win32, bare form
elsewhere) in all four byte-identical registry-query.cjs copies, and point
their header comments at storage-slot.ts. Add a hook-vs-TS parity test over
device-name basenames on both stubbed platforms, and fix the byte-identity
test title to say four copies.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 08:20:53 +00:00
..
antigravity feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00
claude fix(hooks): prefix Windows device names with an extension in hook slot names (#3374) 2026-09-25 08:20:53 +00:00