You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
[Plan] Full-repo review of aevatar — 分阶段 + 多模型 + 新通用 module-review skill
TL;DR
目标:在 2-3 个月内完成对 aevatar 整个 repo(132 csproj / ~387k LOC / 70+ src 项目 + 23 agents + 38 test)的系统化 review,输出可追踪、可归档、可增量更新的 finding 清单。
方法:
opencode-pr-review改造:复用同一组 6 个 reviewer(3 opencode + kimi + gemini + codex),但输入从 PR diff 改为 任何 repo 的模块/目录/专题;可被 schedule 触发。docs/audit-scorecard/。1. 现状摘要
Audit 盲区(基于现有 scorecard 自述):
agents/与apps/不在大多数 CI guard 扫描范围tools/Aevatar.Tools.Cli与tools/Aevatar.Tools.Config未做过完整架构 reviewAevatar.Authentication.Providers.NyxId流缺专项回归保护2. 总体策略
2.1 切分原则
2.2 评审深度档位
底盘层(Foundation / CQRS)默认 deep;业务子系统默认 standard;GAgent 默认 quick → 命中风险后升级。
2.3 评审维度(每单元都要查)
继承
opencode-pr-review的清单(DI / arch / concurrency / bug / security / perf / test),加上 aevatar 专属:docs/canon/<topic>.md描述一致;canon drift 也是 finding3. Review 单元清单(执行顺序)
阶段 0:Bootstrap(1 单元)
Aevatar.Configuration、Aevatar.Interop.A2A.Abstractions)做 dry-run 验证阶段 1:底盘(5 单元 / deep)—— 从这里开始
阶段 2:横切支撑(4 单元)
阶段 3:业务子系统(8 单元)
阶段 4:GAgents(4 单元,按业务域)
阶段 5:Platform & Tools(3 单元)
阶段 6:宿主(2 单元)
阶段 7:测试体系(1 单元,可拆)
阶段 8:横切专题(5+ 单元,按需开)
ConcurrentDictionary/Dictionary<>/ 静态注册表4. 新通用 skill:
opencode-module-review(暂名)4.1 设计原则
4.2 与
opencode-pr-review的差异<pr-number><scope>:目录 / .csproj / .slnf / glob / 专题主题--repo owner/name --ref <sha|branch>)/opencode-pr-review/schedule(cron)gh pr diff(path, side, line)±2(theme, scope, finding-class)模糊匹配--baseline跳过已结案的 finding4.3 参数
4.4 Procedure 概要
--theme→ 用预定义 grep 模式找入口(如serialization→JsonSerializer | System.Text.Json)gh repo clone到/tmp/.../<repo>-<ref>/或用 worktreedocs/canon/):根据 scope 命中关键字注入--- diff ---为--- file manifest ---+--- relevant canon ---+ 提示 reviewer 用 file-reading 工具自取)audit-finding+audit/<unit-id>+severity/<sev>label)4.5 与 pr-review 共享的部分
4.6 Schedule 用法示例
5. 跟踪机制
audit-findinglabelaudit/<unit-id>labelseverity/{blocker,major,minor,nit}label6. 节奏与下一步
节奏:每周推进 2-3 个单元;每完成一阶段(5-7 个单元)做一次综合健康度更新;遇到 P0 finding 立刻拆 issue 不等阶段结束。
已确定方向:
opencode-pr-review改造,跨 repo + 可 scheduledocs/audit-scorecard/下一步:
opencode-module-reviewskill 写出来cc 维护者们;欢迎对单元划分 / 横切专题做补充。
All reactions