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 — when true, automatically trigger the merge workflow after an approving review.
  • autoStartMergeConfigFile — agent config file used for the auto-started merge workflow.
  • autoStartRework — when true, automatically trigger the rework workflow when the review asks for changes.
  • autoStartReworkConfigFile — agent config file used for the auto-started rework workflow.
  • checkOpenPR — when true, 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

AttributeValue
JobTeammate
Configpr_bug_test_automation_review.json
ContextIdpr_bug_test_automation_review
outputTypenone
skipAIProcessingtrue

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):
    • autoStartMerge
    • autoStartMergeConfigFile
    • autoStartRework
    • autoStartReworkConfigFile
    • removeLabel

LLM step

  • outputType: none
  • Prompt snapshot: agents/snapshots/pr_bug_test_automation_review.md

Custom params

  • removeLabel: "sm_bug_test_review_triggered"
  • checkOpenPR: true
  • autoStartMerge (used by JS action)
  • autoStartMergeConfigFile (used by JS action)
  • autoStartRework (used by JS action)
  • autoStartReworkConfigFile (used by JS action)

Generated by js/agentDocGenerator.js

View the agent config on GitHub →

Generated from pr_bug_test_automation_review.json in the agents repository and its human doc — edit either and the page follows. Last updated .