Bug Test Automation Rework

Addresses reviewer threads on a bulk Bug regression test PR (test/{BUG_KEY}), updates test folders under testing/tests/{TC_KEY}/, re-verifies the bug fix, and pushes the reworked test branch.

Parameters

  • removeLabel — drops sm_bug_test_rework_triggered after the rework run.

  • checkOpenPR — ensures an open bug test PR is present.

  • testFilesGlob — glob filter for staged test files.

  • autoStartReview / autoStartReviewConfigFile — launches pr_bug_test_automation_review after pushing.

  • responseTarget: "scm" — outputs/response.md becomes the PR body/comment, so the output-format prompt is GitHub-Flavored Markdown even on Jira (conditions isResponseToScm.js / isResponseToTracker.js).

Human doc: agents/docs/agents/bug_test_automation_rework.md

Attributes

AttributeValue
JobTeammate
Configbug_test_automation_rework.json
ContextIdbug_test_automation_rework
outputTypenone
skipAIProcessingtrue

Prompt snapshot

Full prompt / instruction set: agents/snapshots/bug_test_automation_rework.md

Actions

preJSAction: checkWipLabel.js

Check WIP Label Pre-Action

  • Source: agents/js/checkWipLabel.js
  • Parameters (customParams):
    • branchCreateFnPath
    • checkOpenPR
    • dryRun

preCliJSAction: preCliStoryTestAutomationSetup.js

Pre-CLI Story Test Automation Setup Action

  • Source: agents/js/preCliStoryTestAutomationSetup.js
  • Writes:
    • input/<KEY>/merge_conflicts.md
    • input/<KEY>/review_policy.md
    • outputs/review_replies.json
  • Side effects:
    • git push
    • git checkout
  • Parameters (customParams):
    • allowApproveWithSuggestions
    • branchCreateFnPath
    • dryRun
    • importantBlocksApproval
    • maxReviewThreadsBeforeForceApprove
    • testFilesGlob

postJSAction: storyTestAutomationRework.js

Story Test Automation Rework Action

  • Source: agents/js/storyTestAutomationRework.js
  • Side effects:
    • remove label “story_test_automation_rework_wip” (via tracker)
    • remove label “bug_test_automation_rework_wip” (via tracker)
    • post ticket comment (via tracker)
    • move ticket to status (via tracker)
    • git push
    • git checkout
    • git merge
  • Parameters (customParams):
    • aiRepository
    • configPath
    • contentOutput
    • contentOutput.target
    • dryRun
    • localTeammate
    • projectKey
    • removeLabel
    • smFallback
    • trackerProvider

LLM step

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

Custom params

  • responseTarget: "scm"
  • removeLabel: "sm_bug_test_rework_triggered"
  • checkOpenPR: true
  • branchCreateFnPath (used by JS action)
  • dryRun (used by JS action)
  • allowApproveWithSuggestions (used by JS action)
  • importantBlocksApproval (used by JS action)
  • maxReviewThreadsBeforeForceApprove (used by JS action)
  • testFilesGlob (used by JS action)
  • aiRepository (used by JS action)
  • configPath (used by JS action)
  • contentOutput (used by JS action)
  • contentOutput.target (used by JS action)
  • localTeammate (used by JS action)
  • projectKey (used by JS action)
  • smFallback (used by JS action)
  • trackerProvider (used by JS action)

Generated by js/agentDocGenerator.js

View the agent config on GitHub →

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