save_partial_snapshot
Persist each batch's partial concept map to .mason/partial-snapshots/ for later merging, passing batchId and offset from batch generation.
Instructions
Persist the partial concept map you derived for one batch. Call this once per batch, with the batchId from the generate_snapshot_batch response. Partials accumulate in .mason/partial-snapshots/ and are merged in the reduce step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Absolute path to the project root directory | |
| flows | Yes | Partial flows whose entire chain is in this batch. Cross-batch flows are reconstructed in reduce. | |
| offset | Yes | The `offset` returned by `generate_snapshot_batch`. Used to order partials in the reduce step. | |
| batchId | Yes | The `batchId` returned by `generate_snapshot_batch`. | |
| features | Yes | Partial features for this batch only — files outside the batch will be added by other partials. |