map_architecture
Batch-create a codebase mental model in Synapse: map components, data flows, decisions, hypotheses, risks, and directed links for visual architecture tracking.
Instructions
Batch-map the agent's high-level understanding and mental model of the codebase (HLD): components, data flows, decisions, hypotheses, and risks, plus directed links between them. Nodes are created under a 'Code Mental Model (HLD)' branch unless parentId or parentKey is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | No | Directed flow or dependency links between node keys (or existing node IDs) | |
| nodes | Yes | HLD / mental-model nodes to create or update | |
| parentId | No | Parent node ID. If omitted, creates/uses a top-level 'Code Mental Model (HLD)' branch. | |
| mindmapId | Yes | Mindmap ID |