{"record":{"id":"2f3b4cfb4209a125","repo":"tinyhumansai/openhuman","slug":"todo-update-status-e","errorCode":null,"errorMessage":"todo_update_status: {e}","messagePattern":"todo_update_status: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/threads/todos/tools.rs","lineNumber":314,"sourceCode":"                \"status\": { \"type\": \"string\", \"description\": \"New status (required).\" }\n            },\n            \"required\": [\"id\", \"status\"]\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] update_status invoked\");\n        let id = read_required_str(&args, \"id\")?;\n        let status_raw = read_required_str(&args, \"status\")?;\n        let status = ops::parse_status(&status_raw).map_err(|e| anyhow::anyhow!(e))?;\n        let location = board_location(&self.config, &args);\n        let snapshot = ops::update_status(&location, &id, status)\n            .await\n            .map_err(|e| anyhow::anyhow!(\"todo_update_status: {e}\"))?;\n        snapshot_to_result(snapshot)\n    }\n}\n\n/// Approve or reject a gated plan card.\npub struct TodoDecidePlanTool {\n    config: Arc<Config>,\n}\n\nimpl TodoDecidePlanTool {\n    pub fn new(config: Arc<Config>) -> Self {\n        Self { config }\n    }\n}\n\n#[async_trait]\nimpl Tool for TodoDecidePlanTool {\n    fn name(&self) -> &str {","sourceCodeStart":296,"sourceCodeEnd":332,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/threads/todos/tools.rs#L296-L332","documentation":"Generic wrapper from todo_update_status: the status change failed after id and status parsed. The underlying {e} is either a parse_status rejection (unknown status string) or a board update failure from ops.","triggerScenarios":"Thrown at src/openhuman/threads/todos/tools.rs:314 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use one of the accepted status values (e.g. todo/in_progress/done), matching the board's status vocabulary","Confirm the card id exists via todo_list","Read {e} to distinguish a status-parse error from a persistence error"],"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"}