fix(skills): detect prepush hooks before running build/test/lint#8
Open
fix(skills): detect prepush hooks before running build/test/lint#8
Conversation
hs-verify and hs-ship now check for prepush hook configuration before redundantly running build/test/lint. If hooks already cover these checks, the manual run is skipped — git push enforces them. Clarifies that the primary value of hs-verify is manual E2E testing, which unit tests and hooks cannot cover. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Deploying hivespec with
|
| Latest commit: |
f3627cd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5efdc351.hivespec.pages.dev |
| Branch Preview URL: | https://fix-skip-redundant-build-tes.hivespec.pages.dev |
Evals verify that agents correctly detect prepush hooks (prek.toml) and skip redundant manual build/test/lint when hooks cover it, while still running manual checks when no hooks are configured. Test cases: - hs-verify: hook detection, no-hook fallback, E2E focus, evidence requirement - hs-ship: hook-aware verification gate, no-hook gate, pre-ship verification, risk classification Workspace template includes prek.toml for prepush hook simulation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- .gitignore: exclude .env, .agentv/results/, .agentv/cache.json - .agentv/targets.yaml: eval targets (gemini-flash, azure-llm, claude) Co-Authored-By: Claude Opus 4.6 <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
bun run build && bun run test && bun run lintgit pushenforces themContext
During issue #912 work on agentv, build/test/lint ran 3 times: once in hs-verify, once in hs-ship, and once via prepush hooks on
git push. The first two were unnecessary when hooks cover them.Test plan
🤖 Generated with Claude Code