greatmengqi c45157e067 feat(config): add FastAPI get_config dependency reading from app.state
Phase 2 Task P2-1: introduce the explicit-config primitive used throughout
the rest of Phase 2. FastAPI routers will migrate from AppConfig.current()
to `config: AppConfig = Depends(get_config)` reading from app.state.config.

This commit only adds the new path. AppConfig.init() remains alongside so
unmigrated call sites still work; it is removed in P2-10 once every caller
is migrated.
2026-04-16 22:19:23 +08:00
..