DeepSeek Harness plugin

dsh-spec-gate

Specification gate for DeepSeek Harness: Socratic interview to expose hidden assumptions (ambiguity scoring), immutable Seed spec locking, and pre-delivery acceptance gate. Pairs with dsh-cybernetics

Jump to install

Source facts

Repository
boomzikazita/dsh-spec-gate
Latest update
Aug 20, 2026
Category
Security & Permissions
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-21

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/boomzikazita/dsh-spec-gate
Plugin: dsh-spec-gate
Author: boomzikazita

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-spec-gate

Specification gate plugin for DeepSeek Harness (dsh). Turns vague requirements into locked, verifiable specifications before work begins — and refuses to hand over deliverables that don't meet them.

Borrows two ideas from Ouroboros, adapted for content production (writing / analysis / reports):

  • Interview gate: vague request → Socratic questioning to expose hidden assumptions → ambiguity score (converged at ≤ 0.2 before proceeding)
  • Acceptance gate: before delivery, mechanically check the draft against the locked Seed (keyword coverage, hard constraints, word count) + semantic alignment hint for the agent

Pairs with dsh-cybernetics: acceptance failures are written to the events log and feed the cybernetic feedback loop.

Tools

ToolPurpose
spec_interview_assessAmbiguity scoring: judge 8 dimensions (audience / purpose / format / data / scope / tone / acceptance / deadline) as clear / assumed / missing; returns score + questions to ask
spec_seed_buildLock an immutable Seed (goal / dimensions / acceptance criteria / constraints) after the interview converges; hash-keyed, never overwritten
spec_gate_evaluatePre-delivery acceptance: mechanical checks against the Seed + AC coverage hints; fails closed

Install

dsh plugin --profile web add github:boomzikazita/dsh-spec-gate

Configure

# cordis.patch.yml (or the plugin's own bundle patch)
- insert:
    - id: spec-gate
      name: 'dsh-spec-gate'
      config:
        seedsDir: '~/.dsh/spec-gate/seeds'
        eventsLog: '~/.dsh/spec-gate/events.jsonl'
        convergeThreshold: 0.2
        hardGate: false  # block write/edit before a Seed exists (default off)

Usage Flow

1. Vague request arrives → run spec_interview_assess → clarify missing dimensions until score ≤ 0.2 2. Lock the spec: spec_seed_build → returns seed_id 3. Produce the deliverable 4. Verify: spec_gate_evaluate(draft, seed_id) → only hand over on pass

License

MIT