ADR logger
Log one decision entry for each task in the daily file ADR/adr_yyyy_mm_dd.md.
Workflow
- Locate the project root in the current workspace.
- Ensure an
ADR/directory exists at the root; create it if missing. - Use today's local date to select the file name:
ADR/adr_yyyy_mm_dd.md. - If the file exists, append a new entry; if not, create it with a header and the first entry.
- Each task must produce exactly one entry.
Entry format
Append this structure under the file header:
## HH:MM - <task title>
### Context
- <what prompted the decision or change>
### Decision
- <what was decided or done>
### Consequences
- <impact, tradeoffs, or follow-up>
Use local time for HH:MM. Keep the entry short and specific to the task. If the task has no architectural impact, write No architectural impact under Consequences.