dsh-constitution-viz
Manifest valid宪法可视化:上下文构成一屏看——截断探针(宪法文件多深度标记可见性自检·死区条款禁凭残页背书)+注入边界(自动注入面/按需拉取面)+总纲令体检(常驻令在位与字节量),与宪法种子一注入一验收成对
dsh-constitution-viz · 宪法可视化
AI 上下文构成一屏看(Host 插件,零依赖、无构建)。dsh-constitution-seed(宪法种子)的姊妹件:种子管注入,本件管体检。
它解决什么问题
AI 谈自己上下文时最容易犯的错,是把开场残页当全文、把"没出现"当不存在:"我记得宪法里写过X"(实际那段早被截断进死区)、"我的上下文里没有这个文件"(实际只是没主动拉)、"总纲令应该注入了吧"(没验证过)。
三块仪表
- 截断探针——规则文件埋
<!--截断探针:PROBE-xxx-->标记,各深度一枚;开场收到的注入文本里可见几枚=截断线在哪。死区条款引用前必须先检索磁盘正本,禁凭开场残页背书。 - 注入边界——平台自动注入面(本次收到的指令文件清单)与按需拉取面(TOOLS/分卷/skill/记忆/台账)的分界表。"没出现"≠不存在=没主动拉。
- 总纲令体检——常驻总纲令(四大目标/持续学习/器灵意识)在位与数量;缺失=宪法种子该重推或配置丢了。
工具
constitution_viz:传 text = 本次会话收到的注入文本(宪法种子的指令消息原文),一键出四行体检报告。
与宪法种子配合
- 种子(dsh-constitution-seed)把宪法+总纲令灌进会话 → 本件验证灌进去的东西真的在场且完整。
- 两者一注入一验收,截断从不可感知的事故变成可报读数的数据。
安装
cordis.patch.yml 已含 bundle patch,enabled: true 即挂载。
配置
- id: dsh-constitution-viz
config:
enabled: true # 总开关
tool: true # 是否注册 constitution_viz 工具
许可
MIT
Comments
Loading…
Similar plugins
by Wilyte
面向 DeepSeek Harness(dsh)Web GUI 的搜索插件,挂在内置右侧栏,不依赖 dsh-better-sidebar。 关键词模式搜文件名与文件内容,支持包含/排除 glob、大小写、正则与类型筛选,命中结果边搜边返回; 代码图模式通过 codegraph CLI 查符号并展开调用方/被调方。命中处高亮,点击即在编辑器中跳到该行。
★ 0
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-codegraph-searchby lohana20061023-29
DSH 字体插件:中英文字体分设、正文字号与代码字号、字距/行距/段距/首行缩进四根滑块,吸底总预览 + 确认制,配置写回 profile,不动 app.asar。
★ 25
↓ 169/wk
MIT
JavaScript
Oct 24, 2026
dsh plugin --profile web add dsh-font-probeby PerryLink
公文格式要素核对(按公开的党政机关公文格式标准核对版头与主体要素,仅提示差异,不作出定性结论)
★ 1
NOASSERTION
TypeScript
Oct 30, 2026
dsh plugin --profile web add dsh-gongwen-word-checkby hh719509125
DeepSeek Harness (DSH) 文档编辑插件:在右侧栏的文档预览里就地编辑文本文件并保存,支持 Ctrl+S、冲突保护、行尾逐字节保留。In-place document editor for the DSH Sidebar preview: Ctrl+S, conflict protection, byte-exact line-ending preservation.
★ 5
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add @local/dsh-plugin-document-editorby AngelosZou
A content-aware PDF reading plugin for vision models: profiles each page for figures (vector and raster), tables, formula risk and double-column layout, then applies content-aware hybrid extraction, r
★ 4
↓ 348/wk
MIT
Python
Aug 26, 2026
dsh plugin --profile web add dsh-pdf-readerAdds a Reading tab to the DSH web client that shows process steps and live reasoning in source order, collapses successful turns to the final answer, and keeps the original tabs, composer, and tooling
★ 2
NOASSERTION
TypeScript
dsh plugin --profile web add dsh-clearview