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— whentrue, 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
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | bug_fix_batch_development.json |
| ContextId | bug_fix_batch_development |
| outputType | none |
| skipAIProcessing | true |
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