{"record":{"id":"249466f8cfb4fc6f","repo":"zeroclaw-labs/zeroclaw","slug":"unknown-cron-shell-output-format-value-other","errorCode":null,"errorMessage":"Unknown cron shell_output_format value: {other:?}","messagePattern":"Unknown cron shell_output_format value: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/zeroclaw-runtime/src/cron/store.rs","lineNumber":1160,"sourceCode":"    allowed_tools\n        .map(serde_json::to_string)\n        .transpose()\n        .context(\"Failed to serialize cron allowed_tools\")\n}\n\nfn decode_shell_output_format(raw: Option<&str>) -> Result<CronShellOutputFormat> {\n    // Exact match against the canonical `#[serde(rename_all = \"snake_case\")]`\n    // spellings, not a JSON-string round trip: wrapping arbitrary stored text\n    // in quotes and handing it to a JSON parser would let an escape sequence\n    // in the raw column (e.g. `raw`) decode as a different value than\n    // what was actually persisted.\n    match raw {\n        None => {\n            anyhow::bail!(\"cron shell_output_format column is NULL; schema requires TEXT NOT NULL\")\n        }\n        Some(\"wrapped\") => Ok(CronShellOutputFormat::Wrapped),\n        Some(\"raw\") => Ok(CronShellOutputFormat::Raw),\n        Some(other) => anyhow::bail!(\"Unknown cron shell_output_format value: {other:?}\"),\n    }\n}\n\nfn decode_allowed_tools(raw: Option<&str>) -> Result<Option<Vec<String>>> {\n    if let Some(raw) = raw {\n        let trimmed = raw.trim();\n        if !trimmed.is_empty() {\n            return serde_json::from_str(trimmed)\n                .map(Some)\n                .with_context(|| format!(\"Failed to parse cron allowed_tools JSON: {trimmed}\"));\n        }\n    }\n    Ok(None)\n}\n\npub fn sync_declarative_jobs(\n    config: &Config,\n    decls: &std::collections::HashMap<String, zeroclaw_config::schema::CronJobDecl>,","sourceCodeStart":1142,"sourceCodeEnd":1178,"githubUrl":"https://github.com/zeroclaw-labs/zeroclaw/blob/88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc/crates/zeroclaw-runtime/src/cron/store.rs#L1142-L1178","documentation":"Error \"Unknown cron shell_output_format value: {other:?}\" thrown in zeroclaw-labs/zeroclaw.","triggerScenarios":"Thrown at crates/zeroclaw-runtime/src/cron/store.rs:1160 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a recognized shell_output_format value (e.g. text or json)."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc","analyzedAt":"2026-08-23T01:07:41.857Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}