Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.31 KB

File metadata and controls

39 lines (28 loc) · 1.31 KB

Design docs

Dated design notes for non-trivial changes — the "why" behind a refactor or feature, kept alongside the code rather than lost in chat history.

Naming

YYYY-MM-DD-NN-title.md

  • YYYY-MM-DD — the date the doc was written.
  • NN — two-digit sequence number for that date, in creation order (01, 02, ...). Always include it, even for the first doc of the day, so a later same-day doc never requires renaming the first.
  • title — short kebab-case slug.

Header

Each doc starts with a short metadata block:

# Title

- **Date:** YYYY-MM-DD
- **Status:** Proposed | Implemented YYYY-MM-DD (see addendum) | Superseded by [...]
- **Author:** ...
- **Scope:** the files/components/areas affected
- **Builds on:** [link](relative-file.md) — if it follows an earlier doc
- **Branch context:** the branch it was written on, if relevant

When a plan is executed, update Status in place (don't create a new doc) and add an Addendum — implementation notes section at the end recording what actually shipped, what deviated from the plan and why, and any follow-ups. This keeps the doc an accurate record rather than a stale proposal.

Cross-referencing

Link related docs with relative markdown links ([text](file.md)), not bare filenames — and update them if a doc is ever renamed.