Files
mnote/.codex/reasonix-tasks/2026-05-21-batch-i-worker-b-7-27-code-test-gap.md
T

51 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Reasonix Worker B7-27 代码/测试缺口审查
## 项目
- Project root: `/mnt/Data1T/mnote`
## Ownership
允许修改:
- `.codex/reasonix-tasks/results/batch-i-worker-b-7-27-code-test-gap.md`
禁止修改:
- 不改代码。
- 不改 design 主文档。
- 不提交 git。
## 任务
只读审查当前 `7-27` 实现,重点文件:
- `rust/crates/mnote-web/src/hermes_tools/doc.rs`
- `rust/crates/mnote-web/src/routes/hermes_tools.rs`
- `rust/crates/mnote-web/src/hermes_tools/manifest.rs`
检查这些点:
1. `blocks_to_markdown` 是否能从 legacy `content` / `contentNodes` 读取文本,而不是只读 `text`
2. 注释格式是否与 `7-27` 文档一致,是否真的保留 `revisionRef`
3. `full_content` 是否不再被拒绝,是否会保留复杂块。
4. `dryRun` 是否不写入。
5. selection / allowedTargetBlockIds 是否阻止越界写入。
6. 是否还有 `build_block_ops_from_markdown_edit` 旧推导路径。
7. 测试覆盖是否足以归档。
输出到结果文件,按三类分级:
- 必须修复才能归档
- 可作为后续增强
- 已满足
验收:
- 运行 `git diff --check`
- 结果文件引用具体函数名或测试名。
## 最终回复
用简体中文列出结果文件路径和最高风险结论。