{"record":{"id":"e771dad44c259956","repo":"tinyhumansai/openhuman","slug":"todo-edit-e","errorCode":null,"errorMessage":"todo_edit: {e}","messagePattern":"todo_edit: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/threads/todos/tools.rs","lineNumber":262,"sourceCode":"                \"notes\": { \"type\": \"string\" },\n                \"blocker\": { \"type\": \"string\" }\n            },\n            \"required\": [\"id\"]\n        })\n    }\n\n    fn permission_level(&self) -> PermissionLevel {\n        PermissionLevel::Write\n    }\n\n    async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {\n        log::debug!(\"[tool][todos] edit invoked\");\n        let id = read_required_str(&args, \"id\")?;\n        let location = board_location(&self.config, &args);\n        let patch = card_patch(&args)?;\n        let snapshot = ops::edit(&location, &id, patch)\n            .await\n            .map_err(|e| anyhow::anyhow!(\"todo_edit: {e}\"))?;\n        snapshot_to_result(snapshot)\n    }\n}\n\n/// Transition a card's status.\npub struct TodoUpdateStatusTool {\n    config: Arc<Config>,\n}\n\nimpl TodoUpdateStatusTool {\n    pub fn new(config: Arc<Config>) -> Self {\n        Self { config }\n    }\n}\n\n#[async_trait]\nimpl Tool for TodoUpdateStatusTool {\n    fn name(&self) -> &str {","sourceCodeStart":244,"sourceCodeEnd":280,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/threads/todos/tools.rs#L244-L280","documentation":"Generic wrapper from todo_edit: updating the card with the given id failed. The underlying {e} is the ops::edit error — most often the card id does not exist on the board, or a patch field was invalid.","triggerScenarios":"Thrown at src/openhuman/threads/todos/tools.rs:262 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["List the board first and copy the card id exactly","Check {e} for which patch field was rejected","Verify the card belongs to the same thread/scratch location being edited"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}