Architecture Decision Records¶
Index of significant architectural and design decisions for the Home Security Intelligence project.
Architecture Decision Records (ADRs) capture the context, options evaluated, and rationale behind important technical choices. They serve as documentation for future developers wondering "why was it built this way?"
Current Decisions¶
| Decision | Date | Status | Summary |
|---|---|---|---|
| Python 3.14 Adoption | 2026-01-21 | Decided | Adopt Python 3.14 with free-threading for parallel performance gains |
| Documentation Reorganization | 2026-01-12 | Approved | Hub-and-spoke documentation architecture with role-based entry points |
| Grafana Integration | 2025-12-27 | Decided | Use native Tremor charts with link to standalone Grafana |
| Entity-Detection Referential Integrity | - | Placeholder | Database constraints between entities and detections |
| Risk Score Validation Suite | 2026-01-31 | Implemented | Automated risk score validation test suite for AI pipeline |
When to Create an ADR¶
Create an ADR when:
- Making a significant architectural choice affecting multiple components
- Choosing between multiple viable technical approaches
- Making a decision that future developers will question
- Reverting or changing a previous architectural decision
Do NOT create an ADR for:
- Implementation details that don't affect architecture
- Bug fixes or routine feature additions
- Coding style decisions (covered by linters)
ADR Format¶
ADRs follow this standard structure:
# Decision: [Title]
**Date:** YYYY-MM-DD
**Status:** Proposed | Decided | Deprecated | Superseded
## Context
[Why this decision needed to be made]
## Decision Summary
[Brief summary of what was decided]
## Options Evaluated
[Table or list of options considered]
## Rationale
[Why the selected option was chosen]
## Consequences
[Positive, negative, and neutral outcomes]
Creating a New ADR¶
- Copy the template above
- Use descriptive filename:
decision-name.md(notadr-001.md) - Document the context and options evaluated
- Get team buy-in before marking as "Decided"
- Update this README with the new entry
Related Documentation¶
- AGENTS.md - Agent guide for this directory
- Design Plans - Brainstorming and implementation plans
- Developer Hub - Developer documentation index