This page is the public advanced reference for how DocMason organizes its commands, workflows, and adapter-facing contracts.
DocMason exposes three public execution surfaces:
- supported host-agent entry through canonical
ask - stable public CLI for deterministic operations
- canonical workflow metadata and generated adapter routing for explicit advanced use
The public CLI includes:
docmason preparedocmason doctordocmason statusdocmason syncdocmason retrievedocmason tracedocmason validate-kbdocmason sync-adaptersdocmason update-coredocmason workflow
docmason workflow is an advanced execution surface for explicit workflow-level invocation.
Direct operator tools do not replace canonical ask for ordinary questions.
ask
ask is the only natural-language front door for ordinary business questions inside a valid workspace.
Compatible hosts should open canonical ask rather than stitching together side paths.
workspace-bootstrapworkspace-doctorworkspace-statusknowledge-base-syncruntime-log-reviewadapter-sync
Use these only when the user is explicitly asking for setup, status, sync, review, or adapter maintenance work.
grounded-answergrounded-compositionretrieval-workflowprovenance-traceknowledge-constructionvalidation-repair
These workflows exist so the main agent can do governed work without turning every user into a workflow operator. Ordinary users should not need to name them first.
retrieveandtraceare legal operator evidence tools- they do not replace canonical
ask docmason workflowis useful only when the operator already knows the exact workflow to run- generated adapters may restate routing hints, but they do not replace canonical surfaces
The public execution contract is layered deliberately:
AGENTS.mdfor first-contact routing- canonical
SKILL.mdfiles for workflow contracts workflow.jsonsidecars for lightweight execution metadata- generated adapters as translations of canonical truth
workflow.json exists to help adapters and future routers with metadata such as read-only versus mutating behavior, safe parallelism hints, or expected artifacts.
It is not a second authored workflow contract.
Local-Only And Hidden Surfaces
DocMason may still contain hidden or maintenance-only workflows.
They are not public first-contact routes and should never be advertised as the normal path for ordinary users.
The current operator-eval surface is in this bucket.
- no alternate ordinary natural-language front door
- no public
docmason answer - no public
docmason eval - no expectation that reading private design notes or implementation code is required before using the product