Add DetectorConfig, ChannelConfig, NotificationsConfig, and WatchdogConfig Pydantic models to src/config.py, each inheriting StrictModel (extra='forbid'). Append corresponding defaults to config/config.yaml. - DetectorConfig: heuristic thresholds for anomaly detection (window, dup_min, top_min, top_min_ro, cum_min, cover_min, min_calls) - ChannelConfig: typed notification channel with Literal['desktop'] restriction — unknown types fail at load - NotificationsConfig: list of ChannelConfig with default desktop channel at warning severity - WatchdogConfig: runtime watchdog with detector, model (defaults to verification.model when None), read_only_agents, and dashboard URL Wire into RouterConfig as watchdog and notifications fields, both with sensible defaults.
58 KiB
58 KiB