docs: record cli output disclosure rules

This commit is contained in:
Codex
2026-06-25 13:19:50 +00:00
parent 04f8ab2238
commit 1631a46d13
4 changed files with 12 additions and 1 deletions
+1
View File
@@ -86,6 +86,7 @@ bun scripts/cli.ts gh issue view <number|url|owner/repo#number> \
`read` 是兼容别名。支持 `owner/repo#number` shorthand(如 `pikasTech/HWLAB#1024`)。
人工读取 issue/PR 正文优先走 `trans gh:/owner/repo/issue/<number> cat|rg``trans gh:/owner/repo/pr/<number> cat|rg``gh issue view/read` 主要保留为结构化 JSON 底座、metadata 读取和兼容入口。
`--json comments` 默认只返回 comment id、URL、作者、时间、正文字符数、body SHA 和短 preview;完整 comment body 只在显式 `--full`/`--raw``trans gh:` drill-down 下读取。显式 `--json` 路径的 comments 位于 `.data.json.comments`,不要依赖顶层重复 comments。
### 创建
+2
View File
@@ -98,6 +98,8 @@ bun scripts/cli.ts hwlab nodes web-probe observe stop webobs-xxxx
bun scripts/cli.ts hwlab nodes web-probe observe analyze webobs-xxxx
```
`observe analyze` 的 duplicate final response 判定必须以 trace-frame 可见行事实为准。`observe collect --view trace-frame` 固定渲染的 `Final Response` 区块是 summary,不是第二条业务 assistant message;只有同一 trace-frame 中出现两个可见 assistant final rows 且内容重复时,才应报告 duplicate finding,并在证据中写明 `finalResponseSummaryBlockCounted=false`
项目管理 / mdtodo 页面同样优先使用 `observe`,不要退回一次性 Playwright 脚本:
```bash