claw-code/rust/crates/rusty-claude-cli/tests
Bellman 89e7f415a9
Avoid duplicate config warnings for JSON consumers (#3190)
JSON config output already carries collected config diagnostics in warnings[], so prose stderr emission must be reserved for text/local paths. Lazy permission-mode default resolution prevents an earlier config load from leaking the same deprecation before the JSON renderer runs.\n\nConstraint: ROADMAP #815 requires text mode to keep human stderr warnings while JSON config/list suppresses duplicate app-level config prose.\nRejected: Filtering all stderr in JSON mode | would hide cargo/compiler or unrelated diagnostics outside the app config warning path.\nConfidence: high\nScope-risk: narrow\nDirective: Keep load_collecting_warnings side-effect-free; use load() for human stderr emission.\nTested: cargo fmt; cargo test -p rusty-claude-cli --test output_format_contract config_json_reports_deprecations_structurally_without_stderr_duplicate_815; cargo test -p rusty-claude-cli --test output_format_contract; manual target/debug/claw JSON config fixture.\nNot-tested: cargo clippy -p rusty-claude-cli --all-targets -- -D warnings is blocked by pre-existing runtime dead_code/trident warnings.
2026-05-28 18:09:59 +09:00
..
cli_flags_and_config_defaults.rs fix: resolve model aliases before syntax validation 2026-05-25 11:21:32 +09:00
compact_output.rs fix+test(#749): compact interactive-only hint now non-null; extend compact JSON test for hint contract 2026-05-26 19:38:09 +09:00
compact_repl_panic.rs fix: REPL display, /compact panic, identity leak, DeepSeek reasoning, thinking blocks 2026-05-06 15:32:34 +09:00
mock_parity_harness.rs fix: resolve model aliases before syntax validation 2026-05-25 11:21:32 +09:00
output_format_contract.rs Avoid duplicate config warnings for JSON consumers (#3190) 2026-05-28 18:09:59 +09:00
resume_slash_commands.rs fix(#716): align 5 resume-path error JSON envelopes from legacy type:error shape to standard kind/action/status/error_kind/exit_code contract 2026-05-26 05:04:50 +09:00