Wiki Publisher
Generic, tracker- and wiki-agnostic base agent that turns a work item’s prepared context into one wiki page: it reads the input bundle (input/<KEY>/), writes the page as GitHub-flavored Markdown to outputs/response.md, and the post-action syncs it to the wiki (Confluence via the dmtools Markdown sync today) and posts the page link back to the originating ticket on Jira, Azure DevOps, or GitHub Issues.
Consuming repos specialize it through "parent" inheritance (merging project skill files onto params.cliPrompts) rather than forking the config; the base agent itself contains zero domain rules.
Parameters
Configured via customParams in the agent JSON or the project .dmtools/config.js; child configs override per key.
contentOutput— publish routing:target(wiki— alias ofconfluence),space,parentPageId,pageTitleSuffix(page title becomes<KEY> <Summary> — <pageTitleSuffix>),updateTrackerField(defaultfalsehere — the wiki target writes no tracker fields),operationType,includeInlineComments.removeLabel— SM idempotency label dropped once the agent runs (sm_wiki_publisher_triggered).
Human doc: agents/docs/agents/wiki_publisher.md
Attributes
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | wiki_publisher.json |
| ContextId | wiki_publisher |
| outputType | none |
| skipAIProcessing | true |
Prompt snapshot
Full prompt / instruction set: agents/snapshots/wiki_publisher.md
Actions
preJSAction: requireTicket.js
Require Ticket Pre-Action
- Source:
agents/js/requireTicket.js - No detected file I/O or side effects.
preCliJSAction: preCliContentOutputSetup.js
Pre-CLI Content Output Setup — shared pre-action for content-generating
- Source:
agents/js/preCliContentOutputSetup.js - Parameters (customParams):
childQuestionscontentOutputcontextsfieldsjqlparentContextFetch
postJSAction: writeContentOutput.js
Write Content Output — unified post-action for content-generating agents
- Source:
agents/js/writeContentOutput.js - Side effects:
- post ticket comment (via tracker)
- Parameters (customParams):
contentOutputtrackerProvider
LLM step
- outputType:
none - Prompt snapshot:
agents/snapshots/wiki_publisher.md
Custom params
-
removeLabel:"sm_wiki_publisher_triggered" -
contentOutput:{ "target": "wiki", "updateTrackerField": false } -
childQuestions(used by JS action) -
contexts(used by JS action) -
fields(used by JS action) -
jql(used by JS action) -
parentContextFetch(used by JS action) -
trackerProvider(used by JS action)
Generated by js/agentDocGenerator.js