{
  "value": {
    "search_mode": "tempr_4way",
    "total": 7,
    "primary": [
      {
        "memory_id": "mem_0887dee1f00e",
        "time_id": "T1780734284",
        "time_ts": 1780734284,
        "person_id": "_system",
        "nature_id": "note",
        "content": "CLI recall test memory",
        "content_hash": "da2b67641c6f5be7602917862f0d77b8ff2fdd152c18d36a0ba3e4d4f35a2100",
        "importance": "medium",
        "is_aggregated": 0,
        "source_count": 1,
        "owner_agent_id": "_system",
        "visibility": "private",
        "tenant_id": "default",
        "valence": 0.0,
        "arousal": 0.2,
        "dominance": 0.5,
        "significance": "notable",
        "confidence": 0.5,
        "primary_emotions": "{}",
        "compound_emotions": "[]",
        "source": "agent_memory",
        "source_id": "",
        "deleted": 0,
        "deleted_at": null,
        "custom_ttl": null,
        "valid_from": null,
        "valid_until": null,
        "occurrence_time": null,
        "mention_time": null,
        "last_accessed_ts": 1780734541.4803274,
        "created_at": 1780734284,
        "topics": [],
        "tools": [],
        "knowledge": [],
        "_sources": {
          "structured": true,
          "semantic": false,
          "bm25": true,
          "entity": false,
          "causal": false
        },
        "_structured_rrf": 0.015151515151515152,
        "_bm25_rrf": 0.01639344262295082,
        "_semantic_rrf": 0.0,
        "_entity_rrf": 0.0,
        "_causal_rrf": 0.0,
        "_structured_rank": 6,
        "_bm25_rank": 1,
        "_semantic_rank": 0,
        "_entity_rank": 0,
        "_causal_rank": 0,
        "_hit_count": 2,
        "_rrf_score": 0.031544957774465976,
        "_rank_score": 0.8288228646155171,
        "_rank_breakdown": {
          "importance": 0.06521739130434782,
          "time": 0.0869195033567361,
          "structured": 0.11857707509881424,
          "semantic": 0.0,
          "entity": 0.0,
          "causal": 0.0,
          "quality": 0.023913043478260874,
          "multi_hit": 0.004347826086956523,
          "recency_bias": 0.1304347093932752
        },
        "temporal_context": {
          "is_valid": true,
          "status": "active"
        },
        "_rerank_score": 1.0,
        "_quality_score": 0.275,
        "_quality_grade": "D"
      },
      {
        "memory_id": "mem_f6a171c4b4c5",
        "time_id": "T1780734282",
        "time_ts": 1780734282,
        "person_id": "_system",
        "nature_id": "note",
        "content": "Test memory for CLI",
        "content_hash": "380b26bf501295775743b9f61e023a6ca44d07462a80d665deb4e0cf3632f357",
        "importance": "medium",
        "is_aggregated": 0,
        "source_count": 1,
        "owner_agent_id": "_system",
        "visibility": "private",
        "tenant_id": "default",
        "valence": 0.0,
        "arousal": 0.2,
        "dominance": 0.5,
        "significance": "notable",
        "confidence": 0.5,
        "primary_emotions": "{}",
        "compound_emotions": "[]",
        "source": "agent_memory",
        "source_id": "",
        "deleted": 0,
        "deleted_at": null,
        "custom_ttl": null,
        "valid_from": null,
        "valid_until": null,
        "occurrence_time": null,
        "mention_time": null,
        "last_accessed_ts": 1780734541.4803274,
        "created_at": 1780734282,
        "topics": [],
        "tools": [],
        "knowledge": [],
        "_sources": {
          "structured": true,
          "semantic": false,
          "bm25": true,
          "entity": false,
          "causal": false
        },
        "_structured_rrf": 0.014925373134328358,
        "_bm25_rrf": 0.016129032258064516,
        "_semantic_rrf": 0.0,
        "_entity_rrf": 0.0,
        "_causal_rrf": 0.0,
        "_structured_rank": 7,
        "_bm25_rank": 2,
        "_semantic_rank": 0,
        "_entity_rank": 0,
        "_causal_rank": 0,
        "_hit_count": 2,
        "_rrf_score": 0.031054405392392875,
        "_rank_score": 0.48581053187399237,
        "_rank_breakdown": {
          "importance": 0.06521739130434782,
          "time": 0.08691921580210071,
          "structured": 0.11680726800778715,
          "semantic": 0.0,
          "entity": 0.0,
          "causal": 0.0,
          "quality": 0.02680869565217392,
          "multi_hit": 0.004347826086956523,
          "recency_bias": 0.1304347093932752
        },
        "temporal_context": {
          "is_valid": true,
          "status": "active"
        },
        "_rerank_score": 0.5095,
        "_quality_score": 0.3083,
        "_quality_grade": "D"
      },
      {
        "memory_id": "mem_e9ecfcb6ecc7",
        "time_id": "T1780734379",
        "time_ts": 1780734379,
        "person_id": "_system",
        "nature_id": "note",
        "content": "今天是我使用 Agent Memory 的第一天，期待学习和成长。",
        "content_hash": "1345309d0f0f5082627d770a9d8a6e6fecdfe87319c1f90f7e3901e511a314a7",
        "importance": "medium",
        "is_aggregated": 0,
        "source_count": 1,
        "owner_agent_id": "_system",
        "visibility": "private",
        "tenant_id": "default",
        "valence": 0.0,
        "arousal": 0.2,
        "dominance": 0.5,
        "significance": "notable",
        "confidence": 0.5,
        "primary_emotions": "{}",
        "compound_emotions": "[]",
        "source": "agent_memory",
        "source_id": "",
        "deleted": 0,
        "deleted_at": null,
        "custom_ttl": null,
        "valid_from": null,
        "valid_until": null,
        "occurrence_time": null,
        "mention_time": null,
        "last_accessed_ts": 1780734541.4803274,
        "created_at": 1780734379,
        "topics": [],
        "tools": [],
        "knowledge": [],
        "_sources": {
          "structured": true,
          "semantic": false,
          "bm25": false,
          "entity": false,
          "causal": false
        },
        "_structured_rrf": 0.01639344262295082,
        "_bm25_rrf": 0.0,
        "_semantic_rrf": 0.0,
        "_entity_rrf": 0.0,
        "_causal_rrf": 0.0,
        "_structured_rank": 1,
        "_bm25_rank": 0,
        "_semantic_rank": 0,
        "_entity_rank": 0,
        "_causal_rank": 0,
        "_hit_count": 1,
        "_rrf_score": 0.01639344262295082,
        "_rank_score": 0.14285713981070297,
        "_rank_breakdown": {
          "importance": 0.06521739130434782,
          "time": 0.08693316220191669,
          "structured": 0.12829650748396296,
          "semantic": 0.0,
          "entity": 0.0,
          "causal": 0.0,
          "quality": 0.02680869565217392,
          "multi_hit": 0.0,
          "recency_bias": 0.1304347093932752
        },
        "temporal_context": {
          "is_valid": true,
          "status": "active"
        },
        "_rerank_score": 0.0165,
        "_quality_score": 0.3083,
        "_quality_grade": "D"
      },
      {
        "memory_id": "mem_3c908a044e2a",
        "time_id": "T1780734378",
        "time_ts": 1780734378,
        "person_id": "_system",
        "nature_id": "note",
        "content": "我是一个使用 Agent Memory V12 管理知识和经验的智能体。",
        "content_hash": "11a6ce52df0d74f0859ac565c2750417e9147360f4e75969c29dec457871fdbc",
        "importance": "medium",
        "is_aggregated": 0,
        "source_count": 1,
        "owner_agent_id": "_system",
        "visibility": "private",
        "tenant_id": "default",
        "valence": 0.0,
        "arousal": 0.2,
        "dominance": 0.5,
        "significance": "notable",
        "confidence": 0.5,
        "primary_emotions": "{}",
        "compound_emotions": "[]",
        "source": "agent_memory",
        "source_id": "",
        "deleted": 0,
        "deleted_at": null,
        "custom_ttl": null,
        "valid_from": null,
        "valid_until": null,
        "occurrence_time": null,
        "mention_time": null,
        "last_accessed_ts": 1780734541.4803274,
        "created_at": 1780734378,
        "topics": [],
        "tools": [],
        "knowledge": [],
        "_sources": {
          "structured": true,
          "semantic": false,
          "bm25": false,
          "entity": false,
          "causal": false
        },
        "_structured_rrf": 0.015625,
        "_bm25_rrf": 0.0,
        "_semantic_rrf": 0.0,
        "_entity_rrf": 0.0,
        "_causal_rrf": 0.0,
        "_structured_rank": 4,
        "_bm25_rank": 0,
        "_semantic_rank": 0,
        "_entity_rank": 0,
        "_causal_rank": 0,
        "_hit_count": 1,
        "_rrf_score": 0.015625,
        "_rank_score": 0.1412342313888405,
        "_rank_breakdown": {
          "importance": 0.06521739130434782,
          "time": 0.086933018424599,
          "structured": 0.12228260869565218,
          "semantic": 0.0,
          "entity": 0.0,
          "causal": 0.0,
          "quality": 0.023913043478260874,
          "multi_hit": 0.0,
          "recency_bias": 0.1304347093932752
        },
        "temporal_context": {
          "is_valid": true,
          "status": "active"
        },
        "_rerank_score": 0.018,
        "_quality_score": 0.275,
        "_quality_grade": "D"
      },
      {
        "memory_id": "mem_798f658b017d",
        "time_id": "T1780734379",
        "time_ts": 1780734379,
        "person_id": "_system",
        "nature_id": "note",
        "content": "我的目标是构建一个全面的记忆系统，帮助我更高效地工作。",
        "content_hash": "d7ada6ca19b0c1260d63e3ce95943700268976e8abf619c2d0b36e73354157a7",
        "importance": "medium",
        "is_aggregated": 0,
        "source_count": 1,
        "owner_agent_id": "_system",
        "visibility": "private",
        "tenant_id": "default",
        "valence": 0.0,
        "arousal": 0.2,
        "dominance": 0.5,
        "significance": "notable",
        "confidence": 0.5,
        "primary_emotions": "{}",
        "compound_emotions": "[]",
        "source": "agent_memory",
        "source_id": "",
        "deleted": 0,
        "deleted_at": null,
        "custom_ttl": null,
        "valid_from": null,
        "valid_until": null,
        "occurrence_time": null,
        "mention_time": null,
        "last_accessed_ts": 1780734541.4803274,
        "created_at": 1780734379,
        "topics": [],
        "tools": [],
        "knowledge": [],
        "_sources": {
          "structured": true,
          "semantic": false,
          "bm25": false,
          "entity": false,
          "causal": false
        },
        "_structured_rrf": 0.016129032258064516,
        "_bm25_rrf": 0.0,
        "_semantic_rrf": 0.0,
        "_entity_rrf": 0.0,
        "_causal_rrf": 0.0,
        "_structured_rank": 2,
        "_bm25_rank": 0,
        "_semantic_rank": 0,
        "_entity_rank": 0,
        "_causal_rank": 0,
        "_hit_count": 1,
        "_rrf_score": 0.016129032258064516,
        "_rank_score": 0.13926694075230955,
        "_rank_breakdown": {
          "importance": 0.06521739130434782,
          "time": 0.08693316220191669,
          "structured": 0.12622720897615708,
          "semantic": 0.0,
          "entity": 0.0,
          "causal": 0.0,
          "quality": 0.023913043478260874,
          "multi_hit": 0.0,
          "recency_bias": 0.13043232988034936
        },
        "temporal_context": {
          "is_valid": true,
          "status": "active"
        },
        "_rerank_score": 0.013500000000000002,
        "_quality_score": 0.275,
        "_quality_grade": "D"
      },
      {
        "memory_id": "mem_6abe09ad94ea",
        "time_id": "T1780734292",
        "time_ts": 1780734292,
        "person_id": "_system",
        "nature_id": "note",
        "content": "Memory to forget",
        "content_hash": "05b572cc791e4d6fbf3c17489534f9814e4d730e95d5ab103b145d0bb939d370",
        "importance": "medium",
        "is_aggregated": 0,
        "source_count": 1,
        "owner_agent_id": "_system",
        "visibility": "private",
        "tenant_id": "default",
        "valence": 0.0,
        "arousal": 0.2,
        "dominance": 0.5,
        "significance": "notable",
        "confidence": 0.5,
        "primary_emotions": "{}",
        "compound_emotions": "[]",
        "source": "agent_memory",
        "source_id": "",
        "deleted": 0,
        "deleted_at": null,
        "custom_ttl": null,
        "valid_from": null,
        "valid_until": null,
        "occurrence_time": null,
        "mention_time": null,
        "last_accessed_ts": 1780734541.4803274,
        "created_at": 1780734292,
        "topics": [],
        "tools": [],
        "knowledge": [],
        "_sources": {
          "structured": true,
          "semantic": false,
          "bm25": false,
          "entity": false,
          "causal": false
        },
        "_structured_rrf": 0.015384615384615385,
        "_bm25_rrf": 0.0,
        "_semantic_rrf": 0.0,
        "_entity_rrf": 0.0,
        "_causal_rrf": 0.0,
        "_structured_rank": 5,
        "_bm25_rank": 0,
        "_semantic_rank": 0,
        "_entity_rank": 0,
        "_causal_rank": 0,
        "_hit_count": 1,
        "_rrf_score": 0.015384615384615385,
        "_rank_score": 0.1336661406631411,
        "_rank_breakdown": {
          "importance": 0.06521739130434782,
          "time": 0.08692065357527762,
          "structured": 0.12040133779264214,
          "semantic": 0.0,
          "entity": 0.0,
          "causal": 0.0,
          "quality": 0.023913043478260874,
          "multi_hit": 0.0,
          "recency_bias": 0.1304347093932752
        },
        "temporal_context": {
          "is_valid": true,
          "status": "active"
        },
        "_rerank_score": 0.008,
        "_quality_score": 0.275,
        "_quality_grade": "D"
      },
      {
        "memory_id": "mem_79d8b26da69f",
        "time_id": "T1780734379",
        "time_ts": 1780734379,
        "person_id": "_system",
        "nature_id": "note",
        "content": "This is my first memory in Agent Memory V12!",
        "content_hash": "09ff8dd10299a764fc89cee3733d4537fdfb57f823dc63fcb70f5d394d3032ea",
        "importance": "low",
        "is_aggregated": 0,
        "source_count": 1,
        "owner_agent_id": "_system",
        "visibility": "private",
        "tenant_id": "default",
        "valence": 0.0,
        "arousal": 0.2,
        "dominance": 0.5,
        "significance": "notable",
        "confidence": 0.5,
        "primary_emotions": "{}",
        "compound_emotions": "[]",
        "source": "agent_memory",
        "source_id": "",
        "deleted": 0,
        "deleted_at": null,
        "custom_ttl": null,
        "valid_from": null,
        "valid_until": null,
        "occurrence_time": null,
        "mention_time": null,
        "last_accessed_ts": 1780734541.4803274,
        "created_at": 1780734379,
        "topics": [],
        "tools": [],
        "knowledge": [],
        "_sources": {
          "structured": true,
          "semantic": false,
          "bm25": false,
          "entity": false,
          "causal": false
        },
        "_structured_rrf": 0.015873015873015872,
        "_bm25_rrf": 0.0,
        "_semantic_rrf": 0.0,
        "_entity_rrf": 0.0,
        "_causal_rrf": 0.0,
        "_structured_rank": 3,
        "_bm25_rank": 0,
        "_semantic_rank": 0,
        "_entity_rank": 0,
        "_causal_rank": 0,
        "_hit_count": 1,
        "_rrf_score": 0.015873015873015872,
        "_rank_score": 0.1278765726586818,
        "_rank_breakdown": {
          "importance": 0.013043478260869566,
          "time": 0.08693316220191669,
          "structured": 0.12422360248447203,
          "semantic": 0.0,
          "entity": 0.0,
          "causal": 0.0,
          "quality": 0.020286956521739133,
          "multi_hit": 0.0,
          "recency_bias": 0.1304347093932752
        },
        "temporal_context": {
          "is_valid": true,
          "status": "active"
        },
        "_rerank_score": 0.022000000000000002,
        "_quality_score": 0.2333,
        "_quality_grade": "D"
      }
    ],
    "related": [],
    "causal_expansion": [],
    "cultural_associations": [],
    "phonetic_similar": [],
    "entity_expansion": [],
    "entity_context": {
      "entities": [],
      "expanded": false
    },
    "query": "recall test",
    "intent": "general",
    "suggestions": [],
    "_trace": {
      "trace_id": "tr_a7ea379ebe77",
      "query": "recall test",
      "result_summary": "found 7 results via tempr_4way, top_score=0.829",
      "confidence": 0.9144114323077586,
      "sources_consulted": [
        "mem_e9ecfcb6ecc7",
        "mem_798f658b017d",
        "mem_79d8b26da69f",
        "mem_3c908a044e2a",
        "mem_6abe09ad94ea"
      ],
      "steps": [
        {
          "step_type": "init",
          "detail": "mode_hints: structured=False, semantic=True, strategy=auto",
          "timestamp": 1780734541.1850448
        },
        {
          "step_type": "vec_search",
          "detail": "semantic found 0 results (top_k=20)",
          "timestamp": 1780734541.1945877
        },
        {
          "step_type": "fts_search",
          "detail": "structured found 7 results",
          "timestamp": 1780734541.1955976
        },
        {
          "step_type": "bm25_search",
          "detail": "BM25 found 2 results",
          "timestamp": 1780734541.465657
        },
        {
          "step_type": "entity_search",
          "detail": "entity expansion found 0 results",
          "timestamp": 1780734541.4672415
        },
        {
          "step_type": "causal_search",
          "detail": "causal expansion found 0 results",
          "timestamp": 1780734541.4692512
        },
        {
          "step_type": "rrf_fusion",
          "detail": "4way merged 7 results (hits: {'structured': 7, 'semantic': 0, 'entity': 0, 'causal': 0, 'bm25': 2}, multi: 2)",
          "timestamp": 1780734541.4702532
        }
      ],
      "uncertainty_factors": [],
      "alternatives_considered": [],
      "created_at": 1780734541.1850448
    },
    "status": "ok"
  },
  "expires_at": 1780738141.492414,
  "created_at": 1780734541.492414,
  "_hmac": "661963146556e4868bfb6afe7530edb9eeb5238fe588202fe7b23be0c2101f69"
}