askit-decision
Purpose
Author and maintain a plugin's governed decisions: numbered MADR ADRs under docs/internal/decisions/ and RFCs under docs/internal/rfcs/. Three modes: adr records an architecture decision; rfc drafts a cross-cutting proposal (for example, to evolve the Standard); summary emits and lints the mandatory 3-line TL;DR (Decision / Why / Status) on a long ADR or RFC (the summary-plus-detailed convention, ADR 0021). Authoring depth is in references/authoring-decisions.md.
When to use
When the user makes or records an architecture decision, proposes a change to the Standard or the plugin via an RFC, or needs the TL;DR companion for a decision doc.
adr mode
- Pick the next ADR number (
docs/internal/decisions/NNNN-title.md). - Author MADR: Status, Date, Deciders, Context, Decision drivers, Considered options, Decision outcome, Consequences. Copy
templates/adr.md. - Add the mandatory
## TL;DR(Decision / Why / Status) immediately under the title (ADR 0021 convention). - Fill the
## Implementation sitessection: rungrep -rn "<key behavioral terms>" scripts/to find every file and function that carries the decision. List each as a bullet: file path, function name, one sentence on what property of the decision it enforces. A vague entry ("the report renderer") is obviously wrong; a useful entry names the file and function so a future reader can verify without searching. ADRs that are governance-only with no code implementation say so explicitly. - ADRs are immutable once accepted; supersede rather than rewrite.
rfc mode
- Author an RFC under
docs/internal/rfcs/for a cross-cutting proposal (a Standard amendment, a new convention). - Include the problem, the proposal, the alternatives, and the migration/impact. On acceptance, graduate the outcome to an ADR.
summary mode
- Read a long ADR or RFC and emit (or lint) the 3-line
## TL;DR(Decision / Why / Status), so the summary and the detailed body never diverge.
Scope
Decisions live in the committed governance tree (docs/internal/, sec 10.4). ADRs are MADR-format and numbered; RFCs are the proposal path that graduates to ADRs. Every ADR carries a TL;DR (the summary-plus-detailed convention). The toolkit dogfoods this (ADRs 0020 through 0022).