Bug Done Check
Verifies that a bug can move to Done: checks that linked tests passed and the fix PR merged, then transitions the ticket or reports what is missing.
Parameters
Configured via customParams in the agent JSON or the project .dmtools/config.js (project values win).
removeLabel— label removed from the ticket after a successful run (idempotency cleanup).
Human doc: agents/docs/agents/bug_done_check.md
Attributes
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | bug_done_check.json |
| ContextId | bug_done_check |
| outputType | none |
| skipAIProcessing | true |
Prompt snapshot
Full prompt / instruction set: agents/snapshots/bug_done_check.md
Actions
postJSAction: checkBugTestsPassed.js
Check Bug Tests Passed — postJSAction for bug_done_check agent.
- Source:
agents/js/checkBugTestsPassed.js - Side effects:
- add label “sm_bug_rework_attempted”
- remove label “sm_bug_rework_attempted”
- post Jira comment
- Parameters (customParams):
removeLabel
LLM step
- outputType:
none - Prompt snapshot:
agents/snapshots/bug_done_check.md
Custom params
removeLabel:"sm_bug_done_check_triggered"
Generated by js/agentDocGenerator.js