DeepSeek Harness Plugin

Eason-22/dsh-goal-contract

Category Workflow & Automation Added 2026-11-28

DeepSeek Harness plugin: keeps a long-running agent honest about what it was asked to do. Before starting work it records a contract — the objective, what may be touched, what must not be, and one or more acceptance points — and nothing that changes files, config or state is allowed until that contract exists. Completing an acceptance point requires a command that the host runs itself and that exits 0; a claim without that exit code is rejected and the real output is returned instead. Milestones, owed items and rounds are recorded in an append-only ledger so 'what is still open' can be read back instead of remembered, and the plugin stops the agent on repeated failures, loops or text repetition rather than grinding all night. It runs no model of its own: every verdict is a local, deterministic check, and the same input always produces the same answer. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Eason-22/dsh-goal-contract

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.