MIT 协议的开源 FDE Harness 治理层:9 个 DeepSeek Harness 原生插件,对每一次 AI 改动做审计、留痕、快照,让 AI 干活守规矩、出事能回溯。
DSH 适配
原生运行时
作者声明
安全审计
未审计
最后核验
2026-09-03
许可证
MIT
01它能帮你完成什么?
Govern every change your AI coding agent makes inside DeepSeek Harness — gate edits, record an audit trail, and snapshot before commit
A forced audit on each commit (24 git-diff rules: secret-leak, cross-boundary, injection detection) with hard evidence, an immutable audit log, and one-click rollback to any snapshot
Solo founders and small teams running DeepSeek Harness (DSH) who want AI work constrained, traceable and recoverable
Onboard AI nodes into your business with the FDE method — map workflow, build the dual ontology, deploy and continuously govern
Enterprise profile, AI-node plan with annual savings, and three-layer deliverables (docs + Skill + runtime) that run inside your DSH agent
FDE / deployment engineers and small businesses adopting AI without a dedicated platform team
02如何接入 DeepSeek Harness?
前置条件
- Node.js ≥ 18 (required for the full `bash bootstrap.sh` install)
- Install on the device that runs your AI agent (enterprise machine), not the FDE's own laptop
- A git repository to audit
安装步骤
- 01
$ npx -y -p @sofagent/audit sofagent-audit
- 02
$ curl -fsSL https://raw.githubusercontent.com/KongFangXun/sofagent/refs/tags/v1.4.3/bootstrap.sh -o bootstrap.sh
- 03
less bootstrap.sh # review the script before running
- 04
bash bootstrap.sh && rm bootstrap.sh
- 05
sofagent-audit --init # install git hook for per-commit audit
- 06
sofagent-audit --doctor # verify environment (optional)
验证接入成功
- sofagent-audit --doctor # validate the environment (optional)
03DSH 适配与能力边界
DeepSeek Harness 原生运行时插件:9 款 `cordis-plugin-sofagent-*` 以最深的「插件级」档位挂载进 DeepSeek Harness(Cordis)运行时
Zero-config audit
any git repository's latest commit→audit result against 24 git-diff rules (quick default 17 + 7 extended via config): secret-leak / cross-boundary / injection detection with hard evidence
Constraint injection (4-layer)
your enterprise constraints at agent startup→four-layer constraint injection into the DeepSeek Harness agent
constraints are advisory — an agent may skip them; only the audit is mandatorySnapshot rollback (回溯)
each audited change→an automatic snapshot archive; one-click restore to any snapshot
04适合谁?何时不该用?
适合
- Solo founders and small teams running DeepSeek Harness (DSH) who want AI work constrained, traceable and recoverable
- FDE / deployment engineers and small businesses adopting AI without a dedicated platform team
不适合
- config.yml is not fail-closed by default — rules can be tampered with / bypassed by the agent, and multi-tenant isolation is not yet implemented. For strong compliance use CI as a backstop and lock the file (`chmod 444 .sofagent/config.yml`); do not run the single-machine default in production.
- Designed for a single machine / single user; multiple agents share one knowledge base and audit history, and multi-tenant isolation is in the roadmap. task/logs are stored in plaintext (static encryption not yet wired).
05兼容性、维护与安全提示
- config.yml is not fail-closed by default — rules can be tampered with / bypassed by the agent, and multi-tenant isolation is not yet implemented. For strong compliance use CI as a backstop and lock the file (`chmod 444 .sofagent/config.yml`); do not run the single-machine default in production.
- Designed for a single machine / single user; multiple agents share one knowledge base and audit history, and multi-tenant isolation is in the roadmap. task/logs are stored in plaintext (static encryption not yet wired).
MIT · actively maintained (latest release v1.4.3, 2026-09-01)
06常见问题
sofagent 怎么和 DeepSeek Harness 集成?
它提供 9 款 `cordis-plugin-sofagent-*` 插件,以最深档位的「插件级」挂载进 DeepSeek Harness(Cordis)运行时——比其它宿主用的 Skill / Hook 档位更深。
接 DeepSeek Harness 除了装插件还要做什么?
插件会自动挂载进运行时;要每次 commit 强制审计,再跑一次 `sofagent-audit --init` 装三层 git hook(pre-commit / commit-msg / post-commit)。
sofagent 会替代模型或 DeepSeek Harness 吗?
不会。它不造 Agent、也不替代模型,只嵌在 DeepSeek Harness 与模型层之间补治理(注入 · 审计 · 回溯 · 进化),补上那 10% 的可靠执行。
不做完整安装也能跑审计吗?
能。`npx -y -p @sofagent/audit sofagent-audit` 零配置、秒级审计任意 git 仓库最近一次 commit;完整 `bootstrap.sh` 安装只在跑 AI 节点的设备上才需要。
Agent 不守约束时,审计还强制吗?
约束是建议性的,但审计是强制性的:每次 commit 都过 24 条 git diff 规则,违规当场拦截;强合规建议再用 CI 兜底 + 文件权限锁(`chmod 444 .sofagent/config.yml`)。
07相关的 DSH 工作流
tencentmeeting-cli
作者 tencentcloud
腾讯会议命令行工具(CLI),基于腾讯会议开放平台 OAuth2 授权,支持会议管理、录制管理、参会报告等功能。
dsh-auto-review
作者 perrylink
第二模型 AI 自动评审:只读评审子智能体对审批请求返回结构化允许或拒绝结论,默认关闭、全程可审计。
dsh-permission-rules
作者 perrylink
Claude Code 风格声明式权限规则:按序 allow/deny/ask 匹配工具、参数与工作区路径
dsh-secure-audit
作者 pensivefei
只读安全合规插件:提示注入检测、中文隐私信息脱敏与本地配置审计报告。
08数据与来源
9 款 `cordis-plugin-sofagent-*` 挂载进运行时(见上章)
开源 9 款插件已挂载进 DSH,烧录即用。
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-03。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
