说明
以下为插件作者提供的原文。
axiom-dre-dsh
Axiom 确定性推理引擎(DRE)的 DeepSeek Harness (dsh) 插件。
自包含插件:内置 DRE 引擎与其 MCP 后端,以 dre__ 前缀向 dsh 暴露引擎工具——知识验证(三段甄别)、确定性认知闭环、约束求解、心智模型与突触记忆。
- 许可证:MIT
- 热插拔:
sole plugin add/rm - 运行时:依赖 Bun
安装
无需额外配置——插件自带后端:
sole plugin --profile web add github:ListenJ/axiom-dre-dsh
重启 dsh(dsh web)后,工具列表将出现 dre__* 工具与诊断工具 dre_plugin_status。
卸载
sole plugin --profile web rm axiom-dre-dsh
架构
插件自包含:内置 DRE 引擎与仅含 DRE 能力的 MCP 后端(backend/server.js,Bun 单文件构建),经 stdio 拉起:
dsh (Node) ── axiom-dre-dsh ──stdio──▶ 内置后端 (Bun) ──▶ DRE 引擎
│ │
过滤 + 注册 Kernel / Pipeline / …
- 插件内置 DRE 引擎(Kernel、三段甄别流水线、认知闭环、约束求解、突触记忆),以
bun backend/server.js --stdio启动,数据目录data/自动创建。
dre_plugin_status(始终可用)
诊断工具:报告 MCP 桥接状态(连接/工具数/服务名)、DRE 引擎状态与生效配置摘要。
配置
经 cordis.patch.yml 行 id dre 覆盖(整段覆盖需重述全部所需键)。
| 键 | 默认 | 说明 |
|---|---|---|
dataDir | <插件>/data | 后端数据目录(SQLite/记忆),自动创建。 |
mcpEnabled | true | 拉起后端并桥接。 |
mcpCommand / mcpArgs | bun / <插件>/backend/server.js --stdio | 后端启动命令。 |
mcpServerName | dre | 工具公开前缀(<serverName>__<tool>)。 |
mcpToolCallTimeoutMs | 60000 | 单次工具调用超时(毫秒)。 |
mcpFailOnStartupError | false | false=启动失败仅告警;true=初始连接失败即报错。 |
toolFilter | [] | 空=内置 DRE 白名单;显式数组完全替换(前缀以 _ 结尾或全名)。 |
synapseEnabled | true | false 时剔除 mind_synapse_* 与 mind_suggest。 |
工具(前缀 dre__)
- 知识验证:
dre_write_knowledgedre_search_knowledgedre_read_knowledgedre_subgraphdre_statusdre_constraint_inject - 确定性认知:
cognitive_loopcognitive_loop_fullcognitive_pipeline_runcognitive_pipeline_run_fullcognitive_statetask_graph_execute - 推理图:
reasoning_buildreasoning_detect_gapsreasoning_fill_gapreasoning_result - 约束求解:
constraint_checkconstraint_listconstraint_select_bestconstraint_stats - Actor / 心智模型:
actor_listactor_sendmental_model_listmental_model_matchmental_model_predict - 突触记忆:
mind_suggestmind_synapse_activatemind_synapse_createmind_synapse_spreadmind_synapse_suggestmind_synapse_tracemind_synapse_verify - 诊断:
dre_plugin_status
许可证
MIT
版本历史
- 0.1.02026年11月29日 · 233 KB