cyanseek/dsh-tool-chaos
Deterministic fault injection and evidence-backed resilience tests for the DSH tool pipeline: runs an isolated experiment through baseline → dry-run → fault injection → PASS / FAIL / INCONCLUSIVE. Five DSH-native actions (deny, error, delay, abort, block), reproducible matching and sampling with no runtime randomness, JSON + Markdown reports with structured decision events, and a three-state verdict. Helps plugin and Agent authors verify retry, fallback, cancellation, policy-denial, and untrusted-result behavior before those paths fail in production. Includes a zero-runtime-dependency CLI, TypeScript engine API, and Codex/Agent Skill surfaces.
Install
dsh plugin --profile chaos-demo add github:cyanseek/dsh-tool-chaos#<commit-sha>npm prerelease not published as of 2026-08-26 — install from a pinned GitHub commit or a locally built tarball: git clone https://github.com/cyanseek/dsh-tool-chaos && cd dsh-tool-chaos && npm ci && npm run build && npm pack --silent, then dsh plugin --profile chaos-demo add ./dsh-tool-chaos-0.1.0-next.0.tgz. pnpm 10+ may block the prepare script — add the exact package key to pnpm-workspace.yaml allowBuilds after review. Status: 0.1.0-next.0 prerelease.
Compatibility
DeepSeek Harness 0.1.0-rc.5 line (tested compatibility matrix in docs/COMPATIBILITY.md). Disabled and dry-run by default; bounded injections; explicit global-wildcard opt-in.
Details
- Repo: cyanseek/dsh-tool-chaos
- Category: Other
- Stars: 4
- Version: GitHub source 0.1.0-next.0 prerelease (npm not published)
- Last push: 2026-09-12
- First seen: 2026-08-13
Recent updates
v0.1.0-next.0: five fault actions; dry-run first; reproducible matching; three-state verdicts; JSON/Markdown reports; CLI + TS API + skill surfaces.
FAQ
- Is it safe to run?
- It is disabled and dry-run by default; injections are bounded and require explicit configuration, and a global wildcard needs an explicit opt-in.
- Which failures can it inject?
- deny, error, delay, abort, and block — mapped to DSH-native events so retry/fallback/cancellation/policy-denial paths can be exercised.
- How do I install it?
- npm is not published yet: pin a reviewed GitHub commit (dsh plugin --profile chaos-demo add github:cyanseek/dsh-tool-chaos#<sha>) or build a local tarball.
Alternatives
jkrandom-sudo/dsh-plugin-audit · omdsh-dev/dsh-security-audit · PerryLink/dsh-doublecheck