xstudio agent
|
4a6c044105
|
chg_0012: lms_multiscene_v2 提案 — 4 类场景课程平台(LMS v1 重建 + slide/quiz/sim/PBL + FRC 6-scene 模板)
WHY
LMS (chg_0006) 仅 students/courses/enrollment 3 表 + 无内容结构;代码 workspace+sandbox 双缺失需重建。借鉴 OpenMAIC 4 类场景(slide/quiz/simulation/PBL)作为内容结构模型,保持 NestJS+React 栈,零新框架/新依赖/新算子。
改动:技能矩阵 + 9 scenarios(v1 重建/多场景 schema/创建课程/选课进度/SlideScene/QuizScene/SimScene/FRC 模板/E2E 走课)+ 10 cases + 5 tasks DAG
设计:MiniMD 自实现 h1/h2/p/ul/li/code(5 节点,零 marked 依赖);PBL v1 占位(spec 含 type=prod,render 返 501,前后端文案一致「即将推出」);FRC 模板 embed_url 命名严格对应 chg_0010 S1-S6(字符串断言不真 GET iframe)
|
2026-09-29 14:22:26 +08:00 |
|
 xstudio agentandClaude Code
|
4cfde5e085
|
chg_0011: vehicle_cloud_compliance 提案 — 车云数据合规场景(5 件套,无新代码,与 chg_0010 互补)
影响:业务方可用现有算子验证"数据出域可追溯"的车云合规场景;
chg_0010+0011 复用 14/19 算子(74%),覆盖多方不出域 + 数据出域两大威胁模型
场景:50 车 OEM telemetry → TDS 合约 → 字段脱敏 → 水印嵌入 → fleet 聚合 → ABAC → 审计
10 case e2e (S1-S10) 覆盖 6 算子(tds-connector / data-masking / data-watermark /
horizontal-fedavg / abac-policy / compliance-audit)
4 不变性断言:脱敏可逆 / 水印 roundtrip / 水印长度不变 / 审计链 valid
1 隐私不变性:C10 NO cleartext GPS/车牌/车主ID 出域
算子互补矩阵(vs chg_0010):
- chg_0011 exclusive: data-masking, horizontal-fedavg
- chg_0010 exclusive: psi, paillier-he, threshold-sig, did-identity
- shared: tds-connector, abac-policy, data-watermark, compliance-audit
约束:
- 不改 backend 代码(19 算子齐备,0 新依赖,0 新接口)
- 不加前端(backend-only e2e)
- 复用 /experiment/runs 一个一个跑算子
- admin token 全程,per-vehicle 标签在 input 里传
handoff §4 优先级 2 之 B 候选(车云数据合规)闭环。
实施待 sandbox dispatch(T1 architect → T5 pm)。
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-29 13:29:06 +08:00 |
|
 xstudio agentandClaude Code
|
fadd9e46d0
|
chg_0010: federated_risk_control 提案 — 3 银行联合反欺诈场景(5 件套,无新代码,纯算子组合)
场景:3 银行(BankA/BankB/BankC)联合反欺诈,不泄露 PII,6 步流程
1. DID 建立 + TDS 合约匹配 (did-identity + tds-connector)
2. PSI 黑名单交集 (psi)
3. Paillier 跨行特征聚合 (paillier-he)
4. Threshold 2-of-3 风险签名 (threshold-sig)
5. ABAC 风险分析师访问控制 (abac-policy)
6. 数据水印嵌入 (data-watermark) + 审计链 HMAC (compliance-audit)
12 case e2e (S1-S12) 覆盖 8/10 chg_0009 算子 + 1 chg_0008 算子
4 不变性断言:PSI 正确 / PSI 不泄露 / Paillier 同态 / 水印 roundtrip
约束:
- 不改 backend 代码(10 算子已齐备,0 新依赖,0 新接口)
- 不加前端(backend-only e2e)
- 复用既有 /experiment/runs 一个一个跑算子
- admin token 全程,per-bank 标签在 input 里传
gate: PROJECT_ROOT=. bash openspec/scripts/check_spec_coverage.sh → PASS (gap=0, 9 archived + 1 active)
handoff §2 优先级 2 闭环。
实施待 sandbox dispatch(T1 architect → T5 pm)。
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 21:49:33 +08:00 |
|
 xstudio agentandClaude Code
|
56e26dbe86
|
chore(openspec): archive chg_0009 sp1_more_operators
- move openspec/changes/chg_0009_sp1_more_operators → openspec/changes/archive/2026-09-28-chg_0009_sp1_more_operators
- proposal.md frontmatter: status: proposed → status: archived
- testcases.map.yaml: chg_id comment synced to new dir basename
merge: ff45f133 (10 算子 + 设计 + 12 case e2e, 6 大方向全覆盖, 总 19 算子, host 复核 135/0)
gate: PROJECT_ROOT=. bash openspec/scripts/check_spec_coverage.sh → PASS (gap=0, 9 archived + 0 active)
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 21:42:59 +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
|
dbb39c487a
|
chg_0009: sp1_more_operators 提案 — SP-1 实验台新增 10 算子(覆盖 6 大方向,总 19 算子)
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 18:42:32 +08:00 |
|
 xstudio agentandClaude Code
|
8c06057283
|
chg_0008: operator_real_algorithms 提案 — 6 算子真算法仿真(crypto-js + secret-share + Box-Muller + HMAC)
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 17:05:58 +08:00 |
|
 xstudio agentandClaude Code
|
1c2f3ba234
|
chg_0007: lite_demo_restore 提案 — 补回 lite-react book/shop demo 模块(TypeORM-free)
Co-Authored-By: Claude Code <[email protected]>
|
2026-09-28 16:49:11 +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 agent
|
34bcec0eb9
|
fix(openspec): archive map.yaml chg_id 同步目录名 — 4 map.yaml 注释里的 chg_NNNN 改为日期前缀全名(gate v2.4 A4 校验一致性)
|
2026-09-28 15:08:29 +08:00 |
|
 xstudio agentandClaude Opus 4.8
|
640a3562ee
|
chore(dth): phase 1 整理 — 归档 4 个 chg + auto-setup-xstudio-ai 包装脚本
- openspec/changes/archive/{4 个 chg}: chg_0001/0002/0003/0004 全部归档(日期前缀)
- scripts/auto-setup-xstudio-ai.sh: 幂等 wrapper,ai-config 已就绪时 no-op,否则调 setup-xstudio-ai.sh
- chg_0003 dispatch_helpers 在 archive 后仍能被 check_spec_coverage 扫描(归档路径仍被列)
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
2026-09-28 11:54:14 +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 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 |
|
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 |
|