You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem\n\nGit exports repository-local GIT_* variables to pre-push hooks. The current hook forwards that environment into Vitest, contaminating tests and examples that create or access temporary repositories. The same unit suite passes standalone but fails under git push with fatal: not a git repository, fatal: not in a git directory, and downstream EPIPE errors.\n\n## Required fix\n\n- Clear variables reported by git rev-parse --local-env-vars before launching lint/tests.\n- Keep the quality gates enabled; do not bypass the hook.\n- Add a regression contract for the hook boundary.\n- Demonstrate a normal push with the full hook passing.\n\n## Acceptance criteria\n\n- [ ] Hook sanitizes repository-local Git variables before child commands.\n- [ ] Focused regression and previously failing Git-backed tests pass.\n- [ ] Normal git push completes with lint and the full unit suite enabled.\n
Problem\n\nGit exports repository-local
GIT_*variables to pre-push hooks. The current hook forwards that environment into Vitest, contaminating tests and examples that create or access temporary repositories. The same unit suite passes standalone but fails undergit pushwithfatal: not a git repository,fatal: not in a git directory, and downstream EPIPE errors.\n\n## Required fix\n\n- Clear variables reported bygit rev-parse --local-env-varsbefore launching lint/tests.\n- Keep the quality gates enabled; do not bypass the hook.\n- Add a regression contract for the hook boundary.\n- Demonstrate a normal push with the full hook passing.\n\n## Acceptance criteria\n\n- [ ] Hook sanitizes repository-local Git variables before child commands.\n- [ ] Focused regression and previously failing Git-backed tests pass.\n- [ ] Normalgit pushcompletes with lint and the full unit suite enabled.\n