Files
dth/openspec/changes/chg_0005_experiment_platform_extend/tasks.md
T
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

1.1 KiB
Raw Blame History

Tasks (DAG)

  • id: T1 type: architect depends_on: [] output: docs/dth/experiment-platform/operators-design.md verification: design covers scql/fedavg/secure-mlp/tee-inference/prompt-defense/compliance-audit

  • id: T2 type: implementer depends_on: [T1] output: src/backend/src/dth/experiment/operators/{scql,horizontal-fedavg,secure-mlp,tee-inference,prompt-defense,compliance-audit}.ts verification: 6 文件每个 export async function run(input) 返回真计算 output

  • id: T3 type: implementer depends_on: [T2] output: 修改 src/backend/src/dth/experiment/operators.service.ts 注册新 6 算子 + experiment.module.ts providers 数组追加 6 新类 verification: OperatorsService.onModuleInit 注册后 list >= 9 项

  • id: T4 type: tester depends_on: [T3] output: tests/e2e/dth_experiment_extend.test.sh(6 case 覆盖 S7-S12 + list >= 9 验证) verification: 6/6 pass(list >= 9 + 6 个新算子真计算)

  • id: T5 type: qa depends_on: [T4] output: PROJECT_ROOT=. bash openspec/scripts/check_spec_coverage.sh verification: stdout PASS gap=0