Skip to content

feat(evolution): member-scoped attribution, clusters and patches (#814) - #821

Closed
ZTGolem wants to merge 1 commit into
mainfrom
agent/issue-814-member-scope-b069f4c352b6
Closed

ZTGolem wants to merge 1 commit into
mainfrom
agent/issue-814-member-scope-b069f4c352b6

Conversation

@ZTGolem

@ZTGolem ZTGolem commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

变更

实现 issue #814:归因、聚类与 edit patch 共享成员身份。

  • 归因 fan-out:多成员对象的候选按“case 自身成员 ∪ Session 命中成员”逐成员产出 probe_reports;新增 evolution_run_candidate_probes run 级关联记录全部报告,evolution_run_candidates.probe_id 只保留首个指针。对象级报告只在候选集合为空时兜底;单成员/历史缓存键与路径不变。
  • 聚类成员键:draft/簇携带 member_id;LLM 审查校验禁止跨成员合并,超限分批与降级桶都按 (type, member);probe_clusters.member_id 持久化(migration 0044)。
  • 成员 patch:CandidateTrace.member 由簇成员解析;allowed_paths 只含该成员 sub_dir,prompt/commit 写该成员;对象级保留并集兜底。
  • 前端:第 4 步按 case rowspan 展示多份成员报告;第 5 步按成员分组、每簇单成员;第 6 步显示成员、改动范围与成员级 commit;信息面板报告/案例口径修正。
  • 历史:member_id=null 的历史报告/簇/轮次只读兼容,不重写;评测仍是 run 级一个分数。

设计/原型对齐

实现按 plans/fullstack-design/18 §5.2/§5.4、07 §5.5.2/§5.5.4 与 plans/ui-prototype-v2/design-v2.md §7.1.1 落地;UI 与 plans/ui-prototype-v2/harness-evolution.html 的 member-scope 行为一致。design/07 文档已同步,另有双语 Agent Note。

验证

已知限制

  • review 冻结输入仍为 case 级:二次成员报告随 case 纳入/移出,不能单独排除(逐报告 review 留后续)。
  • 历史混合簇无成员,仍走对象级并集,不自动拆分。
  • 真实应用冒烟截图将在本地运行后补充到 PR 描述(不提交代码仓)。

This pull request was produced by dsh-superagent under the ZTGolem account.

@ZTGolem

ZTGolem commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by a correctly named ticket branch so the PR binds to the superagent ticket.

@ZTGolem ZTGolem closed this Dec 5, 2026
@ZTGolem
ZTGolem deleted the agent/issue-814-member-scope-b069f4c352b6 branch December 5, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant