You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New format: Decision Log (Architectural Decision Records) #215
Add a lightweight format for recording architectural and design decisions in a structured, agent-consumable way.
Source
Extracted from the Codex compiler project's docs/10-PRINCIPLES.md. Permission was granted by the author for semantic extraction.
Concept
A structured format for recording every significant design decision:
Entry Format
`markdown
Decision: [Title]
Date: YYYY-MM-DD Context: What situation prompted this decision? Options considered: What alternatives were evaluated? Decision: What did we choose? Rationale: Why? Consequences: What follows from this decision?
`
Why This Matters
Design decisions are often made in conversation (chat, PR comments, verbal discussion) and lost. When a future agent encounters code and asks "why was it done this way?", the answer is nowhere in the codebase. A decision log provides:
Traceability — why each significant choice was made
Context for future agents — alternatives that were considered and rejected
Consequence tracking — what follows from each decision, enabling impact analysis
Change justification — when revisiting a decision, the original rationale is available
Relationship to Existing Components
This is lighter than a full RFC (author-rfc) and heavier than a code comment. It fills the gap between "this is how it works" (code) and "this is why it works this way" (decision log). Could be a standalone format or integrated into the author-design-doc template as a section.
Value for PromptKit
A lightweight ADR (Architectural Decision Record) format that agents can both produce and consume. Useful as an output format for design templates and as input context for implementation templates.
Activity
feat: Tier 1 backlog batch — 4 issues
feat: Tier 1 backlog batch — #212, #215, #155 (F-003), #113 (#219)