Apageoflove/DSH-changeproof ↗★ 6

dsh-changeproof

提供变更关联度与证据新鲜度质量验证工具 适合需要对项目代码变更进行自动化测试验证与状态分析的团队。

包名
dsh-changeproof
兼容性
待验证
版本
0.2.0
许可证
MIT
最近更新
2026年8月27日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Apageoflove/DSH-changeproof

6. 使用


## 独立使用(不装 DSH)

```bash
cd 
npm install && npm run build

node dist/host/cli.mjs plan   --workspace    # 仅分析
node dist/host/cli.mjs verify --workspace  --yes   # 执行测试
node dist/host/cli.mjs status --workspace    # 结论是否过期

verify 不带 --yes 仅打印将执行的命令,确认后加 --yes 才执行。

被验证项目的配置

项目根目录放置 .changeproof.yml:

schemaVersion: 1
packages:
  - id: web
    root: packages/web
    languages: [typescript]
    include: [packages/web/src/**/*.ts]
    test:
      adapter: vitest-istanbul    # 支持 vitest / jest / pytest
      argv: [pnpm, vitest, run, --coverage]
      cwd: packages/web
      timeoutMs: 120000
      coverageFile: packages/web/coverage/coverage-final.json
thresholds: { changedLines: 1.0, minimumImpactConfidence: MEDIUM }
exclude: ["**/generated/**", "**/*.d.ts"]

字段说明见 docs/configuration.md。