DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-tdd-guard

l

dsh-tdd-guard

Discovered

Test-before-commit guard for DSH with a managed Git hook.

TDD Guard for DSH

A lightweight test-before-commit guard. It runs the project's npm test script and can install an opt-in .git/hooks/pre-commit. It is not the original TDD Guard's edit-time enforcement.

Use

node bin/dsh-tdd-guard.mjs status --root .
node bin/dsh-tdd-guard.mjs check --root .
node bin/dsh-tdd-guard.mjs install --root .
node bin/dsh-tdd-guard.mjs uninstall --root .

In DSH:

Use tdd_check on this project.

What it guarantees

  • The managed hook runs npm test; a non-zero exit blocks the commit.
  • install refuses to overwrite an unmarked hook unless --force is passed.
  • uninstall only removes a hook carrying the dsh-tdd-guard marker.
  • check returns pass/fail and the last 20 KB of output; timeout 120 s (150 s tool).

What it does not guarantee

  • It does not prove a test was written before the code. That is the original tool's job; this is a commit gate.
  • It runs project scripts; use a trusted checkout.
  • No coverage, mutation testing, LLM judge, or cross-language test detection.
  • POSIX-oriented Git hook; Windows behavior varies.
  • A passing suite is evidence, not a correctness proof.

Tests

npm test

Provenance

Inspired by nizos/tdd-guard; no source code copied. See NOTICE.md. License: MIT.

Comments

Loading…

Similar plugins

dsh-git-guard

by feely0208

Git 提交前检查:密钥 / 大文件 / 冲突标记 / 调试残留 / commit 信息规范,可挂 pre-commit

Manifest valid

★ 0

MIT

JavaScript

Nov 5, 2026

dsh plugin --profile web add @deepwhale-cn/dsh-git-guard

by KiriuKazurei

Draggable Git graph HUD and commit diff sidebar for DeepSeek Harness (DSH) Web.

Manifest valid

★ 0

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add dsh-git-tree

by enoughpower

Git view for DeepSeek Harness: status, commit graph, branches, diff, staging/commit, push/pull and blame.

Development & InfrastructureTerminal & ClientsManifest valid

★ 5

↓ 546/wk

MIT

JavaScript

Sep 30, 2026

dsh plugin --profile web add dsh-git-graph

by lxj808624

Structured safe Git tools for DeepSeek Harness (dsh): git_status/diff/log/branch/stage/commit/stash/show + destructive-command guard

Development & InfrastructureManifest valid

★ 5

↓ 78/wk

MIT

TypeScript

Aug 16, 2026

dsh plugin --profile web add dsh-tool-git

by theRMM714

deepseek harness的git工具

Manifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add git-for-dsh

by auggie246

A Git sidebar for DeepSeek Harness Web

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 3, 2026

dsh plugin --profile web add dsh-sidebar