Skip to content

feat(#196): Shift-left gap detection in workflow phases - #211

Merged
admarble merged 1 commit into
mainfrom
feature/196-feat-shift-left-gap-detection-in-workflow-phases
Jan 31, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/196-feat-shift-left-gap-detection-in-workflow-phases

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

Strengthen earlier workflow phases to catch gaps when they occur, rather than discovering them at QA.

Principle: QA should validate, not discover. Gaps found at QA indicate earlier phase failures.

Changes

1. /exec: Pre-PR AC Verification (REQUIRED)

  • Before creating PR, verify each AC has been addressed
  • Generate AC verification table with status (✅ Implemented, ⚠️ Partial, ❌ Not addressed, 🔄 Deferred)
  • Include evidence (file:line or explanation) for each AC

2. /spec: Verification Method Decision Framework

  • Every AC MUST have explicit verification method (Unit Test, Integration Test, Browser Test, Manual Test)
  • Flag unclear AC items as "⚠️ UNCLEAR" and add to Open Questions
  • Include Given/When/Then test scenarios

3. /test: Coverage Analysis (REQUIRED)

  • Warn when new/modified files lack corresponding test files
  • Tier classification (Critical, Standard, UI/Browser, Config/Types)
  • Flag critical path changes without test coverage

Why This Matters

Approach Phase Cost to Fix
Catch at /exec Implementation Low
Catch at /test Testing Medium
Catch at /qa Review High
Catch post-merge Production Very High

Closes #196

🤖 Generated with Claude Code

Add gap detection checkpoints to /exec, /test, and /spec skills:

- /exec: Pre-PR AC Verification checkpoint before PR creation
  - Retrieves AC from workflow state
  - Generates verification table with implementation status
  - Flags missing/partial implementations

- /test: Test Coverage Analysis section (1.5)
  - Analyzes changed files for corresponding test coverage
  - Classifies changes by tier (critical, standard, UI)
  - Warns on missing tests for critical paths

- /spec: Verification Method requirement enforcement
  - Decision framework for choosing verification methods
  - Required fields with examples
  - Flags unclear AC with suggested refinements

Closes #196

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@admarble
admarble merged commit 44bf88e into main Jan 31, 2026
6 checks passed
@admarble
admarble deleted the feature/196-feat-shift-left-gap-detection-in-workflow-phases branch January 31, 2026 04:11
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.

feat: Shift-left gap detection in workflow phases

1 participant