{"record":{"id":"544e4346842a9879","repo":"tinyhumansai/openhuman","slug":"people-record-interaction-e","errorCode":null,"errorMessage":"people_record_interaction: {e}","messagePattern":"people_record_interaction: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/tools/people.rs","lineNumber":347,"sourceCode":"            .and_then(serde_json::Value::as_bool)\n            .ok_or_else(|| anyhow::anyhow!(\"missing required boolean argument `is_outbound`\"))?;\n        let length = args\n            .get(\"length\")\n            .and_then(serde_json::Value::as_u64)\n            .unwrap_or(0) as u32;\n        let interaction = PersonInteraction {\n            person_id,\n            at: Utc::now().to_rfc3339(),\n            is_outbound,\n            length,\n        };\n        let guard = people_guard().await?;\n        guard\n            .as_people()\n            .expect(\"checked\")\n            .record_interaction(&interaction)\n            .await\n            .map_err(|e| anyhow::anyhow!(\"people_record_interaction: {e}\"))?;\n        Ok(ToolResult::success(serde_json::to_string(\n            &json!({ \"ok\": true }),\n        )?))\n    }\n}\n\n/// Bulk-ingest the OS address book. **Triggers a permission prompt** —\n/// default-OFF.\npub struct PeopleRefreshAddressBookTool;\n\n#[async_trait]\nimpl Tool for PeopleRefreshAddressBookTool {\n    fn name(&self) -> &str {\n        \"people_refresh_address_book\"\n    }\n\n    fn description(&self) -> &str {\n        \"Bulk-import the operating system address book into the people store, \\","sourceCodeStart":329,"sourceCodeEnd":365,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/tools/people.rs#L329-L365","documentation":"Error-surfacing wrapper in the people_record_interaction tool's execute: record_interaction on the driver failed after the PersonInteraction was assembled (person_id, timestamp, is_outbound, length). The interaction was not persisted; causes include unknown person_id or driver errors. Distinct from the earlier `missing required boolean argument is_outbound` guard, which fires before this.","triggerScenarios":"Thrown at src/openhuman/memory/tools/people.rs:347 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry transient store failures","Verify the person_id exists first","Inspect the chained error for constraint violations"],"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"}