mirror of
https://github.com/instructkr/claw-code.git
synced 2026-10-19 00:00:08 +08:00
Implement issue #3325 (Slice 3.1) Config: Settings Override & Schema Validation Additions: - Setting schema registry with support for multiple value types - SessionSettings struct with three-level hierarchy (global, session, request) - SettingApplicator for merging and applying settings - ConfigHotreloadMonitor for filesystem monitoring - 36 comprehensive tests covering: - Schema validation with allowed values - Override hierarchy (request > session > global > default) - Permission mode overrides per-session - Temperature/token overrides work correctly - Dynamic setting application mid-session - Settings propagation to all tools - Config hotreload detection - Default values and type validation - Non-overridable settings Size: ~750 LOC with tests References: - Issue #3325: [Slice 3.1] Config: Settings Override & Schema Validation - Crate: runtime (enhance existing config.rs)