Qcsj777/dsh-stop-that-shit
Arms a per-session scope contract from a prompt directive and audits every tool call against it; inert until a directive arrives.
Arming is a directive on the first line of your message, introduced by $stop-that-shit, with fields for the kind of work authorised (answer, review, change, monitor, open), how hard violations are stopped (watch, guard, lock, off), file globs, dependency authority, hash and version-pin authority, and an agent delegation budget. Unknown fields, conflicting duplicates and malformed values are rejected with an explanation and the previous contract stays in force, and a directive that is not on the first line produces a warning instead of arming anything. Without a directive the guard is inert: every call is allowed and the model only sees a short advisory that no contract is confirmed. Runtime commands cover status, reporting, explaining a decision event and labelling it correct, incorrect or inconclusive, and /sts injects exactly the text you would type so it cannot widen the contract silently.
Install
dsh plugin --profile desktop add github:Qcsj777/dsh-stop-that-shitThe README's GitHub line for the desktop profile. The package ships its own Cordis patch inserting a single sts-bridge row whose dataDir defaults to empty, which means state lives in ~/.dsh/stop-that-shit (%USERPROFILE%\.dsh\stop-that-shit on Windows); point it elsewhere to separate state per profile. The /sts slash command needs the harness commands service — the bridge acquires it through injection, so a harness without that service still loads and guards normally, only without the command.
Compatibility
Targets DSH 0.2.1-rc.2. The author is explicit that this vendors the upstream lennney/stop-that-shit source under MIT and adds a thin compatibility layer plus the /sts command, with the exact vendored paths and diffs recorded in VENDOR.md. Enforcement is judged against the contract of the root session of whatever session made the call, so a delegated child is audited against the root contract; if a parent exists but the root cannot be resolved, the call is denied with an explicit no-verified-root reason instead of guessed at.
Details
- Repo: Qcsj777/dsh-stop-that-shit
- Category: Agent Capabilities
- Stars: 0
- Version: not published to npm; installs from the GitHub default branch
Alternatives
ciskonc/dsh-context-imports · acus9345/dsh-protect-tests · ch1bug/dsh-mimo-agent-tools