Commit Graph
8 Commits
Author SHA1 Message Date
xstudio agentandClaude Code e5f13340cc chore(openspec): archive 4 merged chgs (0005-0008) + sync map.yaml chg_id
- move openspec/changes/chg_0005/0006/0007/0008 → openspec/changes/archive/2026-09-28-*
- proposal.md frontmatter: status: proposed → status: archived
- testcases.map.yaml: chg_id comment synced to new dir basename
- doc: learnings/2026-09-28-dispatch-session-v2.md (本日 3 chg merged + chg_0009 dispatch 失败复盘)

gate: PROJECT_ROOT=. bash openspec/scripts/check_spec_coverage.sh → PASS (gap=0, 9 archived + 1 active)

Co-Authored-By: Claude Code <[email protected]>
2026-09-28 19:05:34 +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
xstudio agentandClaude Opus 4.8 77337aeef4 docs(learnings): 14:00 实查 — probe-ccc PASS,G-1/A-1/鉴权 全修,skills 已拷到 ccc
- ccc workspace 缺 ai-config.json → auto-setup-xstudio-ai.sh 修好
- G-1 ~/.cache 内核 mount patch 已生效
- A-1 /home/ubuntu/space mount 已修
- skills: ai-collab-framework + ssw-jnpf-lite-react 已 cp 到 ccc

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-28 13:56:17 +08:00
xstudio agentandClaude Opus 4.8 10587153d2 feat(dispatch-helpers): G-1 cache 策略 + G-2 一键派单 + G-3 派单规范
G-1 cache 策略(docs/superpowers/dispatch-helpers/cache-strategy.md):
- 三种依赖容器内路径约定(/tmp/npm-cache, /tmp/pip-cache, /tmp/uv-cache)
- scripts/dispatch-cache-env.sh 注入 prompt 头部
- 给 xstudio 内核的 mount ~/.cache 请求文档

G-2 一键派单(scripts/dispatch-with-wait.sh):
- 包装 wait-for-task.sh,提供 active 派单 + 同步等待接口
- 验证:超时 → EXIT=1,报告就位 → EXIT=0

G-3 派单规范(docs/superpowers/dispatch-helpers/prompt-protocol.md):
- 派单"不要做"硬约束清单(11 条)
- 派单"允许做"白名单
- 汇报约定 + host-side wrapper 模板
- 失效场景 + 内核维护者建议

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-28 13:48:43 +08:00
xstudio agentandClaude Opus 4.8 0c9dd5a833 docs(learnings): update with 13:50 实查 — workspace 切到 ccc,dth freeze,drop C-2/E-1/D,新增 G 系列 3 项(cache/通知/接管)
- TL;DR 数字 + 状态表更新
- D 系列 4 项全 freeze(dth 业务暂停)
- 新增 G-1 ~/.cache 挂载建议(G-2 任务完成接收 / G-3 接管问题)
- 旧 §G 排序保留为历史,新 §H 排序去 dth
- 附录:fix 任务 5 个全 403 表格 + 13:50 实查快照(docker mount / git log)

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-28 13:44:37 +08:00
xstudio agentandClaude Opus 4.8 bb5d6cb112 docs(learnings): dth dispatch session 复盘 — 24 个发现/建议按优先级分类
- A. xstudio-sandbox-dispatch skill: 4 项(1 P0 + 3 P1)
- B. skills 协作: 5 项(0 P0 + 1 P1 + 4 P2)
- C. xstudio 内核: 4 项(1 P0 + 2 P1 + 1 P2)
- D. dth 项目: 4 项(1 P1 + 3 P2)
- E. workflow: 5 项(1 P0 + 1 P1 + 3 P2)
- F. CLAUDE.md: 2 项(1 P1 + 1 P2)
- 阻塞: chg_0005 merge 卡在 /tmp/sandbox-space(C-2)

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-28 12:36:42 +08:00
xstudio agent 3f5f32fd99 docs(design): xstudio-sandbox-dispatch framework improvements — A1 skill prep + A2 ai-config auto-detect + A3 task completion signal + chg_0004 React frontend scope 2026-09-28 11:00:46 +08:00
xstudio agent c1cf6f54e5 merge sandbox/ai-1790562657-0EF743: chg_0001 dth scaffold + chg_0002 experiment_platform MVP
- chg_0001_dth_scaffold (skip_coverage): openspec framework + NestJS+React+PGlite scaffold
- chg_0002_sp1_experiment_platform_mvp: 6 scenarios S1-S6 + 21 perm-smoke + 16 e2e + 3 demo operators (hello-mpc/pir/vertical-lr)

Sandbox task exit 0. Independent verification: check_spec_coverage.sh gap=0 PASS.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-28 10:54:34 +08:00