Files
Agent-System/.doc/ops/short-term/2026-09-20-trace-multihop-t3.md
T
weichenandCursor ae86b47f6f docs(ops): record the stage backtrack implementation slices
The slices share feature/stage-backtrack-impl. Migration 00059 is not applied to the running environments yet.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-20 15:35:22 +00:00

1.8 KiB

title, status, created, updated, owner, branch, worktree, mutex
title status created updated owner branch worktree mutex
T3 多跳影响与候选边治理 done 2026-09-20 2026-09-20 Cursor-Auto feature/stage-backtrack-impl - trace-index

T3 多跳影响与候选边治理

目标

影响分析沿已确认边做有界反向遍历,模型候选边由下游编制人确认或否决。

范围

  • 默认深度 3,环检测,查询上限。
  • model_candidate 只产生 possible_impact,直到 project_trace_edge_decisions 记下确认。
  • 裁决人是下游文档编制人;没有编制人时是创建者。
  • 不新增 trace_reviewer。

非目标

  • 不建图数据库。
  • 不用向量相似度直接写已确认边。
  • 不在 rdev 上做首期放量验收。
  • 不实现阶段再打开。

步骤

  1. T2 合入后开 feature/trace-multihop-t3。mutex trace-index,不得与 T2 同时 in_progress。
  2. 反向遍历与环、深度、权限过滤测试。
  3. 候选确认/否决 API 与决定账本。
  4. 确认后的边进入下一次影响报告;否决的边不再贡献影响。

验收标准

  • 反向遍历深度 3,更深的边不会进入已确认影响。单测 TestWalkReverse_DepthAndCycle。
  • 非下游编制人且非创建者不能裁决。CanDecide 不识别管理员。
  • 候选边不参与遍历;未决时覆盖状态可以是 possible_impact,分析在索引未完成时不会说无影响。

相关链接

证据 / 备注

与 T2 共用 trace-index mutex,必须串行。