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: when feedbackLoop.postAction.enabled is true, reviewer answers posted after publication are re-read and the page tree is refined, at most feedbackLoop.postAction.maxAttempts times per ticket.

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

Attributes

AttributeValue
JobTeammate
Configdiscovery.json
ContextId—
outputTypenone
skipAIProcessingtrue

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>/discovery_meta.json

postJSAction: publishDiscoveryToConfluence.js

Publish Discovery To Confluence — postJSAction for the discovery agent.

  • Source: agents/js/publishDiscoveryToConfluence.js
  • Side effects:
    • post ticket comment (via tracker)

LLM step

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

Custom params

  • feedbackLoop:

    {
      "postAction": {
        "enabled": true,
        "maxAttempts": 1
      }
    }

Generated by js/agentDocGenerator.js