Record decision or constraint
record_decisionRecord ADR-style decisions and machine-checkable constraints in .decisions/ after a non-obvious choice, keeping project rationale and rules linked for future agents.
Instructions
Record an ADR-style decision (or a constraint with type="constraint") into .decisions/. Call after making a non-obvious choice.
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": "record_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| type | No | ||
| files | No | Paths or globs this applies to | |
| rules | No | Constraint rules: "forbid: term", "forbid: /regex/", "require: term", "forbid-path: glob" | |
| tests | No | ||
| title | Yes | Short title of the decision or constraint | |
| status | No | ||
| commits | No | ||
| context | No | ||
| decision | No | What was decided / the constraint statement | |
| supersedes | No | ||
| alternatives | No | Options considered and rejected | |
| consequences | No | ||
| requirements | No | SpecGate ids: capability/requirement[#scenario] |