Repository navigation
docs(agents): document the commit gate and test driver combos, add a pre-push hook - #302
Merged
Merged
Conversation
… hook Agents hand-built vitest driver env vars and hit fixed-port collisions between parallel runs. AGENTS.md now names the gate, the driver env vars, the single-file command and the ports a test run binds. A pre-push hook runs lint and type-check, wired by `pnpm install`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LouisHaftmann
added a commit
that referenced
this pull request
Oct 26, 2026
Port #302's commit gate and pre-push hook to the Cargo toolchain: the hook runs nightly rustfmt and clippy, and AGENTS.md documents the Rust test harness instead of vitest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
📝 Summary
Agents working in this repo kept rebuilding the same knowledge by hand. They worked out the
VITEST_DB_DRIVER/VITEST_STORAGE_DRIVERcombos from the CI workflow, collided with each other on the fixed test ports, and found Prettier failures in Markdown and YAML only by accident.AGENTS.mdnow documents the commit gate, how to run a single driver combo, and which ports a test run binds. A pre-push hook runs the fast gate (lint and type-check), andpnpm installwires it up.✅ Verification
git hook run pre-pushexits 0: lint passes in about 12s, and type-check passes.pnpm test:run tests/range-download.test.tspasses 10/10.🔍 Reviews
No reviews ran.
💥 Merge danger
Door: two-way
Blast Radius: contributors
pnpm installnow setscore.hooksPathin each clone, and the2>/dev/null;keeps the Docker build working without git.🤖 Generated with Claude Code