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.7dd405a -
harden(gates): port PBI_team_utils reviewer-pass fixes and policy calls
Same set landed on PBI_team_utils in commits 354514d2 + f9025353. Ports here to keep the two repos' hardening in sync. Bug fixes (carryover from reviewer subagent findings on PBI_team_utils): - NEW scripts/reviewer-hash.sh: hashes `git diff HEAD` + untracked file contents. Closes a real bypass — the original design hashed only `git diff HEAD`, which excludes untracked files, so an agent could create-new-file, pass the reviewer, then silently edit the new file and the marker would still validate. - .claude/hooks/reviewer-stop.sh: use the helper; absolute \$REPO_ROOT paths for MARKER and HASH_SCRIPT (matches commit-msg style); --diff-filter ACMR (not ACMRD) so pure deletions do not trigger the reviewer. - .githooks/commit-msg: use the helper. - .claude/hooks/block-dangerous-git.sh: \$CLAUDE_PROJECT_DIR-anchored tier detection (prevents subdirectory cwd from silently downgrading product to data tier); expanded branch-delete coverage from 3 to 11 realistic force-delete…8b5bb46
-
feat(claude-code): add DECODE hardening
56f9a19