Skip to content

fix(#1276): /qa §6i counts changed CI workflow files as gate-test files - #1290

Merged
admarble merged 4 commits into
mainfrom
feature/1276-fix-qa-6i-mutation-markers-naming-a-ci-workflow-st
Oct 3, 2026
Merged

admarble merged 4 commits into
mainfrom
feature/1276-fix-qa-6i-mutation-markers-naming-a-ci-workflow-st

Conversation

@admarble

@admarble admarble commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

/qa §6i built its list of diff test files with grep -E '\.(test|spec)\.'. A gate test that runs as a CI workflow step could therefore never classify valid, and its SEQUANT_MUTATION marker floored the verdict at AC_NOT_MET as test_not_in_diff. The list now also includes changed .github/workflows/*.yml / *.yaml files, in all four skill copies (.claude/skills is canonical; templates/, skills/ and plugin/ come from npm run sync:skills). The Verified/Failed criteria in the table now say "test or CI workflow file". classifyMutationMarker is unchanged.

Fixes #1276

AC

  • AC-1: §6i's diff-file command includes the workflow pattern in all copies. grep -n "github/workflows" skills/qa/SKILL.md .claude/skills/qa/SKILL.md templates/skills/qa/SKILL.md matches the §6i command in each (plugin/skills too). npm run lint:skill-sync reports 47 synced, 0 diverged.
  • AC-2: src/lib/workflow/mutation-marker-6i-skill.integration.test.ts takes the ERE out of §6i (scoped to §6i, not the whole file) in each of the four copies and runs it through grep -E against sample --name-only output. Its cases assert:
    • a workflow-file marker present in the list classifies valid;
    • the same marker with the file absent classifies test_not_in_diff.

Mutation-verified: AC-2 — removed the |^\.github/workflows/.*\.ya?ml$ alternative from the §6i diff-file grep (synced to all copies); src/lib/workflow/mutation-marker-6i-skill.integration.test.ts > /qa §6i diff-file list (#1276) > .claude/skills > classifies a workflow-step marker valid when the file is in the list failed (8 of 12 tests failed: the "kept" and "valid" cases in each copy); restored.

Test plan

  • npx vitest run src/lib/workflow/mutation-marker-6i-skill.integration.test.ts src/lib/workflow/mutation-marker.test.ts: 27/27 pass
  • npm run lint:skill-sync, npm run lint:skill-calls, npx tsc --noEmit: clean
  • Full suite: CI

Runner notes

  • The runner added these fixes after QA: the changelog ### Fixed entry now sits after ### Added with a blank line, and the §6i "Failed" row names workflow files.
  • The §6i deleted_tests count (:1237) still counts test files only, on purpose.

🤖 Generated with Claude Code

@admarble admarble changed the title fix(#1276): §6i mutation markers naming a CI workflow step always classify test_not_in_diff — the diff list only greps .test./.spec. files fix(#1276): /qa §6i counts changed CI workflow files as gate-test files Oct 3, 2026
@admarble
admarble merged commit 3dd47c0 into main Oct 3, 2026
11 checks passed
@admarble
admarble deleted the feature/1276-fix-qa-6i-mutation-markers-naming-a-ci-workflow-st branch October 3, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(qa): §6i mutation markers naming a CI workflow step always classify test_not_in_diff — the diff list only greps .test./.spec. files

1 participant