add_decision
Permanently record an architectural or product decision with a one-line summary. Appends the decision to the project record and updates summary.md for future reference.
Instructions
Record an architectural or product decision permanently.
Call when you make a choice that future sessions or contributors
should know about. Decisions show up in `summary.md` and in
`pjm wrap` context blocks.
Side effects: appends a `decision` event and updates summary.md.
Decisions are append-only — to revise, log a new decision that
supersedes the prior one (rather than editing).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | One-line description of the architectural or product decision (e.g., 'use bcrypt rounds=12 for password hashing'). Becomes part of the project's permanent record — write it for a future contributor. | |
| location | No | Optional file path or scope where the decision applies (e.g., 'src/auth/' for a module-level choice). Helps precheck_file cite the decision when the file is later touched. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |