Skip to content

feat(#178): Add CI status awareness to QA verdict logic - #205

Merged
admarble merged 2 commits into
mainfrom
feature/178-feat-qa-add-ci-status-awareness-to-verdict-logic
Jan 30, 2026
Merged

admarble merged 2 commits into
mainfrom
feature/178-feat-qa-add-ci-status-awareness-to-verdict-logic

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

  • Add CI status checking to QA skill via gh pr checks command
  • Map CI states (success, failure, pending) to AC statuses (MET, NOT_MET, PENDING)
  • Integrate CI status into AC coverage table and verdict determination
  • When CI is pending, verdict becomes NEEDS_VERIFICATION instead of READY_FOR_MERGE
  • When no CI is configured, CI-related AC items are marked N/A

Test plan

  • Run /qa on an issue with a PR where CI is still running - verify verdict is NEEDS_VERIFICATION
  • Run /qa on an issue with a PR where CI has passed - verify CI-related AC marked MET
  • Run /qa on an issue with a PR where CI failed - verify CI-related AC marked NOT_MET
  • Run /qa on an issue without a PR - verify output shows "No PR exists yet"
  • Run /qa on a repo without CI configured - verify CI-related AC marked N/A

Closes #178

🤖 Generated with Claude Code

- Add `gh pr checks` to allowed-tools in QA skill
- Add Phase 1: CI Status Check section with detection and mapping logic
- Define CI status → AC status mapping (success→MET, failure→NOT_MET, pending→PENDING)
- Update AC Coverage table to include PENDING and N/A statuses
- Add CI Status section to output template
- Update verdict options to include NEEDS_VERIFICATION
- Document CI status impact on verdict in quality-gates.md
- Add CI-related AC detection patterns (tests pass in CI, CI passes, etc.)

Closes #178

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add 4 more CI-related AC patterns: workflow, checks pass, actions succeed, CI/CD
- Add error handling section for gh command failures
- Update regex pattern to match new terms

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@admarble
admarble merged commit b781f86 into main Jan 30, 2026
6 checks passed
@admarble
admarble deleted the feature/178-feat-qa-add-ci-status-awareness-to-verdict-logic branch January 30, 2026 22:39
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(qa): Add CI status awareness to verdict logic

1 participant