docs: split inbox test plans into case files

This commit is contained in:
2026-03-19 11:29:17 +08:00
parent 9beb7e93eb
commit 5f59350577
70 changed files with 1820 additions and 1606 deletions
@@ -0,0 +1,30 @@
# Case: `send-reads-body-from-body-file`
## 用例意义
验证 `send --body-file` 会把文件内容写入消息正文。
## 前置条件
- `TMPDIR/task.md` 已存在,内容为测试正文
## 输入
```bash
inbox --db TMPDIR/coord.db --json send --from leader --to worker-d --subject "Build admin editor" --summary "Create the first editor screen" --body-file TMPDIR/task.md
inbox --db TMPDIR/coord.db --json show --thread THREAD_ID
```
## 预期输出
- `send` 成功
- `show` 首条消息的 `body` 与文件内容一致
## 断言结论
- `body-file` 内容会被原样读取
- 该行为与直接传 `--body` 的最终存储结果等价
## 补充约束
- `--body``--body-file` 互斥;该约束由 shared 文档统一说明