clawdie-ai/hooks
Operator & zAI cf9e05b270 fix(hooks): make pre-commit sed portable across BSD and GNU
The README auto-version step used 'sed -i ""' which is BSD-only
syntax. On Linux (GNU sed), -i '' creates a file literally named ''
instead of editing in-place, breaking every Linux agent's commits.

Replace with stdin→stdout through a temp file, which works on both
BSD and GNU sed without probing the platform.

Note: the version-matching regex itself did not change — it still
targets the backtick-delimited version line under ## Current Release.
If the README format has drifted (e.g. date suffix after the closing
backtick), that is a separate issue for Codex to address.

---
Build: pass | Tests: pass — 1812 passed (115 files)

---
Build: pass | Tests: pass — Tests  1812 passed (1812)
2026-04-24 21:36:52 +02:00
..
pre-commit fix(hooks): make pre-commit sed portable across BSD and GNU 2026-04-24 21:36:52 +02:00
prepare-commit-msg hooks: log test results to logs/test-runs.log with dd.mmm.yyyy timestamps 2026-03-14 20:51:34 +00:00