[pitboss] sweep after phase 28: 2 deferred items resolved

This commit is contained in:
pitboss 2026-05-15 18:58:53 -05:00
parent 9b09aab736
commit 760bc1beb2

View file

@ -1707,6 +1707,17 @@ fn runs_config_defaults() {
assert!(cfg.save_code_snippets);
}
#[test]
fn output_config_preserves_chain_constituents_by_default() {
// Phase 25 deferred decision (b): the default keeps every constituent
// finding in the `findings: [...]` array so existing pipelines see no
// behavioural change. Flipping this to `false` is a deliberate breaking
// change and must be done explicitly, not silently. Guarding both the
// `Default` impl and the serde-default getter so neither drifts alone.
assert!(OutputConfig::default().show_chain_constituents);
assert!(default_show_chain_constituents());
}
#[test]
fn server_config_toml_roundtrip() {
let toml_str = r#"