xstudio agent
|
4898325f4b
|
chg_0013(T1): mpq scenario.md 设计文档(6 步 + 6 算子映射 + PHI 不出域)
影响:
- 新增 chg_0013 业务场景设计文档闭环 SP-1 实验台第三个垂直(医疗隐私查询),与 FRC/VC 三场景对位 19 算子
- 文档含 mermaid 流程图、6 算子映射(did-identity / psi / tee-inference / paillier-he / abac-policy / compliance-audit)、S1-S10 不变性清单、PHI 不出域硬约束专项(§7)
改动:
- 新增 docs/dth/mpq/scenario.md(248 行)
- 复用矩阵:6/19 = 32% 复用率(≥ tasks.md 验证项 30%);其中 tee-inference 为 MPQ 独占能力,FRC/VC 都未覆盖
- 与 FRC 共有 5 算子(did-identity/psi/paillier-he/abac-policy/compliance-audit);与 VC 共有 5 算子;MPQ 独占 tee-inference
设计:
- §7 PHI 不出域硬约束通过 4 层防御:输入侧(密文/伪 ID 提交)+ 算子侧(PSI 只输出交集 / Paillier 同态 / TEE enclave)+ 审计侧(entry 不含 PHI)+ ABAC 侧(IP 白名单 + 角色白名单)
- C4 / C7 / C9 三 case 显式断言"无 PHI 泄露"作为合规下限基线
|
2026-10-02 15:01:50 +08:00 |
|
 xstudio agentandClaude
|
441c6ca2f8
|
chg_0012(T1): docs/dth/lms-v2/scenario.md — 4 scene 设计与 FRC 模板
- 验证 chg_0006 LMS v1 已在 src/backend/src/lms/ 完整存在(CLAUDE.md F-2 路径索引有误)
- 实际 schema: lms_course(code,name,instructor) / lms_enrollment(status)
- 实际 seed: S20200001/李雷 + CS101/数据安全导论(与 brief 描述不一致;以在盘为准)
- 4 类 scene: slide / quiz / simulation / pbl(pbl v2 阶段仅占位 + 501)
- 命名取舍: 保留 dth simulation 而非 OpenMAIC interactive(与 chg_0010/0011 术语一致)
- MiniMD 5 节点规格: h1/h2/p/ul/li/code;非法节点原样保留
- FRC 6-scene 模板: 严格对位 chg_0010 S1-S6(6 simulation scene + order_index 1-6)
- 6 个 v2 endpoint + 6 条关键不变量 + 4 前端组件 + 3 前端视图
Co-Authored-By: Claude <[email protected]>
|
2026-09-29 16:05:08 +08:00 |
|
xstudio agent
|
48589b3c1d
|
chg_0011(T1): docs/dth/vc/scenario.md — 6 步流程 + 6 算子映射 + 出域 PII 清单
|
2026-09-29 14:37:37 +08:00 |
|
xstudio agent
|
f288fe0b48
|
feat(dth:frc): T1 场景设计文档 — 6 步流程 + 8 算子映射 + 80% 复用率
|
2026-09-29 06:48:42 +08:00 |
|
 xstudio agentandClaude Code
|
2711073748
|
docs(learnings): EOD 收尾 — chg_0009 闭环 + chg_0010 提案 + handoff §2 框架文档化全闭环
§8 当日 5 commit 总览:
- bce0850 fix(dispatch-preflight) --force bug
- a20a11b F-2 dth CLAUDE.md 子模块索引
- fadd9e4 chg_0010 federated_risk_control 提案
- 56e26db archive chg_0009
- ff45f13 merge sandbox→main +2273/-23
明日接力:chg_0010 dispatch / chg_0011 扩展 / 框架持续打磨
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 21:51:51 +08:00 |
|
xstudio agent
|
f5bef1bb2e
|
feat(dth:sp1-more): T1 10 算子选型设计
|
2026-09-28 20:35:45 +08:00 |
|
 xstudio agentandClaude Code
|
01be5481ba
|
chore(learnings): 记录第 4 次 silent-exit 尝试(kernel_reinit + docker rm -f 仍失败)
- kernel_reinit generation 0→1 后 dispatch 仍 silent-exit
- 物理删除死容器 + 新 sessionId 创建,taskId 仍立即 not_found
- 结论:今日 dispatch 子系统持续故障,非容器残留问题
- 是 kernel 上游 createContainer 静默失败
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 20:04:42 +08:00 |
|
 xstudio agentandClaude Code
|
3fea17b81e
|
chore(learnings): 记录 2026-09-28 19:18 dispatch 第 3 次 silent-exit(chg_0009 跳过决策点)
- claude-process 和 anthropic-api 双通道均 silent-exit(taskId 即时 not_found)
- 与 §2.1 昨天差异:history.jsonl 未更新,无可见诊断痕迹
- 决策:chg_0009 跳过;下次工作日重启 xstudio 容器后重试
- 待补:dispatch-preflight.sh §3 --force 参数 bug
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 19:20:01 +08:00 |
|
 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 Code
|
66d21a5415
|
merge sandbox/fe93ee4: chg_0008 operator_real_algorithms — 6 算子真算法仿真(crypto-js + secret-share + Box-Muller + HMAC, 15+27+33+17+16=108 e2e PASS)
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 18:40:35 +08:00 |
|
 xstudio agentandClaude Code
|
df62c960f0
|
merge sandbox/edd39ac: chg_0007 lite_demo_restore — 补回 lite-react book/shop demo (TypeORM-free, 33+17+16=66 e2e PASS)
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 17:03:01 +08:00 |
|
 xstudio agentandClaude Code
|
5c27b0fd39
|
merge sandbox/f0cf2f4: chg_0006 LMS bootstrap (3 子系统 + 5 S 场景 + 6 cases)
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 16:46:52 +08:00 |
|
 xstudio agentandClaude Opus 4.8
|
f1a15c44f4
|
merge sandbox/d42537c: chg_0005 experiment_platform_extend — 6 new operators + registration + 8 e2e cases (gate PASS)
- 6 new operators: scql (secure sum) / horizontal-fedavg (FedAvg mean) / secure-mlp (sigmoid + Laplace DP) / tee-inference (sha256 attestation) / prompt-defense (keyword classifier) / compliance-audit (uuid trail)
- OperatorsService + experiment.module 注册追加(不替换 chg_0002 的 3 算子)
- tests/e2e/dth_experiment_extend.test.sh: 8 case 覆盖 S7-S12 + list ≥9
- docs/dth/experiment-platform/operators-design.md: T1 架构
- openspec/changes/chg_0005_experiment_platform_extend/{5 工件}
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
2026-09-28 15:11:02 +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 agentandClaude Opus 4.8
|
10acc8114d
|
merge sandbox/7975338+28c26c5+cd2cfc4: chg_0004 experiment_platform_frontend — React SPA 4 views + 5 components + Vite proxy + 14 e2e cases (gate PASS)
- docs/dth/experiment-platform/web-design.md: T1 架构设计
- src/frontend/src/main.tsx + App.tsx: 入口 + 路由
- src/frontend/src/api/{auth,operators,runs,client}.ts: 4 文件
- src/frontend/src/components/{AuthContext,ProtectedRoute,OperatorCard,RunResult,Radar}.tsx: 5 组件(Radar SVG 自绘 139 行)
- src/frontend/src/views/{Login,Dashboard,OperatorList,Run}.tsx: 4 页
- src/frontend/src/styles.css: 159 行(< 200 预算,无 UI 库)
- src/frontend/vite.config.ts: proxy /api → :30000
- tests/e2e/dth_frontend.test.sh: 14 case (5 API + 4 routes + 2 static + 3 list)
- openspec/changes/chg_0004_experiment_platform_frontend/{5 工件}
- package-lock.json: +react/react-dom/react-router-dom/axios + vite/typescript
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
2026-09-28 11:42:47 +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 |
|