Repository navigation
feat(claude-code): recall status line under the prompt, and an evidence-based turn summary - #111
Conversation
…n summary actually knows The relay rewrite (c6520b7) dropped the status line the hooks module kept under the prompt. Since then a turn showed nothing while it recalled, and nothing at all when the recall injected nothing. The turn summary read "✓ Goal reached · reused EvoMap strategy" whenever a strategy had been injected, even when no check ran and the model never used it. Status line (Claude Code): - promptSubmitted returns `traced`, the recall's last trace (absent for a turn nobody typed for). The relay answers turn.start with a "recalling…" status and /late with what the recall decided: injected (name, how many the Hub returned), none fits, none relevant enough or new, too few steps, Proxy did not answer, or arrived after the turn ended. The module pins it with $.ui.status. Turn summary (Claude Code, Codex, Grok, Qoder, MiniMax): - Names each injected strategy with its short asset id. - Says what the last check shows ("no check ran, so its use is unverified" when none ran) instead of "Goal reached". - Says what EvoMap was told, and "without evidence" for a report with no check behind it. - Drops the fresh-token count; a saving is still shown only behind a passing check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Sentinel 已审核此变更,未发现已核验问题,但发现需要人工确认的风险。 另有 2 个需要人工确认的风险;黄色 advisory 不阻塞合并,建议开发 agent review advisory 评论并逐条确认。 开发 agent 查询详情: 调用 MCP 工具 由 Sentinel 审核 · 目标提交 637a7ccfc465 |
|
Sentinel 保留了 2 个尚未确认的审核候选。这些黄色条目不阻塞合并;红色 P0/P1 与其他独立硬门禁不受影响。 单一猜测、缺少变更行证据或纯 checklist 的候选会统一降为 P3。
需要完整证据时,可用行末 由 Sentinel 审核 · 目标提交 637a7ccfc465 |
… recall that cannot answer settles it - A recall that answered once a later turn had started (its own turn ended first, or its /late answer was slow) overwrote the later turn's line with its result. The module now keeps the id of the turn that runs, and a late answer writes the line only for that turn. - A turn that showed "recalling…" stayed on it when /late failed or the relay restarted between requests. Its line now settles on "recall did not finish for this prompt". Turns that showed no status (task notifications) are left alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Sentinel 已审核此变更,未发现已核验问题,但发现需要人工确认的风险。 另有 4 个需要人工确认的风险;黄色 advisory 不阻塞合并,建议开发 agent review advisory 评论并逐条确认。 开发 agent 查询详情: 调用 MCP 工具 由 Sentinel 审核 · 目标提交 3263f7fb9e95 |
|
Sentinel 保留了 4 个尚未确认的审核候选。这些黄色条目不阻塞合并;红色 P0/P1 与其他独立硬门禁不受影响。 单一猜测、缺少变更行证据或纯 checklist 的候选会统一降为 P3。
需要完整证据时,可用行末 由 Sentinel 审核 · 目标提交 3263f7fb9e95 |
A hooks module older than the status line, running beside a newer relay (e.g. while the plugin is updated under a running session), read any non-null /late answer as a landed strategy, so a status-only answer would have appended `undefined` to the conversation. The current module now asks with `withStatus: true`. Without it, the relay answers as before: a strategy or null. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Sentinel 已审核此变更,未发现已核验问题,但发现需要人工确认的风险。 另有 10 个需要人工确认的风险;黄色 advisory 不阻塞合并,建议开发 agent review advisory 评论并逐条确认。 开发 agent 查询详情: 调用 MCP 工具 由 Sentinel 审核 · 目标提交 0011814edc19 |
|
Sentinel 保留了 10 个尚未确认的审核候选。这些黄色条目不阻塞合并;红色 P0/P1 与其他独立硬门禁不受影响。 单一猜测、缺少变更行证据或纯 checklist 的候选会统一降为 P3。
需要完整证据时,可用行末 由 Sentinel 审核 · 目标提交 0011814edc19 |
…ot finish" means only a failed request A trace with no line of its own (or a recall with no trace) made /late answer null, which the module showed as "recall did not finish". Any finished recall with a trace now answers a status, with "no EvoMap strategy injected" for decisions the line names nothing else for. The module keeps "did not finish" for a /late request that failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Sentinel 已审核此变更,未发现已核验问题,但发现需要人工确认的风险。 另有 8 个需要人工确认的风险;黄色 advisory 不阻塞合并,建议开发 agent review advisory 评论并逐条确认。 开发 agent 查询详情: 调用 MCP 工具 由 Sentinel 审核 · 目标提交 660dd3555515 |
|
Sentinel 保留了 8 个尚未确认的审核候选。这些黄色条目不阻塞合并;红色 P0/P1 与其他独立硬门禁不受影响。 单一猜测、缺少变更行证据或纯 checklist 的候选会统一降为 P3。
需要完整证据时,可用行末 由 Sentinel 审核 · 目标提交 660dd3555515 |
Sentinel review items: conclusions at 660dd35Head
🤖 Generated with Claude Code |
Problem
Two complaints from using the plugin in Claude Code:
evolver · recall: …there with$.ui.status. The relay rewrite (c6520b7, 2026-10-27) dropped it. Since then a turn shows nothing while it recalls, and nothing at all when the recall injects nothing. A quiet turn can't be told apart from one that never recalled.✓ Goal reached · reused EvoMap strategy "…" · this turn used 11k fresh tokens:successwith evidence tiernone.Change
Status line (Claude Code)
promptSubmittednow also returnstraced: the recall's last trace fromonTrace. A turn nobody typed for, such as a task notification, has no trace, so its status is left unchanged.turn.startwithstatus: "evolver · recalling an EvoMap strategy for this prompt…"./latenow always answers with what the recall decided, including when nothing was injected:injected "<name>" (the Hub returned N)/injected Recipe "<name>" (K steps)no EvoMap strategy fits this promptnone injected: the Hub returned N, none is relevant enough or new to this session/… none has enough steps to followrecall skipped: the Evolver Proxy did not answer (/evolver-status)prompt too short to recall for"<name>" arrived after this turn ended, not injected$.ui.status.lib/recall-status.jsholds the wording, as pure functions.Turn summary (Claude Code, Codex, Grok, Qoder, MiniMax share it)
strategies).none.Not changed
successwith tiernone; the notice now just says so.Tests
test/recall-status.test.js. Updated:test/turn-summary.test.js, which covers every case.test/channels/relay.test.js:turn.startcarries the recalling status, and/latecarries the injected status.{ status: "evolver · no EvoMap strategy fits this prompt" }.test/hosts/claude-code/module.test.jsloads the packed module and asserts$.ui.statuswas called with "recalling…" and then "injected …".claude plugin validatepasses on the packedclaude-codefolder. The only warning is the missing icon, as before.🤖 Generated with Claude Code