Pr Bug Test Automation Review
Reviews a bug-test-automation pull request: checks test quality and coverage, then posts review comments on the PR.
Parameters
Configured via customParams in the agent JSON or the project .dmtools/config.js (project values win).
autoStartMerge— whentrue, automatically trigger the merge workflow after an approving review.autoStartMergeConfigFile— agent config file used for the auto-started merge workflow.autoStartRework— whentrue, automatically trigger the rework workflow when the review asks for changes.autoStartReworkConfigFile— agent config file used for the auto-started rework workflow.checkOpenPR— whentrue, skip tickets that already have an open pull request for this work.removeLabel— label removed from the ticket after a successful run (idempotency cleanup).
Human doc: agents/docs/agents/pr_bug_test_automation_review.md
Attributes
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | pr_bug_test_automation_review.json |
| ContextId | pr_bug_test_automation_review |
| outputType | none |
| skipAIProcessing | true |
Prompt snapshot
Full prompt / instruction set: agents/snapshots/pr_bug_test_automation_review.md
Actions
preJSAction: checkWipLabel.js
Check WIP Label Pre-Action
- Source:
agents/js/checkWipLabel.js - Side effects:
- post Jira comment
- Parameters (customParams):
checkOpenPR
preCliJSAction: prepareTestPRForReview.js
Prepare Test PR For Review Action (preJSAction for test-automation review agents)
- Source:
agents/js/prepareTestPRForReview.js - Side effects:
- post Jira comment
- git push
postJSAction: postStoryTestAutomationReview.js
Post Story Test Automation Review Comments Action
- Source:
agents/js/postStoryTestAutomationReview.js - Side effects:
- remove label “sm_story_test_review_triggered”
- post Jira comment
- Parameters (customParams):
autoStartMergeautoStartMergeConfigFileautoStartReworkautoStartReworkConfigFileremoveLabel
LLM step
- outputType:
none - Prompt snapshot:
agents/snapshots/pr_bug_test_automation_review.md
Custom params
removeLabel:"sm_bug_test_review_triggered"checkOpenPR:trueautoStartMerge(used by JS action)autoStartMergeConfigFile(used by JS action)autoStartRework(used by JS action)autoStartReworkConfigFile(used by JS action)
Generated by js/agentDocGenerator.js