Record a rule
append_ruleAdd a durable rule to a project's Rules note. Rules are standing constraints the operator has confirmed — how to work on this project, what never to assume — not observations about one conversation.
Instructions
Add a durable rule to a project's Rules note. Rules are standing constraints the operator has confirmed — how to work on this project, what never to assume — not observations about one conversation. Use append_decision instead for a choice that was made, and update_capsule when the summary itself is now wrong. When it replaces an earlier rule, pass that rule's heading as supersedes; the old rule is marked superseded-by:: and kept as history. Writes to disk: it appends, so calling it twice records the rule twice. Errors when the project or its Rules note is missing, or when supersedes names no live rule (then nothing is written).
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": {
"project": "<project>",
"name": "<name>",
"rule": "<rule>"
},
"name": "append_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short name for the rule, e.g. "Naming" | |
| rule | Yes | The rule itself, in one or two sentences | |
| project | Yes | Project name, id, or trigger word | |
| supersedes | No | Heading of the existing rule this one replaces, if any |