{"record":{"id":"0b5a3d19721ec9da","repo":"tinyhumansai/openhuman","slug":"people-resolve-e","errorCode":null,"errorMessage":"people_resolve: {e}","messagePattern":"people_resolve: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/tools/people.rs","lineNumber":161,"sourceCode":"        })\n    }\n\n    fn permission_level(&self) -> PermissionLevel {\n        // May mint a new person record when create_if_missing is set.\n        PermissionLevel::Write\n    }\n\n    async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {\n        log::debug!(\"[tool][people] resolve invoked\");\n        let handle = parse_handle(&args)?;\n        let create = args\n            .get(\"create_if_missing\")\n            .and_then(serde_json::Value::as_bool)\n            .unwrap_or(false);\n        let guard = people_guard().await?;\n        let outcome = rpc::handle_resolve(guard.as_people().expect(\"checked\"), handle, create)\n            .await\n            .map_err(|e| anyhow::anyhow!(\"people_resolve: {e}\"))?;\n        Ok(ToolResult::success(serde_json::to_string(&outcome.value)?))\n    }\n}\n\n/// Score breakdown for a person.\npub struct PeopleScoreTool;\n\n#[async_trait]\nimpl Tool for PeopleScoreTool {\n    fn name(&self) -> &str {\n        \"people_score\"\n    }\n\n    fn description(&self) -> &str {\n        \"Return the closeness score and its components (recency, frequency, \\\n         reciprocity, depth) plus interaction count for one `person_id`.\"\n    }\n","sourceCodeStart":143,"sourceCodeEnd":179,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/tools/people.rs#L143-L179","documentation":"people_resolve failed after parsing the handle — either the driver's resolve call errored, or create_if_missing semantics could not be applied. The underlying error is chained with the tool name prefix.","triggerScenarios":"Thrown at src/openhuman/memory/tools/people.rs:161 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the chained error for the resolve failure cause","Retry transient driver errors","Verify the handle kind/value parse correctly before resolving"],"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"}