xstudio agent
|
c1c1bf650e
|
chg_0012(T2): LMS v1 重建 + v2 多场景 + 4 scene + FRC 模板 + e2e
后端:
- lms_course_scene 表 + lms_enrollment.progress_scene_ids JSONB 列
- lms-v2.service.ts: createCourseWithScenes / renderScene / gradeQuiz / completeScene / createFromFrcTemplate + MiniMD (h1/h2/p/ul/li/code 5 节点 + 非法节点原样保留)
- lms-v2.controller.ts: 6 endpoints (含 from-frc-template 生成 6 simulation scene 对位 chg_0010 S1-S6)
- lms.module.ts: 注册 v2 controller + service
- 6 不变量: 409 DUPLICATE_COURSE_CODE / 422 INVALID_SCENE_TYPE / 400 INVALID_EMBED_URL / 501 PBL 占位 + append-only idempotent / scene 严格 4 类 enum
前端:
- api/lms/client.ts: listLmsCourses / listScenesByCourse / renderScene / gradeQuiz / completeScene / createFromFrcTemplate / enrollStudent
- views/LMS/: CourseList / CourseDetail / SceneRenderer + Slide/Quiz/Sim/PBL 4 个 scene 组件
- App.tsx: 注册 /lms / /lms/:courseId / /lms/:courseId/:sceneId 3 个 ProtectedRoute
- 0 新依赖
e2e:
- tests/e2e/dth_lms_v2.test.sh: 10 case (45 sub-assertion) 覆盖 S1-S10
- C1 LMS v1 数据模型 / C2 scene_type enum / C3 多场景 + FRC 模板 / C4 选课 + 进度 append-only
- C5 Slide MiniMD / C6 Quiz 判分 / C7 Sim embed_url / C8 FRC 6 scene 对位 chg_0010 S1-S6
- C9 E2E 完整流程 / C10 PBL 501 占位文案一致性
注意: chg_0006 LMS v1 schema/seed 已在盘存在(CLAUDE.md F-2 路径索引有误,应为 src/backend/src/lms/ 非 dth/lms/),未重建;v2 在 v1 之上增量扩展。
Co-Authored-By: Claude <[email protected]>
|
2026-09-29 16:15:28 +08:00 |
|
xstudio agent
|
113d76b4bc
|
test(dth:sp1-more): T4 12 case e2e + operator 微调
|
2026-09-28 20:53:44 +08:00 |
|
xstudio agent
|
931f4c9a36
|
feat(dth:sp1-more): T3 注册 10 算子到 OperatorsService
|
2026-09-28 20:39:35 +08:00 |
|
xstudio agent
|
c74f9aa869
|
feat(dth:sp1-more): T2 10 算子真算法实现
|
2026-09-28 20:39:06 +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
|
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
|
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 |
|