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 個值得優先安裝的外掛,涵蓋各個分類。
