Bug Fix Batch Development

Fixes a whole batch of related bugs in one branch: reads the batch epic context, implements all fixes with tests, and opens a single pull request.

Parameters

Configured via customParams in the agent JSON or the project .dmtools/config.js (project values win).

  • 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/bug_fix_batch_development.md

Attributes

AttributeValue
JobTeammate
Configbug_fix_batch_development.json
ContextIdbug_fix_batch_development
outputTypenone
skipAIProcessingtrue

Prompt snapshot

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

Actions

preJSAction: checkWipLabel.js

Check WIP Label Pre-Action

  • Source: agents/js/checkWipLabel.js
  • Side effects:
    • post Jira comment
  • Parameters (customParams):
    • checkOpenPR

preCliJSAction: prepareBugFixBatchContext.js

Pre-CLI Bug-fix Batch Context Action

  • Source: agents/js/prepareBugFixBatchContext.js
  • No detected file I/O or side effects.

postJSAction: developBugFixBatchAndCreatePR.js

Post-CLI Bug-fix Batch Development Action

  • Source: agents/js/developBugFixBatchAndCreatePR.js
  • Side effects:
    • post Jira comment

LLM step

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

Custom params

  • removeLabel: "sm_bug_fix_batch_development_triggered"
  • checkOpenPR (used by JS action)

Generated by js/agentDocGenerator.js

View the agent config on GitHub →

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