cordis-plugin-sofagent-audit
变更机器审阅 + 验收硬门禁——28 规则 + git diff 硬证据 + Turn 停止验收判定(验收不过不放行,开关独立可关)(seam: tools/result + tools/pre-execute + fs/write-intent + agent/turn-stopping)——桥接 @sofagent/audit runRules——DSH(DeepSeek Harness)cordis plugin。sofagent 约束层在 DeepSeek Harness 生态的插件形态。
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 56
- Forks
- 10
01 前言 Front Matter
- name
- cordis-plugin-sofagent-audit
- slug
- cordis-plugin-sofagent-audit
- version
- 1.9.0
- description
- 变更机器审阅 + 验收硬门禁——28 规则 + git diff 硬证据 + Turn 停止验收判定(验收不过不放行,开关独立可关)(seam: tools/result + tools/pre-execute + fs/write-intent + agent/turn-stopping)——桥接 @sofagent/audit runRules——DSH(DeepSeek Harness)cordis plugin。sofagent 约束层在 DeepSeek Harness 生态的插件形态。
- displayName
- cordis-plugin-sofagent-audit
02 资源文件 5
- 参考文档cordis.patch.yml905 B
- 参考文档package.json2.1 KB
- 脚本src/index.test.ts17.1 KB
- 脚本src/index.ts18.9 KB
- 参考文档tsconfig.json185 B
03 SKILL.md 正文
cordis-plugin-sofagent-audit
变更机器审阅 + 验收硬门禁——28 规则 + git diff 硬证据 + Turn 停止验收判定(验收不过不放行,开关独立可关)(seam: tools/result + tools/pre-execute + fs/write-intent + agent/turn-stopping)
用途
装上之后:工具调用前后各过一道审计——28 条 git diff 硬证据规则 + 危险操作黑名单;Agent 想收尾时先过机器验收判定,不过不放行(验收门禁有独立开关,settings 里可关)。什么时候用:需要「改了什么、谁改的、有没有越界」有硬证据可查,且交付标准明确、不想让 Agent 自述「做完了」就算完。
接入点(seam: tools/result + tools/pre-execute + fs/write-intent + agent/turn-stopping):桥接 @sofagent/audit,缺依赖时该能力静默跳过;接入形态(声明 / 实现)见 SEAMS.md。验收判定源 = define_acceptance / check_acceptance 两 MCP tool(v1.4.9 P2 吸收原 cordis-plugin-sofagent-gate 验收面,不另造判定源)。
本插件随 sofagent 主线版本发布(SkillHub 通道:skillhub install cordis-plugin-sofagent-audit 安装与检索;npm 通道未开通)。版本号与 sofagent 主线对齐。
相关链接
- sofagent 主仓:https://github.com/KongFangXun/sofagent
- 开发日志:docs/changelog/v1.4/v1.4.0.md(DSH 插件家族)
04 同仓库更多 Skills
enterprise-fde-识别AI节点
当 FDE 需要对工作流节点做 AI 分类判定时用这个 Skill—— 不是"它是干什么的",是"什么时候用"。 写错 description = Skill 永远不会被触发。
cordis-plugin-sofagent
一次挂载 sofagent 全套能力——6 项能力一次到位(注入 · 审计与验收 · 经验 · 回溯 · 巡检 · FDE 三域)(seam: non-seam:plugin-suite)——只编排不重实现——sofagent 约束层在 DSH(DeepSeek Harness)生态的插件形态。
cordis-plugin-sofagent-rsi-corpus
语料管道 tool 集——脱敏 L0/L1 + 三分拣(SENSITIVE/JUDGEMENT/ABSTAIN),与出厂基准逐字节等价(golden 锁定)(seam: non-seam:tool-set)——桥接 @sofagent/rsi-corpus runPipeline——DSH(DeepSeek Harness)cordis plugin。sofagent 约束层在 DeepSeek Harness 生态的插件形态。
cordis-plugin-sofagent-rollback
出错逆序撤销——git snapshot → effect disposer(seam: agent/error)——桥接 @sofagent/core getHistoryFilePath——DSH(DeepSeek Harness)cordis plugin。sofagent 约束层在 DeepSeek Harness 生态的插件形态。
cordis-plugin-sofagent-inject
启动注入企业约束——四层加载链(seam: agent/pre-step)——桥接 @sofagent/inject buildConstrainedSystemPrompt——DSH(DeepSeek Harness)cordis plugin。sofagent 约束层在 DeepSeek Harness 生态的插件形态。
cordis-plugin-sofagent-fde
FDE 进场与能力流通——把企业业务梳理成 AI 能力,并让这些能力在企业内被发布、发现、调用、评价、退役(seam: non-seam:tool-set)——桥接 @sofagent/orchestrator publishCapability / @sofagent/ontology generateOntologyView / @sofagent/core restoreSnapshot——DSH(DeepSeek Harness)cordis plugin。sofagent 约束层在 DeepSeek Harness 生态的插件形态。