convert_to_atomic_format
Convert legacy markdown files into atomic pending proposals, one per block, inferring scope from text and staging changes for human review instead of writing Markdown.
Instructions
Convert a legacy markdown file into atomic-format pending_proposals,
one per legacy block, with best-effort scope inference from each block's
text. Never writes .md files directly — always stages for human review
via approve_proposal.
Access level: write. Returns: JSON with the number of proposals created and their id/type/ scope_id/suggested_file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_type | Yes | 'rules' or 'lessons' — which legacy parser and destination to use. | |
| filepath | Yes | Path to the legacy (### -style) markdown file to convert. | |
| default_scope_id | Yes | Fallback scope used when scope inference from the block's text doesn't match a known technology keyword. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |