534 B
534 B
case: show-includes-artifacts-per-message
用例意义
验证 show 返回的每条消息都包含其关联 artifact 列表。
前置条件
- 线程
THREAD_ID中至少一条消息附带 artifact
输入
inbox --db TMPDIR/coord.db --json show --thread THREAD_ID
预期输出
- 命令退出码为
0 - 相关消息节点包含
artifacts - artifact 的
path、kind、metadata_json可读
断言结论
show需要把附件一并展开,而不是只返回 message 基本字段