Retry Merge
Retries a pull request merge that previously failed (for example due to temporary CI flakiness) and reports the outcome.
Parameters
Configured via customParams in the agent JSON or the project .dmtools/config.js (project values win).
autoStartRework— whentrue, automatically trigger the rework workflow when the review asks for changes.autoStartReworkConfigFile— agent config file used for the auto-started rework workflow.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).testCaseMerge— merge behavior overrides specific to test-case automation PRs.
Human doc: agents/docs/agents/retry_merge.md
Attributes
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | retry_merge.json |
| ContextId | retry_merge |
| outputType | none |
| skipAIProcessing | true |
Prompt snapshot
Full prompt / instruction set: agents/snapshots/retry_merge.md
Actions
preJSAction: checkWipLabel.js
Check WIP Label Pre-Action
- Source:
agents/js/checkWipLabel.js - Side effects:
- post Jira comment
- Parameters (customParams):
checkOpenPR
postJSAction: retryMergePR.js
retryMergePR.js
- Source:
agents/js/retryMergePR.js - Side effects:
- post Jira comment
- Parameters (customParams):
autoStartReworkautoStartReworkConfigFileremoveLabeltestCaseMerge
LLM step
- outputType:
none - Prompt snapshot:
agents/snapshots/retry_merge.md
Custom params
removeLabel:"sm_pr_merge_triggered"checkOpenPR:trueautoStartRework(used by JS action)autoStartReworkConfigFile(used by JS action)testCaseMerge(used by JS action)
Generated by js/agentDocGenerator.js