{"record":{"id":"9a3cafc02f90e63c","repo":"Hmbown/CodeWhale","slug":"dsh-receipt-has-schema-version-this-build-u","errorCode":null,"errorMessage":"DSH receipt {} has schema_version {} (this build understands {})","messagePattern":"DSH receipt (.+?) has schema_version (.+?) \\(this build understands (.+?)\\)","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/tui/src/integrations/dsh/receipt.rs","lineNumber":106,"sourceCode":"\nimpl Default for DshReceiptDocument {\n    fn default() -> Self {\n        Self {\n            schema_version: RECEIPT_SCHEMA_VERSION,\n            current: None,\n            history: Vec::new(),\n        }\n    }\n}\n\nimpl DshReceiptDocument {\n    pub(crate) fn load(path: &Path) -> Result<Self> {\n        match std::fs::read(path) {\n            Ok(bytes) => {\n                let doc: Self = serde_json::from_slice(&bytes)\n                    .with_context(|| format!(\"parse DSH receipt {}\", path.display()))?;\n                if doc.schema_version > RECEIPT_SCHEMA_VERSION {\n                    anyhow::bail!(\n                        \"DSH receipt {} has schema_version {} (this build understands {})\",\n                        path.display(),\n                        doc.schema_version,\n                        RECEIPT_SCHEMA_VERSION\n                    );\n                }\n                Ok(doc)\n            }\n            Err(error) if error.kind() == std::io::ErrorKind::NotFound => Ok(Self::default()),\n            Err(error) => {\n                Err(error).with_context(|| format!(\"read DSH receipt {}\", path.display()))\n            }\n        }\n    }\n\n    pub(crate) fn push(&mut self, entry: DshReceiptEntry) {\n        self.history.push(entry);\n        if self.history.len() > MAX_HISTORY {","sourceCodeStart":88,"sourceCodeEnd":124,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/8880682c63083a91624de936797efa3ce9e498fd/crates/tui/src/integrations/dsh/receipt.rs#L88-L124","documentation":"Error \"DSH receipt {} has schema_version {} (this build understands {})\" thrown in Hmbown/CodeWhale.","triggerScenarios":"Thrown at crates/tui/src/integrations/dsh/receipt.rs:106 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8880682c63083a91624de936797efa3ce9e498fd","analyzedAt":"2026-08-16T11:31:27.956Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}