Skip to content

[Bug] Hermes system_prompt.] _block 返回 静态文本,agent 看不到L3 persona #205

Description

@pgjh

问题

TencentDB 的 L3 persona pipeline 已经在正常工作(4 层深度扫描:anchors → interests → interaction → cognitive core),/recall 端点也返回了 recalledL3Persona 字段。

但 Hermes 插件的 system_prompt_block() 返回的是静态工具使用说明,没有调用 /recall 把已生成的 persona 注入到 agent 的 system prompt 里。画像已经算出来了,但 agent 从来看不到。

影响

  • 用户花 token 跑了 L3 pipeline,但 agent 完全没用到这些数据
  • 对比 OpenClaw:contextEngine slot 能用上全链路能力;Hermes 只能手动调 memory_search 工具

建议修复

system_prompt_block() 应调用 /recall 获取 recalledL3Persona,注入到 system prompt。改动 ~15 行。

附加问题

  1. on_memory_writepass — 内置 memory 写入不同步到 TencentDB
  2. 只有 2 个只读工具 — 没有写入/画像工具,Hermes 侧只能搜不能写

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions