Writing a decision
RFC or ADR, the point is the same: someone can decide, and someone later can see why.
RFC or ADR
Use an RFC when you want input before choosing. Use an ADR to record a choice that is already made. Both are the same kind of record in DesignDoc, written in Markdown with a template.
Decision types
Each decision has a kind. You pick it when you create the decision, and it chooses the starting template. The kind can change while the decision is a draft.
| Kind | Use it for |
|---|---|
| RFC | A proposal that needs review before anyone decides. |
| ADR | An architecture decision: context, decision, consequences. Imported ADRs get this kind. |
| Decision note | A short record of a decision already made: what, why, who, links. |
| Exception | A time-boxed waiver from a standard, with its scope, owner, compensating controls and exit plan. |
| Standard | A rule teams are expected to follow. |
| Deprecation | Retiring a system, API or practice, optionally by a date. |
| Deferral | Something you chose not to do yet, with the trigger that brings it back. |
Standards usually apply to a whole repository rather than a list of paths. Under Code links, pick Whole repository (the default for a standard) to link one. Every push to that repository then lands in a single drift event for the decision, counted as pushes, instead of opening one event per push; no AI summary is written unless you ask for one from the event. Re-confirm or dismiss the event as usual, and the next push starts a new one.
Exceptions expire. An exception needs an expiry date (at most three years out) before it can go to review. Accepted exceptions appear under Expiring, sunsetting and deferred in your queue from 14 days before the date. When the date passes, the exception is marked stale and its author and deciders are notified. From the stale banner, Renew sets a new expiry and Supersedestarts a replacement. Deprecations can carry an optional sunset date that works the same way; when it passes, the notification reads “Sunset passed” rather than “expired”.
Deferrals
A deferral says “we are not doing X until T”. The trigger T is one of three things: a date (a UTC calendar day, at most three years out), a code link on the decision, or a condition in words. A deferral needs a trigger before it can go to review. A code-link trigger cannot be set when you create the deferral, because it has no links yet: create it, add the code link on the decision page, then pick it as the trigger. You can also record a source (the review or PR that deferred it; a web address becomes a link) and an owner, who defaults to the author.
When the trigger fires, the deferral is marked Trigger fired, its author and owner are notified, and it appears under Expiring, sunsetting and deferred in your queue. A date trigger fires by itself once that UTC date is reached, and shows in the queue from 14 days before. A code-link trigger fires when a push touches the linked code; it fires the deferral instead of opening a drift event. A text trigger never fires by itself: an editor uses Mark trigger fired on the decision page.
Once it has fired, or when the plan changes, Re-defer sets a new trigger and clears the fired state. Re-deferring needs an accepted, implementing or implemented deferral. The trigger itself can be edited only while the deferral is a draft; the source and owner can be changed at any time.
What a reviewable decision contains
- Context that a new joiner can follow.
- Alternatives considered, including doing nothing, and why each lost.
- The decision and who owns it.
- Scope and non-goals.
- Risks and rollback: how you would back out and what it costs.
- Success measures and when you will check them.
These are the same things the AI pre-review looks for, so a doc that has them reviews faster.
Statuses
| Status | Meaning |
|---|---|
draft | Being written. Not in anyone's queue. |
in_review | Waiting on reviewers and deciders. |
accepted | Decided. The text is the record. |
rejected | Decided against. Kept so nobody re-proposes it blindly. |
implementing, implemented | The work is under way or done. |
superseded | Replaced by a newer decision. |
withdrawn | Dropped by the author. |
Cross-references
Link a decision to others that it supersedes, depends on or conflicts with. The existing AI review reads these relations when it checks a new decision against earlier ones.