dshbase

插件目录 / UI & Skins / dsh-spec-gate

dsh-spec-gate

已验证 · 实测可装 boomzikazita

✓ 持续维护 基于 1 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-22最近推送
跨平台平台

功能简介

Specification gate plugin for DeepSeek Harness: Socratic interview (ambiguity scoring) + immutable Seed locking + pre-delivery acceptance gate

✅
我们的评价
可用 — 实测通过,早期项目

Specification gate plugin for DeepSeek Harness: Socratic interview (ambiguity scoring) + immutable Seed locking + pre-delivery acceptance gate 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

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

  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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-spec-gate」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

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

Headless(CLI)profile:

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

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

UI & Skins 里更多

浏览全部 7819 个插件 →