Repository navigation
Conversation
- AC-1: widen separator regex to /[.\n:—]/ in detectTitleBodyTension - AC-3: stem-aware suffix tolerance for runtime imperatives so triggered/triggering/captured/capturing all warn - AC-2: replace paraphrased #562 AC-5 fixture with verbatim source - AC-4: add three new fixtures (colon separator, em-dash separator, inflected captured/triggered) - AC-5: SKILL.md AC Quality Check row mentions broadened separators and inflections; mirrored across .claude/skills/, skills/, templates/skills/
5 tasks
- Add negative fixture for `Implementation: trigger workflow` (Risks section sanity check; confirms DOC_NOUNS Non-Goal). - Add slash-command-body fixtures for the new colon and em-dash separators (exercise RUN_SLASH_RE arm independently of inflections). - Reword verbatim-fixture comment to match reality (#562 AC-5 is single-line; the test bypasses parseAcceptanceCriteria for isolation, not for #597's multi-line Non-Goal).
…-ac-linter-title-body-tension-coverage-ti # Conflicts: # CHANGELOG.md
admarble
deleted the
feature/597-feat-spec-ac-linter-title-body-tension-coverage-ti
branch
May 9, 2026 03:30
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
Follow-up to #571 / #586. Tightens three confirmed false-negative classes in
detectTitleBodyTension:detectTitleBodyTensionnow splits on/[.\n:—]/(period, newline, colon, em-dash). CatchesDocumentation note: trigger /fullsolve and capture outputandDoc snippet — trigger workflow and capture output, both of which previously passed silently.RUNTIME_IMPERATIVES.find()callback:\b<stem>(?:s|ed|ing)?\bfor non-e-ending verbs,\b<stem>(?:e|es|ed|ing)\bfore-ending verbs (socapturing/reproducingalso match, not justcaptured/reproduced). Multi-word phrases (verify by running,confirm at runtime) keep literal\b<phrase>\bmatching.src/lib/ac-linter.test.tsnow uses the literal multi-line description string from the issue body, bypassingparseAcceptanceCriteria(per feat(spec): ac-linter title/body tension — coverage tightening #597 Non-Goals — parser multi-line drop is a separate concern).it(...)blocks for colon separator, em-dash separator, and inflectedcaptured/triggered.Title/body tensionrow in.claude/skills/spec/SKILL.md,skills/spec/SKILL.md, andtemplates/skills/spec/SKILL.mdnow mentions broadened separators (./\n/:/—) and inflections (triggered/captured). All three mirrors verified byte-identical.Pre-PR AC Verification
/[.\n:—]/src/lib/ac-linter.ts:318src/lib/ac-linter.test.ts:228-243src/lib/ac-linter.ts:333-342(stem-aware: handles inflections AND-eending verbs' gerunds, exceeding the spec's(?:s|ed|ing|d)?recommendation)src/lib/ac-linter.test.ts:246-282.claude/skills/spec/SKILL.md:89+ 2 mirrors (verified byte-identical)Test plan
npx vitest run src/lib/ac-linter.test.ts— 42 passed (was 39, +3 new fixtures)npm run build— cleannpm run lint— cleandiffbetween three SKILL.md mirrors — empty/qa 597Quality Plan Alignment
N/A — issue body included no
Feature Quality Planningsection. Spec comment'sFeature Quality Planningnotes were honored: AC-2 fixture comment explicitly calls out parser bypass; sibling-site scan inac-linter.tsconfirmed no other code paths share the title/body split logic.Closes #597