File a node without moving the focus
vivac_addCreates a typed node—such as a finding, task, decision, constraint or rule—in the provenance tree without changing focus, letting you record work or branches under the current context.
Instructions
File a typed node without changing focus: findings, pending work or a branch of existing work. Search first; never duplicate. Findings are recorded when reported, one per finding; close records immediately with vivac_done and a Record: outcome. Use push for work starting now, decide for choices, constraint for continuing norms (root if global), and rule for requirements checked by a command or human judgement.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>"
},
"name": "vivac_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arm | No | Rule verification commands, all run in arm_dir; omitted means judged. Vivac never runs them. | |
| ref | No | Paths or identifiers this node is about. | |
| why | No | Why this matters. | |
| root | No | Create at root instead of under focus; conflicts with parent. | |
| type | No | goal, task, decision, question, constraint, finding, assumption, pillar or rule. Default task under focus, goal at root. User norms: constraint (root if global); rule: pillar criterion, read via vivac_rules; pillar: name and what it rejects. | |
| title | Yes | Title words, never an ID; parent ID goes in parent. | |
| blocks | No | Parent cannot close until this node closes. | |
| parent | No | Parent node ID/alias; defaults to focus, else root. Conflicts with root. | |
| against | No | Decision only: one pillar/rule plus compliance sentence per item, e.g. "r12: writes stay local". Not constraints. | |
| arm_dir | No | Existing working directory relative to the tree root; required with arm. | |
| governs | No | File globs governed by this work or norm. | |
| supersedes | No | Retire an in-force decision/constraint/rule/pillar, preserving history. New node must be one of those kinds; use the correct kind for a misclassified norm. |