Summary
Makes post-edit hooks faster and quieter. Formatting/linting now focuses on edited files, while focused tests run at agent-stop time instead of after every file edit.
New
- Focused formatter mode for edited files.
- Compact linter and test output for agent feedback loops.
- Project fallback support through package scripts and Makefile targets.
.nohooks-projectopt-out file for project-level hook fallbacks.
Changed
- Post-edit hooks now run lint/format work only; focused tests moved to agent-stop.
- Python checks use compact Pyright JSON parsing and filter noisy
reportMissingImportsdiagnostics. - Pytest runs with
--maxfail=1 --tb=shortfor faster, smaller failures. - Go tests run with
go test -failfastand no default verbose output. - JavaScript focused tests prefer Vitest
related ... --runand Jest--findRelatedTests. - Removed default
npx/bunxexecution from post-edit hooks. Local tools, package scripts, and Makefile fallbacks are used instead.
Controls
SKIP_LINT=1disables lint hooks.SKIP_TESTS=1disables test hooks.HOOK_PROJECT_FALLBACK=0disables package-script and Makefile fallback work.TEST_RUNNER_FULL=1explicitly allows project-wide test fallback.
Impact
- Faster feedback during editing.
- Less noisy hook output for agents.
- Fewer surprise full-project test runs.