record_decision
Record architectural decisions in a temporal knowledge graph, capturing rationale, affected modules, and symbols. Supports reinforcing or superseding past decisions to maintain decision continuity.
Instructions
Creates a Decision node in the graph. Call this when making or discovering architectural choices. Returns a status string. Phase 9: pass corroborates= to reinforce, supersedes= to replace, or force=true to bypass duplicate detection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The decision text (min 10 chars). Not required when only corroborating. | |
| module | No | Optional relative path to the affected module. | |
| symbol | No | Optional name of the affected symbol. | |
| rationale | No | Optional reasoning behind the decision. | |
| repo | No | Optional absolute path to the repository. | |
| corroborates | No | Phase 9: id of an existing Decision to reinforce. No new node is created; the existing node's last_reinforced_at is bumped. | |
| supersedes | No | Phase 9: id of an existing Decision this one replaces. A new node is created with supersedes=<id> and the old node's outgoing edges are expired. | |
| force | No | Phase 9: skip intent-confirmation similarity check and always write a sibling decision. |