CACppuccino/dsh-multiagent-enhence

CACppuccino★ 0JavaScriptLast synced: 2026-08-15

Open on GitHub

README excerpt

dsh-fanout-guidance 让 DeepSeek Harness 的模型 更主动地把目标拆成独立单元、并行调用多个 SubAgent 完成 的纯 Prompt 引导插件。零运行时依赖、零 DSH 核心改动,只用 systemPrompt 公共 seam。 背景 DSH 源码分析显示:DSH 的多子代理机制(continuable 后台子代理 + settle 通知 + workflow fan-out 引擎)已经齐备,但约束 Prompt 停在"原则性表态"层面——workflow 工具被"ONLY when the user explicitly asks"硬门槛挡住,子代理段只说"start independent delegations together"而没有触发条件与收口纪律。 本插件把三处原则性表态升级为操作化触发条件: 变更 机制 效果 ① 放宽 workflow 门槛 system-prompt/assemble waterfall 改写 tool:workflow 段 "ONLY when explicitly asks" → "任务清晰分解为 ≥3 个独立件即触发" ② 并行分解启发式 + barrier 收口 + scope 预检 注册新段 tool:fanout-guidance (order 116.7,位于 tool:subagent 116.5 与 tool:report 117 之间) 独立单元同消息并行派发;全部 settle 通知到达后才推进依赖步骤;只委派子代理固定权限范围内的工作 ③ goal 循环 fan-out 绑定 waterfall 向 tool:goal 段追加条款 每个 goal 自动续轮可并行子代理, 并带预注册护栏 (并行不得改动已注册计划) 安装 重启 dsh web 后生效(配置层在启动时读取)。也可通过 dsh plugin --profile web add [email protected]:CACppuccino/dsh-multiagent-enhence.git 以 git 依赖方式安装(包名仍为 dsh-fanout-guidance )。 配置 键 默认 说明 fanoutSection true 是否注册 tool:fanout-guidance 策略段 fanoutSectionOrder 116.7 策略段在 Prompt 中的顺序(保持 116.5–117 之间即可) relaxWorkflowGate true 是否改写 workflow 段的显式请求门槛 goalFanout true 是否给 goal 段追加 fan-out 条款(含预注册护栏) 全部改写幂等(marker 守护)、容忍缺失段(未装 workflow/goal/subagent 工具的 prese…

View full README on GitHub →
Agentsdsh-pluginagent

Category