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
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | story_done_check.json |
| ContextId | story_done_check |
| outputType | none |
| skipAIProcessing | true |
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):
customStatusesremoveLabel
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