Architectural Decision Records (ADRs)
This directory contains the Architectural Decision Records for the MCP ADR Analysis Server project.
ADR Indexโ
| ADR | Title | Status | Date | Category |
|---|---|---|---|---|
| ADR-001 | MCP Protocol Implementation Strategy | Accepted | 2024-01-15 | Architecture |
| ADR-002 | AI Integration and Advanced Prompting Strategy | Accepted | 2024-01-15 | AI/ML |
| ADR-003 | Memory-Centric Architecture | Accepted | 2024-01-15 | Architecture |
| ADR-004 | Security and Content Masking Strategy | Accepted | 2024-01-15 | Security |
| ADR-005 | Testing and Quality Assurance Strategy | Accepted | 2024-01-15 | Quality |
| ADR-006 | Tree-Sitter Integration Strategy | Accepted | 2024-01-15 | Architecture |
| ADR-007 | CI/CD Pipeline Strategy | Accepted | 2024-01-15 | DevOps |
| ADR-008 | Development Workflow Strategy | Accepted | 2024-01-15 | Process |
| ADR-009 | Package Distribution Strategy | Accepted | 2024-01-15 | Distribution |
| ADR-010 | Bootstrap Deployment Architecture | Accepted | 2025-01-23 | Deployment |
| ADR-011 | ADR Timeline Tracking and Context-Aware Analysis | Accepted | 2025-11-19 | Architecture |
| ADR-012 | Validated Patterns Framework | Proposed | 2025-01-16 | Deployment |
| ADR-013 | Documentation Platform Strategy | Proposed | 2025-11-21 | Documentation |
| ADR-014 | CE-MCP Architecture | Proposed | 2025-12-09 | Architecture |
| ADR-015 | APE Optimization Strategy | Accepted | 2025-12-12 | AI/ML |
| ADR-017 | Tree-Sitter Version Strategy | Accepted | 2025-12-13 | Architecture |
| ADR-018 | Atomic Tools Architecture | Accepted | 2025-12-16 | Architecture |
Legacy ADRs (Sample Project)โ
The following ADRs exist in the sample-project/docs/adrs/ directory and serve as examples:
| ADR | Title | Status | Category |
|---|---|---|---|
| 001 | Database Architecture Selection | Accepted | Database |
| 002 | API Authentication Strategy | Proposed | Security |
| 003 | Legacy Data Migration Strategy | Deprecated | Migration |
ADR Categoriesโ
Architectureโ
- ADR-001: MCP Protocol Implementation Strategy
- ADR-003: Memory-Centric Architecture
- ADR-006: Tree-Sitter Integration Strategy
- ADR-011: ADR Timeline Tracking and Context-Aware Analysis
- ADR-014: CE-MCP Architecture (Code Execution with MCP)
- ADR-017: Tree-Sitter Version Strategy
- ADR-018: Atomic Tools Architecture
AI/MLโ
- ADR-002: AI Integration and Advanced Prompting Strategy
- ADR-015: APE Optimization Strategy
Securityโ
- ADR-004: Security and Content Masking Strategy
Qualityโ
- ADR-005: Testing and Quality Assurance Strategy
- ADR-018: Atomic Tools Architecture (Testing Infrastructure)
DevOpsโ
- ADR-007: CI/CD Pipeline Strategy
Processโ
- ADR-008: Development Workflow Strategy
Distributionโ
- ADR-009: Package Distribution Strategy
Deploymentโ
- ADR-010: Bootstrap Deployment Architecture
- ADR-012: Validated Patterns Framework
Documentationโ
- ADR-013: Documentation Platform Strategy
ADR Relationshipsโ
This section documents the dependencies and relationships between ADRs.
ADR-001 (MCP Protocol) โโโโโโฌโโโบ ADR-002 (AI Integration)
โ
โโโโบ ADR-003 (Memory Architecture)
โ
โโโโบ ADR-011 (Timeline Tracking)
ADR-003 (Memory) โโโโโโโโโโโโฌโโโบ ADR-011 (Timeline Tracking)
โ
โโโโบ ADR-012 (Validated Patterns)
ADR-004 (Security) โโโโโโโโโโฌโโโบ ADR-006 (Tree-Sitter)
โ
โโโโบ ADR-008 (Dev Workflow)
ADR-010 (Bootstrap) โโโโโโโโโฌโโโบ ADR-001 (MCP Protocol)
โ
โโโโบ ADR-002 (AI Integration)
โ
โโโโบ ADR-012 (Validated Patterns)
ADR-012 (Validated Patterns) โโโบ ADR-010 (Bootstrap)
ADR-013 (Documentation) โโโโโโโโโฌโโโบ ADR-007 (CI/CD Pipeline)
โ
โโโโบ ADR-008 (Dev Workflow)
ADR-014 (CE-MCP Architecture) โโโฌโโโบ ADR-001 (MCP Protocol) [EVOLVES]
โ
โโโโบ ADR-002 (AI Integration) [EVOLVES]
โ
โโโโบ ADR-010 (Bootstrap) [ALIGNS]
โ
โโโโบ ADR-012 (Validated Patterns) [ALIGNS]
ADR-015 (APE Optimization) โโโโโโฌโโโบ ADR-002 (AI Integration) [OPTIMIZES]
โ
โโโโบ ADR-014 (CE-MCP) [ALIGNS]
ADR-017 (Tree-Sitter Version) โโโโโโบ ADR-006 (Tree-Sitter Integration) [EVOLVES]
ADR-018 (Atomic Tools) โโโโโโโโโโฌโโโบ ADR-003 (Memory Architecture) [EVOLVES]
โ
โโโโบ ADR-005 (Testing Strategy) [EVOLVES]
โ
โโโโบ ADR-014 (CE-MCP) [ALIGNS]
Cross-Reference Matrixโ
| ADR | Depends On | Influences |
|---|---|---|
| ADR-001 | - | ADR-002, ADR-003, ADR-010, ADR-011 |
| ADR-002 | ADR-001 | ADR-010 |
| ADR-003 | ADR-001 | ADR-011, ADR-012 |
| ADR-004 | - | ADR-006, ADR-008 |
| ADR-005 | ADR-007 | ADR-008 |
| ADR-006 | ADR-004 | ADR-004 |
| ADR-007 | - | ADR-005, ADR-008, ADR-010 |
| ADR-008 | ADR-005, ADR-007 | - |
| ADR-009 | ADR-007 | - |
| ADR-010 | ADR-001, ADR-002, ADR-007 | ADR-012 |
| ADR-011 | ADR-001, ADR-003 | - |
| ADR-012 | ADR-003, ADR-010 | ADR-010 |
| ADR-013 | ADR-007, ADR-008 | - |
| ADR-014 | ADR-001, ADR-002 | ADR-010, ADR-012 (evolves ADR-001, ADR-002) |
| ADR-015 | ADR-002, ADR-014 | - (optimizes APE from ADR-002) |
| ADR-017 | ADR-006 | - (evolves Tree-Sitter integration) |
| ADR-018 | ADR-003, ADR-005, ADR-014 | - (evolves testing and architecture) |
Archived/Test ADRsโ
The following files exist for testing purposes and should not be considered production ADRs:
| File | Purpose | Status |
|---|---|---|
adr-0001-test-decision.md | Unit test fixture | Test Only |
adr-0001-integration-test-decision.md | Integration test fixture | Test Only |
ADR Templateโ
We use the NYGARD template for our ADRs:
# ADR-XXX: [Title]
## Status
[Proposed | Accepted | Deprecated | Superseded]
## Context
[Description of the problem and context]
## Decision
[Description of the architectural decision]
## Consequences
**Positive:**
- [Positive consequence 1]
- [Positive consequence 2]
**Negative:**
- [Negative consequence 1]
- [Negative consequence 2]
Contributingโ
When creating new ADRs:
- Use the next available ADR number
- Follow the NYGARD template format
- Include clear context, decision, and consequences
- Update this README.md index
- Link related ADRs where appropriate
Toolsโ
This project includes MCP tools for ADR management:
mcp0_discover_existing_adrs: Discover and catalog existing ADRsmcp0_suggest_adrs: Suggest new ADRs based on code analysismcp0_generate_adr_from_decision: Generate ADRs from decision datamcp0_review_existing_adrs: Review ADRs against implementationmcp0_generate_adr_todo: Generate implementation tasks from ADRs