Skip to content

fix(evals): isolate fixture repositories from inherited Git hooks - #769

Merged
addyosmani merged 1 commit into
addyosmani:mainfrom
ayobamiseun:fix/eval-hook-isolation
Nov 24, 2026
Merged

addyosmani merged 1 commit into
addyosmani:mainfrom
ayobamiseun:fix/eval-hook-isolation

Conversation

@ayobamiseun

Copy link
Copy Markdown
Contributor

A global core.hooksPath with a failing pre-commit hook prevents behavioral eval fixture setup. Set core.hooksPath=/dev/null only 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.

@addyosmani addyosmani left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@addyosmani
addyosmani merged commit 99820a9 into addyosmani:main Nov 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants