Repository navigation
fix(#1345): Claude Code ≥2.1.286 tells Claude to run any project skill named verify before every commit — Sequant's verify expects an issue number and posts to GitHub - #1347
Merged
admarble merged 6 commits intoOct 6, 2026
Conversation
Entire-Checkpoint: 1075e1581562
…og lines naming a shipped skill Entire-Checkpoint: bde029a0db11
1 of 5 tasks
…it calls; /upstream gets a name-collision category Phase agents other than verify are detected through SEQUANT_PHASE (pre-approved printenv), so /verify <N> from an exec agent no longer runs. The shipped skill list resolves from the bundled templates and warns when empty. Name collisions get their own category instead of reusing breaking. ADR-0009 back to Proposed. Claude-Session: https://claude.ai/code/session_01XUpiitdgsZzRtkZh6VNJeZ Entire-Checkpoint: 2513d4ccab29
…y field Assessments are built in memory and never read back from disk, so the field is always present. Claude-Session: https://claude.ai/code/session_01XUpiitdgsZzRtkZh6VNJeZ Entire-Checkpoint: 00a97e0d58e7
Claude-Session: https://claude.ai/code/session_01XUpiitdgsZzRtkZh6VNJeZ Entire-Checkpoint: 889fc69d7c04
Claude-Session: https://claude.ai/code/session_01XUpiitdgsZzRtkZh6VNJeZ Entire-Checkpoint: f970c7bba120
admarble
deleted the
feature/1345-fix-skills-claude-code-2-1-286-tells-claude-to-run
branch
October 6, 2026 23:51
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
Claude Code ≥ 2.1.286 tells Claude to run any project skill named
verifyright before committing. Sequant copies itsverifyskill into every project, and that skill expects an issue number and posts to GitHub. This PR keeps the name and makes pre-commit invocations a no-op./verifyreturns a one-line no-op, doing nothing else, in three cases:printenv SEQUANT_PHASE, which is pre-approved inallowed-toolsand set byphase-executor.tsfor every phase. Any value other thanverifymeans the commit guidance triggered it, so the no-op holds even with an issue number. This covers the/verify <N>gap from the first pass./verifyin the conversation. This relies on the model's own account of why it is invoking the skill, so it is measured, not tested.A
/verify <N>a user asks for, and the verify phase (SEQUANT_PHASE=verify), run as before. The guard is mirrored to.claude/skills,templates/skillsandplugin/skills./upstreamgets aname-collisioncategory. Changelog lines that name a shipped skill in backticks or after "named" are high impact, always issue-worthy, and get their own row in the report. They no longer reuse the "breaking" label.The shipped skill list no longer switches off silently. It resolves from the bundled templates (
getTemplatesDir()), not the cwd. The default baseline fills it too, and an empty list logs a warning.ADR-0009 records the design, status Proposed until the owner accepts it.
Refs #1345. Not
Fixes: AC-1 and AC-2 are not met as written, so merging should not close the issue. It stays open for the AC rewrite and the interactive measurement. Switch toFixesif you would rather close it and file a follow-up.AC status (runner-verified)
claude -p, Claude Code ≥ 2.1.286, unguarded skill) had "run/verifyright before thecommitcommand" in its context, made 2 non-docs commits, and called 0/verifyand 0gh issue comment. n = 1 run. Interactive sessions are not measured.src/lib/verify-skill-guard.integration.test.tslint:skill-sync(48 synced) andlint:skill-calls(no violations) passsrc/lib/upstream/__tests__/relevance.test.tsTests: full suite, 375 files, 9,044 passed, 1 expected fail, 3 skipped (run locally on the code in
42e2ef48; later commits are docs, a dead?? 0removal and formatting, re-checked withtscand the upstream and guard tests).tsc --noEmitclean.Mutation-verified: AC-3 — deleted the whole "Pre-commit invocations" guard section from templates/skills/verify/SKILL.md (re-run on the final guard text); src/lib/verify-skill-guard.integration.test.ts failed (the AC-3 case, plus the phase-check case that reads the same section); restored.
Mutation-verified: AC-2 (case 1 only) — removed the Bash(printenv SEQUANT_PHASE) allowed-tools entry from templates/skills/verify/SKILL.md; src/lib/verify-skill-guard.integration.test.ts failed (exactly the phase-check case); restored.
Mutation-verified: AC-5 — made analyzeChange fall back to categorizeChange instead of name-collision; src/lib/upstream/tests/relevance.test.ts failed; restored.
Mutation-verified: AC-5 — deleted the empty-list warning in listShippedSkillNames; src/lib/upstream/tests/relevance.test.ts failed; restored.
Still open (owner)
RefsvsFixes. This PR usesRefs #1345, so merging leaves the issue open.verifybefore every commit — Sequant's verify expects an issue number and posts to GitHub #1345. The before count is zero, so "zero comments after" proves nothing. Suggested: one interactive session that commits code with the skill installed, counting/verifycalls and comments, before and after this change./verify <N>on its own, the next step is a hook-level check, not more wording.🤖 Generated with Claude Code