hooks: recognise pre-commit's wrapper however it quotes --hook-type
Commit

Detection required the Bash template's --hook-type=<hook>), so pre-commit
2.x's Python wrapper ('--hook-type=<hook>') and a wrapper installed with
--skip-on-missing-config were not recognised. Entire then backed the wrapper
up while its own hook stayed in .legacy, and the chain called itself. The
option is now matched as a whole token in either form; tests run the reclaimed
chain through both templates.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M47DK6F2HHEQZSSX951R7T4J
Checkpoints
Checkpoint 1