Repository navigation
feat(claude-code): end every recalled-for turn with a notice, and lead the status line with its decision - #112
sentinel advisory review
Repository: evomap/evolver-agent-plugin
PR: #112
Head: e5f33abd9abbdbc6a96ab2d57b9f36314d64c176
Task: task_d91a8a86d6104289c440dca658e1d3e8
Status: verified_needs_manual_review
Blocking findings: 0
Non-blocking verified findings: 0
Yellow advisory: 4
Blocking clusters: 0
Unresolved review items: 4
Prior-head recheck obligations: 0
Invalid review item statuses: 0
Pending gate reconciliation: 0
Pending result publication: 0
Review/CI integrity blockers: 1
Lineage cutover ready: true
Agent context: /api/v1/sentinel/pr-review-context?head_sha=e5f33abd9abbdbc6a96ab2d57b9f36314d64c176&owner_repo=evomap%2Fevolver-agent-plugin&pr_number=112
Yellow advisory summary:
p2Recall 与 join 失败被吞掉并映射为正常业务状态: path:POST /event(turn.start) → recall Promise 拒绝,或POST /late/join→landed.join()拒绝 →POST /event(turn.complete) | mechanism:started()在traced拒绝时只把isSettled设为true,丢弃错误并保留trace=null,最终由recallStatusOf(null)输出普通的○ no EvoMap strategy injected。类似地,joining()的拒绝处理器返回成功完成的 Promise,使ended()将其视为“已及时结束”,再输出“模型最后一步后召回、未使用”,而不是 join 失败。 | probe: 在 relay 测试中让traced返回Promise.reject(new Error('proxy failed')),完成同一回合;再让landed.join()返回 rejected Promise,捕获/late/join失败后调用同一回合的turn.complete。p2重复turn.start会让旧 recall 的 join 写入新一代回合: path: 同一 session 的turn.start因重试或重复投递而使用相同turn_id两次,随后旧请求执行/late/join| mechanism:started()对相同[session_id, turn_id]直接Map.set()覆盖记录,但旧 late 条目只保存相同的turnKey,没有请求代次或 recall id。旧条目的/late/join因而会把新记录的isJoined置为true,使新 recall 在自身未加入时也可能生成成功注入总结。 | probe: 对同一session_id/turn_id连续发送两次turn.start,保留两个 late id;让第二个 recall 返回 injected 但不 join,再对第一个 recall 执行/late/join,最后发送turn.complete。p3超过 64 个活跃回合时,较早回合永久丢失结束通知: path: 多会话并发调用/event的turn.start,累计 65 个尚未完成的回合,随后第一个回合发送turn.complete| mechanism:turnRecalls.started()在记录数超过MAX_LATE时直接删除最早记录,没有确认该回合已经完成、取消或转移状态。该回合之后进入ended()时查不到记录并返回null;当channel.handle()本身也没有摘要文本时,本 PR 承诺的 recall 结束通知不会生成。 | probe: ** | facts:MAX_LATE为64。;started()在turns.size > MAX_LATE时删除turns.keys().next().value。;ended()查不到记录时直接return null。;/event对turn.complete只有在notice存在且answer.text为空时才写入text。 | uncertainty: 未提供生产环境是否允许同一 relay 同时保有超过 64 个未完成回合。; 未提供容量上限是否被设计为允...(truncated)p3缺少session_id时不同回合可共享并覆盖召回状态: path: 已认证客户端依次调用/event的turn.start和turn.complete,两个事件使用相同turn_id且不提供session_id| mechanism: 新增的turnKeyOf()在session_id缺失时使用null组成键;因此所有缺少会话 ID、且turn_id相同的调用共享同一个Map项。后到的turn.start会覆盖前一回合状态,前一回合的turn.complete随后可能消费后一回合的 trace、策略名称或 join 状态。 | probe: 启动 relay 后,使用合法 token 向/event提交两个turn.start,均设置turn_id: "t1"、省略session_id,但使用能产生不同 recall trace 的文本;随后提交第一个回合的turn.complete。
Large PR review:
- Size class:
normal - Review mode:
sliced - Slice count:
1 - Sentinel split this PR into review slices. This check stays in progress until the sliced review is aggregated.
Sentinel desired check mode: non_blocking.
Required-check usage is configured in GitHub Branch Protection; Sentinel reports its effective status as unknown.
Details
sentinel found non-blocking yellow advisory or P2/P3 review items. This Check remains neutral, including in required repositories; red P0/P1 and independent hard gates are unaffected.