Story Done Check

Verifies that a story can move to Done: checks that tests passed and PRs 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).

  • customStatuses — status name overrides for this workflow (maps logical statuses to project-specific names).
  • removeLabel — label removed from the ticket after a successful run (idempotency cleanup).

Human doc: agents/docs/agents/story_done_check.md

Attributes

AttributeValue
JobTeammate
Configstory_done_check.json
ContextIdstory_done_check
outputTypenone
skipAIProcessingtrue

Prompt snapshot

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

Actions

postJSAction: checkStoryTestsPassed.js

Check Story Tests Passed — postJSAction for story_done_check agent.

  • Source: agents/js/checkStoryTestsPassed.js
  • Side effects:
    • post Jira comment
  • Parameters (customParams):
    • customStatuses
    • removeLabel

LLM step

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

Custom params

  • removeLabel: "sm_story_done_check_triggered"
  • customStatuses (used by JS action)

Generated by js/agentDocGenerator.js

View the agent config on GitHub →

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