dsh-spec-gate
Manifest validSpecification gate plugin for DeepSeek Harness: Socratic interview (ambiguity scoring) + immutable Seed locking + pre-delivery acceptance gate
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
| Tool | Purpose |
|---|---|
spec_interview_assess | Ambiguity scoring: judge 8 dimensions (audience / purpose / format / data / scope / tone / acceptance / deadline) as clear / assumed / missing; returns score + questions to ask |
spec_seed_build | Lock an immutable Seed (goal / dimensions / acceptance criteria / constraints) after the interview converges; hash-keyed, never overwritten |
spec_gate_evaluate | Pre-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
- Vague request arrives → run
spec_interview_assess→ clarify missing dimensions until score ≤ 0.2 - Lock the spec:
spec_seed_build→ returnsseed_id - Produce the deliverable
- Verify:
spec_gate_evaluate(draft, seed_id)→ only hand over on pass
License
MIT
Comments
Loading…
Similar plugins
by FoyonaCZY
Quality-of-life plugins for DeepSeek Harness: workspace rewind, desktop notifications, auto-format, live git context, secret redaction, and a done-means-green verify gate.
★ 0
MIT
JavaScript
Sep 2, 2026
dsh plugin --profile web add dsh-kitPre-install supply-chain checks for DeepSeek Harness plugins: verify the tarball you are about to install matches the source you read, before any code runs.
★ 0
↓ 164/wk
dsh plugin --profile web add dsh-provenanceby timeance
DeepSeek Harness plugin for rule-gated automatic sandbox approval with optional LLM review, one-time grants, fixed high-risk checks, and native human fallback.
★ 18
↓ 133/wk
MIT
TypeScript
Sep 12, 2026
dsh plugin --profile web add dsh-approve-for-meby Web0926
DeepSeek Harness plugin that validates and ranks 3/5 independent coding-agent patches before approval-gated apply.
★ 3
↓ 1.8k/wk
MIT
TypeScript
Aug 25, 2026
dsh plugin --profile web add dsh-llm-verifierby PerryLink
Double-check before you ship: grill the requirements, test the implementation, prove the delivery. An engineering-discipline bundle for DeepSeek Harness.
★ 49
Apache-2.0
TypeScript
Sep 25, 2026
dsh plugin --profile agent add dsh-doublecheckby goatliamia
Plugin development toolkit for DeepSeek Harness with scaffolding, contract checks, plugin vetting, impact analysis, and upstream compatibility tracking.
★ 2
MIT
JavaScript
Sep 30, 2026
dsh plugin --profile web add dsh-plugin-maker