Pr Story Test Automation Review
Reviews a Story bulk test automation PR (test/{STORY_KEY}) against the Story’s Acceptance Criteria and linked Test Cases, posting diff-anchored review threads (outputs/pr_review.json) and an approval or rework verdict.
Parameters
-
removeLabel— removessm_story_test_review_triggeredonce the review completes. -
checkOpenPR— verifies an open story test PR exists. -
autoStartMerge/autoStartMergeConfigFile— triggersstory_test_automation_mergewhen approved. -
autoStartRework/autoStartReworkConfigFile— triggersstory_test_automation_reworkwhen changes are requested. -
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_story_test_automation_review.md
Attributes
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | pr_story_test_automation_review.json |
| ContextId | pr_story_test_automation_review |
| outputType | none |
| skipAIProcessing | true |
Prompt snapshot
Full prompt / instruction set: agents/snapshots/pr_story_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_story_test_automation_review.md
Custom params
responseTarget:"scm"removeLabel:"sm_story_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