{"record":{"id":"df01dc536ba6f938","repo":"Hmbown/CodeWhale","slug":"failed-to-update-setting-invalid-synchronized-out","errorCode":null,"errorMessage":"Failed to update setting: invalid synchronized_output '{value}'. Expected: auto, on, off.","messagePattern":"Failed to update setting: invalid synchronized_output '(.+?)'\\. Expected: auto, on, off\\.","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/tui/src/settings.rs","lineNumber":1406,"sourceCode":"                }\n                self.transcript_spacing = normalized.to_string();\n            }\n            \"launch_screen\" | \"launch\" => {\n                self.launch_screen = parse_bool(value)?;\n            }\n            \"status_indicator\" | \"indicator\" => {\n                let normalized = normalize_status_indicator(value);\n                if ![\"cw\", \"whale\", \"dots\", \"off\"].contains(&normalized) {\n                    anyhow::bail!(\n                        \"Failed to update setting: invalid status indicator '{value}'. Expected: cw, whale, dots, off.\"\n                    );\n                }\n                self.status_indicator = normalized.to_string();\n            }\n            \"synchronized_output\" | \"sync_output\" | \"sync\" => {\n                let normalized = normalize_synchronized_output(value);\n                if ![\"auto\", \"on\", \"off\"].contains(&normalized) {\n                    anyhow::bail!(\n                        \"Failed to update setting: invalid synchronized_output '{value}'. Expected: auto, on, off.\"\n                    );\n                }\n                self.synchronized_output = normalized.to_string();\n            }\n            \"workspace_follow_symlinks\" | \"follow_symlinks\" => {\n                self.workspace_follow_symlinks = parse_bool(value)?;\n            }\n            \"default_mode\" | \"mode\" => {\n                // Act (wire: agent), Plan, and Operate are valid startup modes.\n                // yolo remains a permission-migration alias, not a mode write.\n                self.default_mode = match value.trim().to_ascii_lowercase().as_str() {\n                    \"agent\" | \"normal\" | \"act\" | \"work\" | \"edit\" => \"agent\".to_string(),\n                    \"plan\" => \"plan\".to_string(),\n                    \"operate\" | \"operation\" | \"ops\" => \"operate\".to_string(),\n                    _ => anyhow::bail!(\n                        \"Failed to update setting: invalid mode '{value}'. Expected: act (agent), plan, or operate.\"\n                    ),","sourceCodeStart":1388,"sourceCodeEnd":1424,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/0c42157ee52f9d55af2b506d71b46249910f77d3/crates/tui/src/settings.rs#L1388-L1424","documentation":"Validation failure in the settings update path: the value supplied for the synchronized_output setting was not one of the three accepted keywords auto, on, or off after normalization. A generic enumerated-value guard; fires on typos or unsupported values passed to the setting updater, mirroring the adjacent status_indicator check.","triggerScenarios":"Thrown at crates/tui/src/settings.rs:1406 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set synchronized-output to auto, on, or off"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0c42157ee52f9d55af2b506d71b46249910f77d3","analyzedAt":"2026-08-20T21:50:45.477Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}