Write change document
change_docWrite or append a stage document (proposal, spec, design, or notes) for a change, storing it in the workspace and returning the path and existing stage documents.
Instructions
Write one stage document of a change: proposal, spec, design or notes. By default the document is replaced; with append: true the new content is appended after a blank line. Documents live under /.workspace-mcp/changes//.md and can be written in any order, on demand. Returns the workspace-relative path and which stage documents exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | Yes | Document stage: proposal (why/scope), spec (requirements), design (how), or notes (scratchpad). | |
| append | No | Append after a blank line instead of replacing the document. Defaults to false. | |
| content | Yes | Markdown content to store. | |
| changeId | No | Change id. Defaults to the active change; an unknown id is a clean error. | |
| workspace | No | Workspace name (see workspace_list). Defaults to the primary workspace. |