Capture A Decision
Use this when the user makes or asks to record a durable choice. A decision is a choice with rationale and consequences, not a casual preference.
Steps
Resolve
~/.codex/basic-memory.json, then the nearest project.codex/basic-memory.json; project keys override user keys:- write to
primaryProjectwhen set - follow
placementConventionsfor the directory when they are specific - otherwise use
codex/decisions
Apply the
bm-writingskill before drafting the note.- write to
Clarify only if the choice itself is ambiguous. Do not ask for every field if the conversation already contains the rationale.
Write a
type: decisionnote:status: openunless the user says it is accepted, superseded, or rejecteddecided: <ISO timestamp when known>project: <primaryProject if known>
Include:
- the decision
- context
- rationale
- alternatives considered
- consequences
- affected files, specs, issues, PRs, or notes
Confirm with the permalink. If this supersedes an older decision, update the old note or link it as
supersedes.