dsh-config-origin-proof
模型与 MCP 活跃维护

dsh-config-origin-proof

dongsheng123132/dsh-config-origin-proof

内容寻址机制实现DSH配置的原始来源追溯与影子证据校验,可精准核验配置来源真实性,防范未授权篡改,部署轻量开箱即用。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
15 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:dongsheng123132/dsh-config-origin-proof
git clone https://github.com/dongsheng123132/dsh-config-origin-proof.git
git clone git@github.com:dongsheng123132/dsh-config-origin-proof.git
README.md main

DSH Config Origin Proof

An evidence layer for DeepSeek Harness configuration source ownership. It verifies an explicit redacted recording of precedence domains, source observations, the expected winning source and value digest, shadowed sources, and unobserved higher-priority gaps.

It does not reimplement the DSH composer, collect live configuration, or compare policy changes. DSH's own --dump-config remains the authority for composition. This plugin turns a structured recording from that or another trusted producer into a reproducible receipt. dsh-policy-drift-proof compares baseline and observed policy posture; dsh-profile-lock-proof proves installed bundle closure; this project answers which recorded source won and why.

Raw values and secret-, credential-, prompt-, message- or prose-shaped fields are rejected. Reports contain only stable IDs, SHA-256 digests and verdicts. The verifier fails closed when a higher-priority source is unobserved.

Surfaces

  • DSH: dsh_config_origin_inspect, dsh_config_origin_verify.
  • CLI: dsh-config-origin-proof verify --workspace-root examples --recording recording.json --artifact-dir artifacts.
  • MCP: config_origin_inspect_inline, config_origin_verify_inline; inline-only, no filesystem, network, process or artifact writes.
dsh plugin --profile web add github:dongsheng123132/dsh-config-origin-proof
npm test
npm run check
npm run smoke:plugin
npm run smoke:mcp

The ordering in examples/recording.json follows DSH's published configuration-source ownership contract, but the recording is explicit and revision-bound so a future DSH change cannot silently rewrite old evidence.

MIT