Pr Bug Test Automation Review
Reviews the bulk test automation PR for a Bug (test/{BUG_KEY}), checking that every linked Test Case reproduces the bug and respects the layered testing/ architecture, then posts inline diff comments and a review verdict.
Parameters
-
removeLabel— clearssm_bug_test_review_triggeredafter posting the review. -
checkOpenPR— requires an open bug test PR. -
autoStartMerge/autoStartMergeConfigFile— dispatchesbug_test_automation_mergeonAPPROVE. -
autoStartRework/autoStartReworkConfigFile— dispatchesbug_test_automation_reworkonREQUEST_CHANGES. -
maxAutoReworkRounds— maximum auto-started rework rounds (rework-round-Non the ticket, default3) before the ticket is labeledneeds-humanand no further rework is chained. -
responseTarget:"scm"—outputs/response.mdbecomes the PR body/comment, so the output-format prompt is GitHub-Flavored Markdown even on Jira (conditionsisResponseToScm.js/isResponseToTracker.js).
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 - Parameters (customParams):
branchCreateFnPathcheckOpenPRdryRun
preCliJSAction: prepareTestPRForReview.js
Prepare Test PR For Review Action (preJSAction for test-automation review agents)
- Source:
agents/js/prepareTestPRForReview.js - Side effects:
- git push
- Parameters (customParams):
allowApproveWithSuggestionsbranchCreateFnPathdryRunimportantBlocksApprovalmaxReviewThreadsBeforeForceApprove
postJSAction: postStoryTestAutomationReview.js
Post Story Test Automation Review Comments Action
- Source:
agents/js/postStoryTestAutomationReview.js - Parameters (customParams):
aiRepositoryallowApproveWithSuggestionsautoStartMergeautoStartMergeConfigFileautoStartReworkautoStartReworkConfigFilecommentMarkupconfigPathcontentOutputcontentOutput.targetcustomStatusesdryRunformalGithubReviewimportantBlocksApprovallocalTeammatemaxAutoReworkRoundsmaxReviewThreadsBeforeForceApproveonApprovedprojectKeyremoveLabelreviewPolicyreviewPolicy.identitysmFallbacktrackerProvider
LLM step
- outputType:
none - Prompt snapshot:
agents/snapshots/pr_bug_test_automation_review.md
Custom params
responseTarget:"scm"removeLabel:"sm_bug_test_review_triggered"checkOpenPR:truebranchCreateFnPath(used by JS action)dryRun(used by JS action)allowApproveWithSuggestions(used by JS action)importantBlocksApproval(used by JS action)maxReviewThreadsBeforeForceApprove(used by JS action)aiRepository(used by JS action)autoStartMerge(used by JS action)autoStartMergeConfigFile(used by JS action)autoStartRework(used by JS action)autoStartReworkConfigFile(used by JS action)commentMarkup(used by JS action)configPath(used by JS action)contentOutput(used by JS action)contentOutput.target(used by JS action)customStatuses(used by JS action)formalGithubReview(used by JS action)localTeammate(used by JS action)maxAutoReworkRounds(used by JS action)onApproved(used by JS action)projectKey(used by JS action)reviewPolicy(used by JS action)reviewPolicy.identity(used by JS action)smFallback(used by JS action)trackerProvider(used by JS action)
Generated by js/agentDocGenerator.js