decision_record
Record a final Tirith project decision with rationale, alternatives, and affected paths to stop agents from re-deciding it.
Instructions
Record a settled project choice with its rationale, the alternatives considered and the paths it constrains, so no agent decides it again. It is written as one committed Markdown file under .tirith/decisions/ and appears in the brief of later claims on those paths. Use only once the choice is final; for discussion use message_send, and for lessons about code use memory_write. Lead-only while a swarm has a lead. Returns the decision with its permalink.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Your stable agent name. | |
| title | Yes | Short title, the line shown in briefs. | |
| decision | Yes | What was decided, stated so it can be followed. | |
| rationale | No | Why it was decided. | |
| alternatives | No | The alternatives that were considered and rejected. | |
| affects_paths | No | Paths the decision constrains. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead | No | On a lead-only conflict: the lead to message. | |
| status | Yes | ok. conflict: lead-only while a swarm has a lead. invalid: bad input. | |
| message | No | Human-readable detail, on most outcomes other than ok. | |
| decision | No | id, title, decision, rationale, alternatives, affects_paths, recorded_by, recorded_at, and the permalink of its committed file. |