{"record":{"id":"401c6a289f9fd24e","repo":"tinyhumansai/openhuman","slug":"people-get-e","errorCode":null,"errorMessage":"people_get: {e}","messagePattern":"people_get: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/tools/people.rs","lineNumber":234,"sourceCode":"\n    fn parameters_schema(&self) -> serde_json::Value {\n        json!({\n            \"type\": \"object\",\n            \"properties\": { \"person_id\": { \"type\": \"string\", \"description\": \"Person id (UUID).\" } },\n            \"required\": [\"person_id\"]\n        })\n    }\n\n    async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {\n        log::debug!(\"[tool][people] get invoked\");\n        let person_id = parse_person_id(&args)?;\n        let guard = people_guard().await?;\n        let person = guard\n            .as_people()\n            .expect(\"checked\")\n            .get_person(&person_id)\n            .await\n            .map_err(|e| anyhow::anyhow!(\"people_get: {e}\"))?;\n        Ok(ToolResult::success(serde_json::to_string(&json!({\n            \"person\": person,\n        }))?))\n    }\n\n    fn is_concurrency_safe(&self, _args: &serde_json::Value) -> bool {\n        true\n    }\n}\n\n/// Attach a handle alias to a person.\npub struct PeopleAddAliasTool;\n\n#[async_trait]\nimpl Tool for PeopleAddAliasTool {\n    fn name(&self) -> &str {\n        \"people_add_alias\"\n    }","sourceCodeStart":216,"sourceCodeEnd":252,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/tools/people.rs#L216-L252","documentation":"Error-surfacing wrapper in the people_get tool's execute: after parse_person_id and people_guard succeeded, the get_person driver call failed and the error is re-wrapped with the people_get prefix. Means the lookup itself failed — typically an unknown person_id or driver/transport error; it does not indicate missing arguments.","triggerScenarios":"Thrown at src/openhuman/memory/tools/people.rs:234 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Handle not-found persons gracefully in the caller","Retry transient driver errors","Check the person id came from a prior people_list/resolve"],"exampleFix":null,"handlingStrategy":"retry","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"}