| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346 |
- {
- "version": 1,
- "caseName": "conversation-session-local-config-runtime-usage",
- "spec": "./test/e2e/conversation-session/runtime/conversation-session-local-config-runtime-usage.test.ts",
- "providerFixtures": [
- "./test/e2e/fixtures/upstream/common.json",
- "./test/e2e/fixtures/upstream/conversation-session/conversation-session-local-config-runtime-usage.json"
- ],
- "fileFixtures": [
- {
- "path": ".e2e-dsync-18-hook.cjs",
- "source": "created-by-helper",
- "description": "跨平台 UserPromptSubmit 脚本,通过异步文件 IO 追加钩子标记。"
- }
- ],
- "requests": [
- {
- "id": "dsync-18-title",
- "description": "各 task 首发的标题生成。",
- "kind": "common",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "标题不属于可用性断言,只需保持 task 行稳定。"
- },
- {
- "id": "dsync-18-subagent-reply",
- "description": "子智能体按新建的定义运行:系统提示含子智能体正文时回复完成标记。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "固定子智能体回复,证明本机用的是刚新建的子智能体定义。"
- },
- {
- "id": "dsync-18-subagent-wrong-profile",
- "description": "子智能体请求没有带新建的定义正文。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "定义缺失时得到可断言的错误回复,而不是回放未命中。"
- },
- {
- "id": "dsync-18-run-skill_existing-final",
- "description": "Skill 工具结果返回后的最终回复。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
- },
- {
- "id": "dsync-18-run-agent_existing-final",
- "description": "Agent 工具结果返回后的最终回复。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
- },
- {
- "id": "dsync-18-run-mcp-final",
- "description": "mcp__e2e-dsync-18-mcp__marker 工具结果返回后的最终回复。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
- },
- {
- "id": "dsync-18-run-inline-final",
- "description": "mcp__plugin_e2e-dsync-18-inline_rt__marker 工具结果返回后的最终回复。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
- },
- {
- "id": "dsync-18-run-market-final",
- "description": "mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker 工具结果返回后的最终回复。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
- },
- {
- "id": "dsync-18-run-skill_new-final",
- "description": "Skill 工具结果返回后的最终回复。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
- },
- {
- "id": "dsync-18-run-agent-final",
- "description": "Agent 工具结果返回后的最终回复。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "固定最终回复,闭合本轮工具调用;排除之后的 RUN 轮次,避免历史里的调用 ID 误匹配。"
- },
- {
- "id": "dsync-18-run-skill_existing-call",
- "description": "模型请求暴露新建内容时调用 Skill。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "tool-use",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- {
- "id": "dsync-18-run-skill_existing-not-exposed",
- "description": "模型请求没有暴露 Skill 所需的新建内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- {
- "id": "dsync-18-run-agent_existing-call",
- "description": "模型请求暴露新建内容时调用 Agent。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "tool-use",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- {
- "id": "dsync-18-run-agent_existing-not-exposed",
- "description": "模型请求没有暴露 Agent 所需的新建内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- {
- "id": "dsync-18-run-mcp-call",
- "description": "模型请求暴露新建内容时调用 mcp__e2e-dsync-18-mcp__marker。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "tool-use",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- {
- "id": "dsync-18-run-mcp-not-exposed",
- "description": "模型请求没有暴露 mcp__e2e-dsync-18-mcp__marker 所需的新建内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- {
- "id": "dsync-18-run-inline-call",
- "description": "模型请求暴露新建内容时调用 mcp__plugin_e2e-dsync-18-inline_rt__marker。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "tool-use",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- {
- "id": "dsync-18-run-inline-not-exposed",
- "description": "模型请求没有暴露 mcp__plugin_e2e-dsync-18-inline_rt__marker 所需的新建内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- {
- "id": "dsync-18-run-market-call",
- "description": "模型请求暴露新建内容时调用 mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "tool-use",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- {
- "id": "dsync-18-run-market-not-exposed",
- "description": "模型请求没有暴露 mcp__plugin_e2e-plugin-lifecycle_lifecycle__version_marker 所需的新建内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- {
- "id": "dsync-18-run-skill_new-call",
- "description": "模型请求暴露新建内容时调用 Skill。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "tool-use",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- {
- "id": "dsync-18-run-skill_new-not-exposed",
- "description": "模型请求没有暴露 Skill 所需的新建内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- {
- "id": "dsync-18-run-agent-call",
- "description": "模型请求暴露新建内容时调用 Agent。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "tool-use",
- "syntheticReason": "固定工具调用,检查本机是否真的执行新建的内容。"
- },
- {
- "id": "dsync-18-run-agent-not-exposed",
- "description": "模型请求没有暴露 Agent 所需的新建内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "新建内容不可见时给出可断言的回复,而不是回放未命中。"
- },
- {
- "id": "dsync-18-first-turn",
- "description": "新建配置前 task A 的首发(对照组)。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "建立配置变更前已存在的本机会话。"
- },
- {
- "id": "dsync-18-probe-draft-subagent",
- "description": "探针轮次 DRAFT_SUBAGENT:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-draft-subagent-2",
- "description": "探针轮次 DRAFT_SUBAGENT_2:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-existing-subagent",
- "description": "探针轮次 EXISTING_SUBAGENT:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-draft-mcp",
- "description": "探针轮次 DRAFT_MCP:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-existing-mcp",
- "description": "探针轮次 EXISTING_MCP:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-draft-hook",
- "description": "探针轮次 DRAFT_HOOK:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-existing-hook",
- "description": "探针轮次 EXISTING_HOOK:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-draft-skill",
- "description": "探针轮次 DRAFT_SKILL:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-existing-skill",
- "description": "探针轮次 EXISTING_SKILL:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-draft-inline",
- "description": "探针轮次 DRAFT_INLINE:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-existing-inline",
- "description": "探针轮次 EXISTING_INLINE:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-existing-market",
- "description": "探针轮次 EXISTING_MARKET:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-probe-new",
- "description": "探针轮次 NEW:只回复固定文本,用模型请求判断可见内容。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "探针只需要完成一轮,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-command-draft",
- "description": "命令轮次 DRAFT:检查 /命令 是否展开为命令正文。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-command-existing",
- "description": "命令轮次 EXISTING:检查 /命令 是否展开为命令正文。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
- },
- {
- "id": "dsync-18-command-new",
- "description": "命令轮次 NEW:检查 /命令 是否展开为命令正文。",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "命令展开发生在 CLI,断言读取本轮模型请求。"
- }
- ]
- }
|