Files
dth/openspec/changes/chg_0003_dispatch_helpers/tasks.md
T
xstudio agentandClaude Opus 4.8 a94f40e42e merge sandbox/dd24a29: chg_0003 dispatch_helpers — A1 prep + A2 setup + A3 wait scripts (3 host tools, 8 cases, gate PASS)
- scripts/prep-sandbox-skills.sh: A1 host-side skill 拷贝 (跳过 symlink/template-boot-jnpf/JNPF_*)
- scripts/setup-xstudio-ai.sh: A2 host-side ai-config writer (python3 merge 不覆盖已有 providers)
- scripts/wait-for-task.sh: A3 host-side completion poller (轮询 /tmp/xstudio-sandbox/*/space/.xstudio-report.md)
- tests/e2e/dispatch_helpers.test.sh: 6 case 自检
- openspec/changes/chg_0003_dispatch_helpers/{5 工件}

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-28 11:18:36 +08:00

1.1 KiB
Raw Blame History

Tasks (DAG)

  • id: T1 type: implementer depends_on: [] output: scripts/prep-sandbox-skills.sh verification: bash scripts/prep-sandbox-skills.sh --help 打印 usage;用 ls /tmp/xstudio-sandbox | head -1 拿真实 wsHash,跑脚本,再 ls /tmp/xstudio-sandbox//space/.claude/skills/ 含 ai-collab-framework + ssw-jnpf-lite-react

  • id: T2 type: implementer depends_on: [] output: scripts/setup-xstudio-ai.sh verification: bash scripts/setup-xstudio-ai.sh /Users/xs/Desktop/workspace/dth 退出 0;jq -e '.providers.claude-process.baseURL' /Users/xs/Desktop/workspace/dth/.xstudio/ai-config.json 非空

  • id: T3 type: implementer depends_on: [] output: scripts/wait-for-task.sh verification: 模拟:在 /tmp/xstudio-sandbox//space/.xstudio-report.md touch 假文件,跑 wait 验证返回

  • id: T4 type: tester depends_on: [T1, T2, T3] output: tests/e2e/dispatch_helpers.test.sh (自检三脚本) verification: bash tests/e2e/dispatch_helpers.test.sh 全过

  • id: T5 type: qa depends_on: [T4] output: PROJECT_ROOT=. bash openspec/scripts/check_spec_coverage.sh verification: stdout 含 PASS 且 gap=0