Commit Graph
2 Commits
Author SHA1 Message Date
xstudio agentandClaude Code bce08505d2 fix(dispatch-preflight): prep-sandbox-space.sh 传 "true" 而非 "--force"(§2.5 1 行修复)
影响:dispatch-preflight.sh --force 实际未触发 prep-sandbox-space.sh 重播种,
      旧空间残留导致后续派单基于陈旧 main
改动:脚本 line 77 $FORCE 改为 FORCE_FLAG="--force"(仅在 true 时赋值)
参考:dispatch-session-v2 §2.5 + dispatch-preflight.sh 自检流程

Co-Authored-By: Claude Code <[email protected]>
2026-09-28 21:51:39 +08:00
xstudio agentandClaude Opus 4.8 9eeb9a8030 feat(dispatch-helpers): A-2 prep-sandbox-space.sh + dispatch-preflight.sh; B-2 brainstorming↔openspec 映射; E-2 prompt 模板
A-2 prep-sandbox-space.sh:
- 修 A-1 mount 断链:拷贝 workspace 当前状态到 /tmp/xstudio-sandbox/<hash>/space/
- +force 选项覆盖已有空间
- 推断 workspaceRoot 走 last_workspace 文件兜底

A-2 dispatch-preflight.sh:
- 4 项自检:docker / 容器 up / space 可写 / .claude/skills 拷到位
- + bonus: workspaceRoot ai-config
- 自动调 prep-sandbox-space / prep-sandbox-skills / auto-setup-xstudio-ai
- 实测:ccc workspace 全部 ✅

B-2 brainstorming-openspec-mapping.md:
- design.md → chg 工件字段映射表
- naming 约定 (capability / chg_id / S 编号 / C 编号)
- chg 创建 10 步 checklist
- 与 superskills using-superpowers 冲突解决

E-2 prompt-template.md:
- 6 段 prompt 结构 (Header / Cache / Don't / 工件 / 步骤 / 汇报)
- 完整 chg_0005 实例
- 模板生成脚本占位(待下次写)

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