Skip to content

New format: Decision Log (Architectural Decision Records) #215

Closed

Description

Summary

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.

Proposed Component Type

  • Type: format
  • Name: decision-log
  • Produces: decision-record artifact type

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions