Architectural Decision Records (ADR Index)
Architectural Decision Records (ADRs) capture the context, evaluated alternatives, non-negotiable invariants, and operational trade-offs behind every foundational choice in EricksonLopez.*.
| ADR | Decision Title | Status | Primary Ecosystem Impact |
|---|---|---|---|
| ADR-001 | Result Pattern Over Exceptions | Accepted | Zero-allocation Result / Result<T> control flow (dotnet-result) |
| ADR-002 | Dapper + Raw SQL Over EF Core | Accepted | Predictable SQL plans and PostgreSQL UNNEST batching (dotnet-dapper-extensions) |
| ADR-003 | Angular Signals Over NgRx | Accepted | Fine-grained frontend reactivity without boilerplate state machines |
| ADR-004 | Keyset / Cursor Pagination Over Offset | Accepted | Index-backed keyset pagination (dotnet-pagination, dotnet-specification) |
| ADR-005 | FluentValidation in Mediator Pipelines | Accepted | Explicit validation pipeline behaviors before domain boundaries (dotnet-mediator) |
| ADR-006 | Anti-Overlap & Forbidden Abstractions | Accepted | Single responsibility per family; no redundant pass-through wrappers |
| ADR-007 | Ecosystem Dependency Tiers (L0–L5) |
Accepted | Strict Directed Acyclic Graph topology anchored by EricksonLopez.Result at L0 |
| ADR-008 | Core vs Integration vs Adapter Split | Accepted | Pure Abstractions/core separated from EF Core, Dapper, ASP.NET, and broker adapters |
| ADR-009 | Native AOT-First Architecture | Accepted | EnableTrimAnalyzer=true and TreatWarningsAsErrors=true on AOT-compatible packages |
| ADR-010 | Incremental Roslyn Source Generators | Accepted | Compile-time converters, type handlers, and registrations replacing reflection |
| ADR-011 | Domain Primitives Source Generation | Accepted | Compile-time generation for [StrongId<T>], [StringPrimitive], and [SmartEnum<T>] |
| ADR-038 | Roy Osherove Test Naming Standard | Accepted | Method_Scenario_Result naming with deliberate IDE1006/CA1707 suppression |
Every ADR recorded in engineering-handbook follows five required sections:
- Context & Problem Statement: Concrete failure mode or scaling bottleneck observed.
- Decision Drivers: Correctness, trimming/AOT safety, latency, and auditability.
- Considered Options: Explicit alternatives evaluated against real measurements.
- Decision Outcome: Chosen invariant and enforcement mechanism (analyzer, MSBuild property, or test contract).
- Trade-offs & Operational Costs: Honest accounting of complexity paid.