Skip to content

feat: add optional QA agent second invocation after developer commit#23

Merged
ryanbonial merged 1 commit into
mainfrom
feature/031-add-optional-qa-agent
Mar 27, 2026
Merged

feat: add optional QA agent second invocation after developer commit#23
ryanbonial merged 1 commit into
mainfrom
feature/031-add-optional-qa-agent

Conversation

@ryanbonial
Copy link
Copy Markdown
Owner

Implements Feature 031: after the developer agent commits and quality gates pass, Ralph conditionally invokes a second QA agent that evaluates the feature from a user perspective without reading source files.

  • ENABLE_QA_AGENT config flag (default: true) controls the second pass
  • QA agent reads only PRD feature spec and qa-knowledge.md (no source)
  • QA agent writes a manual E2E test script before any evaluation
  • On pass: appends structured entry to .ralph/qa-knowledge.md
  • On fail: creates symptom-only bug ticket in prd.json for next iteration
  • ENABLE_QA_AGENT=false skips QA entirely, preserving baseline behavior
  • QA_AGENT_PROMPT.md provides the agent contract and instructions
  • 32 new tests in tests/ralph-qa-agent-loop.bats (all passing)

Implements Feature 031: after the developer agent commits and quality
gates pass, Ralph conditionally invokes a second QA agent that evaluates
the feature from a user perspective without reading source files.

- ENABLE_QA_AGENT config flag (default: true) controls the second pass
- QA agent reads only PRD feature spec and qa-knowledge.md (no source)
- QA agent writes a manual E2E test script before any evaluation
- On pass: appends structured entry to .ralph/qa-knowledge.md
- On fail: creates symptom-only bug ticket in prd.json for next iteration
- ENABLE_QA_AGENT=false skips QA entirely, preserving baseline behavior
- QA_AGENT_PROMPT.md provides the agent contract and instructions
- 32 new tests in tests/ralph-qa-agent-loop.bats (all passing)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ryanbonial ryanbonial merged commit 77bffd0 into main Mar 27, 2026
1 check passed
@ryanbonial ryanbonial deleted the feature/031-add-optional-qa-agent branch March 27, 2026 23:22
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.

1 participant