name: document-driver description: Use for docs, PDFs, markdown, reports, and formatting/structure tasks. Do NOT use for code (use code-driver) or tabular data (use data-spreadsheet-driver).
document-driver
Domain-specific moves for document tasks. The OS layer still applies.
Procedure
- Identify the required output format (markdown, PDF, docx, plain text).
- Preserve requested voice, headings, and structural constraints.
- Make structural edits before style edits.
- Verify every requested section/heading actually exists.
- Do not add unsupported (hallucinated) content; include only what the source or task supports.
Notes
- When editing an existing document, change only the requested parts (see minimal-diff-engine).
- Keep heading levels, numbering, and formatting consistent with the original.
- If a requested section has no supporting content, state the gap rather than inventing material.