Spaces:
Sleeping
Sleeping
Commit History
-
fix(gates): make reviewer-hash stage-invariant
Carryover from PBI_team_utils 5d75a2ad. Identical helper; see that commit for the full rationale (stage-invariant union-of-changes hash + core.quotepath=false for space/non-ASCII paths). Reviewer pass ran on the canonical commit in PBI_team_utils; this port is a byte-identical file copy.c612276 -
gates: sync to final DECODE hardening pattern
Brings this branch up to the version now on PBI_team_utils/master and icat_results/master. Closes gaps that were found by reviewer-subagent passes on those two repos. Hardening files (hook scripts, commit-msg gate, language-gate, setup, settings.json, gate.yml workflow, .gitignore) are byte-identical copies from PBI_team_utils/master. Kleo's icat_app-specific "## This repo" section in CLAUDE.md is preserved verbatim. Key closures vs the pre-fix version on this branch: - scripts/reviewer-hash.sh (new): hashes git diff HEAD + untracked file contents. Closes a real bypass where an agent could create a new file, pass the reviewer, then silently edit the new file — the marker would still validate because plain `git diff HEAD` misses untracked files. - .claude/hooks/ensure-setup.sh (new): SessionStart hook auto-wires core.hooksPath to .githooks on first Claude Code session. No one has to remember `bash scripts/setup.sh`. Idempotent, warns without overwriting if a conflicting ho…c2771d8