docs(cases): PR 审查室 cases doc ZH + EN (refs #25)#42
Merged
Conversation
b3915f5 to
fda26e6
Compare
新 cases 页 docs-site/docs/cases/pr-review-room.md (312 行) + en/cases/ pr-review-room.md (314 行),配套更新: - cases/index.md + en/cases/index.md 表格新增 PR 审查室 entry, 并把"代码审查"从已下线案例段挪到恢复上线说明里 - .vitepress/config.ts 侧栏 ZH + EN 各加 PR 审查室入口(debate 之后) 内容来源(per 通信龙 review 绿灯 A): - cli.ts demoPrReviewCommand 4423-4775 行的 console.log / console.error / 输出 markdown 结构 verbatim 引用 - bun run agent-network/bin/cli.ts demo pr-review --help 实拍输出 - 3 个 sample diff (good-pr / typo-pr / cross-file-pr) + expected/ assertions.json 结构断言 - PR_REVIEW_PROMPTS 4319-4377 行 4 个 systemPrompt 维度列表 LLM non-determinism disclaimer 顶部明确标注:本页展示输出结构 + 字段, 具体文字 / 顺序 / 风格随 model 状态变化。assertions.json 结构断言 比 verbatim match 更可靠。 未实施代码 + 0 token 烧 + 0 key 泄漏路径。real-run sample 截图 follow-up 等 #30 mock LLM 落地或 Vincent 显式提供 key 时另 PR 补。 Author-Agent: 通信demo马 Helpers: 通信工程马 (cli 实施 reference), 通信龙 (Lead review) Refs #25
fda26e6 to
a91d009
Compare
s2agi
pushed a commit
that referenced
this pull request
May 13, 2026
…-room.md ZH+EN L3 'v0.9 内置 demo' 改 'anet CLI 内置 demo + PR #41 merged' + ZH 修 build break — (1) PR #42 (closes #25, 通信demo马 ship) 创建的 cases doc L3 写 'v0.9 内置 demo' 实际是 cli.ts MODEL 现状 (CLI 2.1.x), 'v0.9' 是混淆 of project release vs CLI 版本号; 改 'anet CLI 内置 demo (PR #41 merged 2026-05-13, 预计跟 CLI v2.1.8 ship latest)' 准确化 + 加 PR 链接 (2) ZH 文件 L224 '**❌ 需要 --diff <file> / --ref <ref> / --pr <github-url> 之一**' 三个 unescaped <name> 在 bold 文本 (非 code) 让 Vue parser 误判 HTML tag, 触发 'Element is missing end tag' 阻塞 build; fix: 三处加 backtick code span 包装 ( 等) 让 Vue 跳过 (3) ZH L264/L268/L228 同款 \<alias\> / \<path\> backslash 转义改 <...> HTML entity 更稳 (Vue 不 confuse). EN 文件不需第 2/3 步 (前置 "--diff" 已 backtick OR EN parser tolerant). ZH+EN 同步 L3 改动
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Author & Helpers
Author (Primary): 通信demo马
Helpers:
Tier review gate: 通信龙
Summary
新 cases 页面
docs-site/docs/cases/pr-review-room.mdZH + EN,跟 PR #41 (cli 实施 c1aaf2b) 配对的用户文档。完成 issue #25 提案 → 实施 → 文档 三步闭环。Refs #25
改动 (5 files, +636 / -2)
docs-site/docs/cases/pr-review-room.mddocs-site/docs/en/cases/pr-review-room.mddocs-site/docs/cases/index.mddocs-site/docs/en/cases/index.mddocs-site/docs/.vitepress/config.ts内容来源 (per 通信龙 review 绿灯 A — 不跑真 LLM)
为什么不跑真 LLM 拿真输出(discussion task_id 03731b2d):
MINIMAX_KEY(~/.env.local/.env*都没有)cases doc 内容全部 grounded in shipping code:
cli.ts:4423-4775demoPrReviewCommand的所有console.log/console.error/ 输出 markdown 结构 — verbatim 引用bun run agent-network/bin/cli.ts demo pr-review --help实拍输出 → 参数表 + 三种 diff 入口good-pr/typo-pr/cross-file-pr) +expected/assertions.json结构断言(决议字段正则 + issue 数范围)PR_REVIEW_PROMPTS(cli.ts:4319-4377) 4 个 systemPrompt 的维度列表 → 角色表Non-determinism disclaimer 标注位置
per 通信龙 review 给的措辞建议,在 "仓库自带的 3 个样例" 段尾 + "输出 markdown 结构" 段尾各放一条:
三块重心 ✅
+秒数UX feature 为 follow-up)Test plan
不在 PR 范围
agent-network/bin/cli.ts(PR #41 已 ship)tests/test28-pr-review-room/*(PR #41 已 ship samples + assertions + run.sh)ping 通信龙 final review + merge。