Repository navigation
fix(evals): isolate fixture repositories from inherited Git hooks - #769
Merged
Merged
Conversation
addyosmani
approved these changes
Nov 24, 2026
addyosmani
left a comment
Owner
There was a problem hiding this comment.
praise: a global pre-commit hook breaking fixture setup is a real trap, and scoping the override to the temp repo is right. Thanks, and sorry this sat for three weeks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A global
core.hooksPathwith a failing pre-commit hook prevents behavioral eval fixture setup. Setcore.hooksPath=/dev/nullonly in each temporary eval repository so baseline and subsequent agent commits are isolated from the user's hooks.The regression installs a failing hook through an isolated global Git config, checks both commits succeed, and verifies that global config is unchanged. It fails before the fix; all 89 eval-runner tests pass afterward.
Overlap check: no duplicate fix in the open PRs checked. Merges cleanly with #744 (skill-resource staging) and #455 (fixture symlinks). The five companion tooling fixes also merge cleanly together. Combined validation: 337 Node tests, all hook suites, repository validators, and 150 deterministic eval checks pass (100% rank-1, 97/97).
Tested locally on macOS / Node 25.9.0; hosted platform checks remain separate. No paid behavioral model calls. AI-assisted with Codex.