Architecture Decision Records#
This directory contains Architecture Decision Records (ADRs) for the feedback analysis backend.
ADRs document significant architectural decisions, the context that led to them, the options considered, and the reasoning behind the chosen approach.
Index#
ADR |
Title |
Status |
|---|---|---|
Use Pydantic for domain models |
Accepted |
|
Protocol-based ports instead of ABCs |
Accepted |
|
Fully async concurrency model |
Accepted |
|
Single LLM client for all providers |
Accepted |
|
Bearer token authentication |
Accepted |
|
Composed settings with env prefix isolation |
Accepted |
|
Separate API schemas from domain models |
Accepted |
|
Dedicated resource group for Terraform state storage |
Accepted |
|
Shared container registry across environments |
Accepted |
|
Drop swappable-orchestrator requirement and remove OrchestratorPort |
||
App Service managed identity as PostgreSQL Entra admin |
Accepted |
|
Store API keys in both the database and environment variables |
Accepted |
|
EmbeddingPort and self-hosted BGE-M3 ONNX embedding model |
Accepted |
|
Cluster feedback records with HDBSCAN |
Accepted |
|
Guard auto-deploy on release publish to the latest version only |
Accepted |
|
Decompose the Orchestrator by composition only |
Accepted (supersedes decision 3 of 011) |
|
No third-party text in the error envelope |
Accepted |
|
Per-environment App Service plan sizing, prd on P0v3 |
Accepted |
|
|
Accepted |