generated from john/python-template
1.0 KiB
1.0 KiB
ADR-0003: Persistence baseline and transition path
- Status: accepted
- Date: 2026-06-25
Context
Architecture targets PostgreSQL baseline (optional MongoDB), while MVP currently runs on SQLite by default. V1 needs a clear transition path without destabilizing ongoing work.
Decision
- Preserve database URL configurability through centralized settings.
- Keep SQLite functional for local dev/test and fast feedback.
- Treat PostgreSQL as production baseline target for V1 completion.
- Keep persistence access behind
transcription.dbruntime/session access points.
Consequences
Positive
- Clear migration path without immediate broad rewrite.
- Controlled risk while preserving velocity.
Tradeoffs
- Temporary dual-path assumptions (SQLite local vs PostgreSQL target).
Alternatives Considered
- Immediate forced PostgreSQL-only migration
- Rejected: higher short-term disruption risk.
- Remain SQLite-only for V1
- Rejected: inconsistent with architecture and requirement trajectory.