Discovery
Runs continuous product discovery for a ticket and publishes the result as a Confluence page tree; on later runs it iterates on the existing pages and answers reviewer inline comments.
Parameters
Configured via customParams in the agent JSON or the project .dmtools/config.js.
feedbackLoop— closes the loop after the post action: whenfeedbackLoop.postAction.enabledistrue, reviewer answers posted after publication are re-read and the page tree is refined, at mostfeedbackLoop.postAction.maxAttemptstimes per ticket.contentOutput— output routing (target:'confluence'), ensuringcliPromptsByTracker.confluenceloads the discovery Confluence inline-comments contract.
Human doc: agents/docs/agents/discovery.md
Attributes
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | discovery.json |
| ContextId | — |
| outputType | none |
| skipAIProcessing | true |
Prompt snapshot
Full prompt / instruction set: agents/snapshots/discovery.md
Actions
preJSAction: requireTicket.js
Require Ticket Pre-Action
- Source:
agents/js/requireTicket.js - No detected file I/O or side effects.
preCliJSAction: prepareDiscoveryContext.js
Prepare Discovery Context — preCliJSAction for the discovery agent.
- Source:
agents/js/prepareDiscoveryContext.js - Writes:
input/<KEY>/input/<KEY>/discovery_meta.json
- Parameters (customParams):
contentOutput
postJSAction: publishDiscoveryToConfluence.js
Publish Discovery To Confluence — postJSAction for the discovery agent.
- Source:
agents/js/publishDiscoveryToConfluence.js - Side effects:
- post ticket comment (via tracker)
- Parameters (customParams):
contentOutputfeedbackLoopproviderTransientBackoffSectrackerProvider
LLM step
- outputType:
none - Prompt snapshot:
agents/snapshots/discovery.md
Custom params
-
feedbackLoop:{ "postAction": { "enabled": true, "maxAttempts": 1 } } -
contentOutput:{ "target": "confluence" } -
providerTransientBackoffSec(used by JS action) -
trackerProvider(used by JS action)
Generated by js/agentDocGenerator.js