{ "version": 1, "caseName": "conversation-session-tool-cross-product", "spec": "./test/e2e/conversation-session/tools/conversation-session-tool-cross-product.test.ts", "providerFixtures": [ "./test/e2e/fixtures/upstream/common.json", "./test/e2e/fixtures/upstream/conversation-session/conversation-session-tool-cross-product.json" ], "fileFixtures": [ { "path": ".zcode-e2e/conversation-session-tool-cross-product", "source": "created-by-helper", "description": "prepareToolCrossProductFixtures 在每个工具轮前创建的读写工具沙箱目录,case 结束后删除。" } ], "requests": [ { "id": "upstream-tool-cross-product-read-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 Read 工具,验证 completed 工具历史与 compact/fork/goal 的交互。" }, { "id": "upstream-tool-cross-product-write-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 Write 工具,验证写文件工具历史不会污染默认工作区。" }, { "id": "upstream-tool-cross-product-edit-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 Edit 工具,覆盖可写工具的 completed 历史入口。" }, { "id": "upstream-tool-cross-product-bash-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 Bash 工具,避免真实模型命令选择影响工具叉乘稳定性。" }, { "id": "upstream-tool-cross-product-glob-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 Glob 工具,覆盖文件搜索工具的 completed 历史入口。" }, { "id": "upstream-tool-cross-product-grep-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 Grep 工具,覆盖内容搜索工具的 completed 历史入口。" }, { "id": "upstream-tool-cross-product-webfetch-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 WebFetch 的可预期失败路径,覆盖外部请求工具历史。" }, { "id": "upstream-tool-cross-product-todo-read-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 TodoRead 工具;空结果没有稳定可见卡片时,以 provider-visible 结构化工具历史证明保留。" }, { "id": "upstream-tool-cross-product-todo-write-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 TodoWrite 工具,覆盖 todo 状态写入后的工具历史。" }, { "id": "upstream-tool-cross-product-goal-read-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 GoalRead 工具,覆盖目标读取工具历史。" }, { "id": "upstream-tool-cross-product-enter-plan-mode-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 EnterPlanMode 工具;V4 隐藏内部模式切换行时,以 provider-visible 结构化工具历史证明保留,并在 goal 前切回 Full access。" }, { "id": "upstream-tool-cross-product-exit-plan-mode-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 ExitPlanMode 工具,覆盖计划模式退出后的工具历史。" }, { "id": "upstream-tool-cross-product-ask-user-question-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 AskUserQuestion 工具,覆盖用户问询阻塞与自动选择路径。" }, { "id": "upstream-tool-cross-product-send-message-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 SendMessage 的可预期失败路径,覆盖跨 agent 消息工具历史。" }, { "id": "upstream-tool-cross-product-agent-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 Agent 的可预期失败路径,覆盖子 agent 工具历史。" }, { "id": "upstream-tool-cross-product-skill-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 Skill 的可预期失败路径,覆盖技能工具历史。" }, { "id": "upstream-tool-cross-product-workflow-call", "kind": "main", "source": "synthetic", "timingPolicy": "tool-use", "syntheticReason": "固定触发 Workflow 的可预期失败路径,覆盖 workflow 工具历史。" }, { "id": "upstream-tool-cross-product-fork-probe-final", "kind": "main", "source": "synthetic", "timingPolicy": "fast-text", "syntheticReason": "隐藏工具行和空结果工具在 fork child 中通过 provider-visible continuation 的配对 tool_use/tool_result 证明历史已复制;child toolCallId 按 stable fork 合同重映射。" }, { "id": "upstream-tool-cross-product-compact-success", "kind": "compact", "source": "synthetic", "timingPolicy": "fast-text", "syntheticReason": "固定响应 TX 显式触发的 manual compact,避免缺失 replay fixture 进入 provider retry。" }, { "id": "upstream-tool-cross-product-tool-final", "kind": "main", "source": "synthetic", "timingPolicy": "fast-text", "syntheticReason": "工具结果回填后稳定结束当前轮,真实 provider 文案不影响工具历史断言。" }, { "id": "upstream-tool-cross-product-goal-final", "kind": "main", "source": "synthetic", "timingPolicy": "fast-text", "syntheticReason": "goal continuation 只需稳定完成,真实 provider 文案不影响目标状态断言。" } ] }