sync_doc
Sync long-form project documents (plan, spec, progress, runbook, research) as rendered markdown to the work log, upserting by kind and key with version bumps.
Instructions
Sync a long-form project document (plan/spec/progress/runbook/research) as rendered markdown. Upserts by (kind, key); the version bumps each sync. Use for docs an agent maintains in-repo, so the log carries their current state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | stable slug within the kind, e.g. the doc filename | |
| body | Yes | the rendered markdown body | |
| kind | Yes | ||
| title | Yes | ||
| status | No | kind-specific, e.g. draft|approved|building|done |