
Chris CoutinhoandClaude Opus 4.6
c8e4cbe825
feat: implement dynaconf configuration management (ADR-024 phases 1-3)
Replace ~80 manual os.getenv() calls in config.py with dynaconf-backed
configuration, enabling TOML file-based config alongside existing env
var support. Zero breaking changes — Settings dataclass interface and
all consumers unchanged.
Phase 1: Create settings.toml with all config keys and defaults,
.secrets.toml.example template, update .gitignore, initialize Dynaconf
instance with envvar_prefix=False and environment section switching.
Phase 2: Wire adapter — replace os.getenv() with _dynaconf.get() in
get_settings(), get_document_processor_config(), and deprecation/
dependency resolution helpers. Automatic type coercion eliminates ~30
manual int()/float()/.lower()=="true" patterns.
Phase 3: Add 12 declarative validators for port ranges, positive
integers, enum constraints, and float ranges. Remove redundant negative
overlap check from Settings.__post_init__.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 09:22:19 +02:00
..
2026-02-27 20:33:54 +01:00
2026-04-03 00:22:20 +02:00
2026-04-05 19:29:23 +02:00
2026-04-01 09:11:45 +02:00
2025-11-13 21:57:14 +01:00
2025-12-26 10:05:27 -06:00
2025-12-26 10:05:27 -06:00
2026-03-28 09:19:53 +01:00
2026-04-03 00:22:20 +02:00
2025-12-08 01:09:02 +01:00
2026-02-20 08:04:50 +01:00
2026-04-01 09:11:45 +02:00
2025-10-25 19:52:45 +02:00
2026-03-30 00:55:31 +02:00
2025-05-04 23:24:55 +02:00
2026-04-03 00:22:20 +02:00
2026-02-20 08:04:50 +01:00
2026-04-03 00:22:20 +02:00
2026-04-07 09:22:19 +02:00
2026-04-03 00:22:20 +02:00
2026-02-16 09:21:21 +01:00
2026-02-20 08:04:50 +01:00