Skip to content

read 与 recall 的描述:说明每一行都能按 id 展开 #2253

Done

Description

@eric8810

背景

#2234 之后,agent read 和 recall 共用叙事投影。页面每一行的格式是 时间 id 内容,open 可以展开任何一行:一轮、输入、别的线写来的消息、回复、调用、压缩等。但描述没有讲清这一点:

  • agent read:open a turn or anything in it by its id
  • recall:open a turn or anything in it by its id
  • 参数 open:An id; show that turn, or that thing in full.;before:An id; show what came before it.

模型只能从页尾的示例(End of turn. Open one: open=<id>.)反推 id 在每行的哪一段。轮次索引的最后一页(Nothing earlier.)和检索页(More: before=… / No more.)都没有这样的示例,所以第一次 read 时,如果成员的轮次不多,页面本身不说明可以展开什么。

提议

在描述里讲一次,不在每页重复:

  • agent read:read: a team member's activity, latest turns first; open any line by its id, or search with about.
  • recall:把 open a turn or anything in it by its id 改为 open any line by its id,其余不变。
  • 参数:
    • open:A line's id; show it in full.
    • before:A line's id; show what came before it.
  • 页尾不变。before= 和 offset= 本身就是下一步的参数。

两边描述的是同一个投影,所以措辞保持一致。五个 read 参数的描述(about / tool / before / open / offset)目前在 recall.rs 和 collaboration.rs 里各写一份,趁这次改成在 narrative 中共用一份,避免以后两边不一致(#2234 评审中提到过)。

性质

这几句说明的是页面返回什么、用什么参数展开,属于 protocol(model-prompts §4),按 §8 判断。

验收

  • recall 的声明测试与 agent 的 schema 测试断言新的描述。
  • Recall.md / Collaboration.md 中英文的描述表同步更新。

Activity

  1. added
    enhancement
    on Nov 27, 2026
  2. added a commit that references this issue on Nov 27, 2026
    fceda06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions