Task: Implement database configuration
This page documents a task in the Infrastructure features story. It captures the goal, current status, acceptance, and any notes or results.
Goal
Replace hard-coded database settings in both the console and Qt UI with proper configuration: CLI flags + environment variables + a config file, with sensible defaults.
Status
| Field | Value |
|---|---|
| State | DONE |
| Parent story | Infrastructure features |
| Now | Completed 2025-11-20. |
| Waiting on | None. |
| Next | None. |
| Last touched | 2025-11-20 |
Acceptance
- Console accepts
--database-*flags / env vars. - Qt UI reads the same configuration mechanism.
- Defaults are wired through
boost::program_options, not ad-hoc code.
Plan
(Plan was distilled into the parent story's * Decisions and cleared when the task closed.)
Notes
- Closes a thread that started in sprint 03 (
Add database command-line arguments to service) and finishes the UI side.
Result
Database configuration unified across console and Qt UI.