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

AttributeValue
JobTeammate
Configbug_done_check.json
ContextIdbug_done_check
outputTypenone
skipAIProcessingtrue

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

View the agent config on GitHub →

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