dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
工具面快照与漂移门:全量可见工具注册表(含 MCP 工具)基线化为可提交的 JSON,升级新增、移除或改动工具时响亮告警。
If this helps you, please give it a star — it helps others find it. Thanks!
Tool-surface snapshot and drift gate for DeepSeek Harness (dsh).
Everything the model can call is a supply-chain surface: first-party tools,
plugin tools, MCP tools. This plugin snapshots the full visible tool registry
(name / description / parameters via ctx.tools.schemas()), stores a
baseline you commit, and diffs every registry change against it — so
upgrading a plugin or MCP server that silently adds, removes, or reshapes a
tool fails loud instead of slipping through. Zero LLM calls in the trust
path.
Family: dsh-read-guard (what agents read) · dsh-pr-gate (what they write) · dsh-attest (what they did) · dsh-mcp-test (what they can call).
The dsh supply-chain lane has seven static-scanner plugins (install-time
vetting of package manifests) — none watches the live tool surface.
dsh-plugin-observatory audits plugin compatibility at the loader level,
not the model-visible schema level. Nobody answers the question that
actually matters at upgrade time: "did what my model can call just
change?" The schema-diff methodology is ported from
mcp-test's upgrade gate, applied
to the whole registry instead of one MCP connection.
boot / tools/change ──> snapshot ctx.tools.schemas()
──> baseline present? diff : establish baseline
──> drift: added / removed / changed(name.description|parameters)
──> warn (default) or rebaseline (explicit opt-in)
.dsh-mcp-test/baseline.json, name-sorted, stable JSON)
is meant to be committed — it is the contract.ignoreTools excludes your own deliberately-dynamic tools.v0.1 ships the snapshot + drift pillar. The behavioral probe pillar (functional + injection tests against running MCP servers, mcp-test's headline feature) is on the roadmap.
dsh plugin --profile default add dsh-mcp-test
From npm — no build step, no allowBuilds authorization; git installs are equally prebuilt (lib/ ships in the repo).
- id: dsh-mcp-test
name: dsh-mcp-test
config:
baselinePath: .dsh-mcp-test/baseline.json
rebaselineOnDrift: false # true only when accepting an intended upgrade
ignoreTools: []
dsh plugin add (prebuilt lib/, no build approval).dsh plugin --profile <fresh> add github:zhengqiuyang/dsh-mcp-test → installed in 30s; boot shows [dsh-mcp-test] active: …; dsh plugin --profile <fresh> remove dsh-mcp-test → dependencies cleared, bundles restored.npm install
npm test
If dsh ships first-party tool-surface pinning, or the observatory-style plugins add schema-level drift gating, this freezes at its last working version with a postmortem here.