rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:callaumyan-design/dshx-loop-guard
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Detects and stops agent loops — the same tool call returning the same result again and again — mainly for small local models.
防止 agent(主要是本地小模型)陷入「反复调用同一个工具」的死循环。只挂 DSH 公开的 agent/request、tools/pre-execute、tools/post-execute 事件,不改 agent 主循环。
warnAt 次在结果后附加提醒,第 stopAt 次直接拒绝;hardLimit 次(不论结果)后拒绝;maxCallsPerTurn 时拒绝(0 = 不限);maxDenials 次后中止本轮。改完文件再跑同一条测试命令不算循环:结果变了,计数就清零。
cordis.patch.yml)| 字段 | 默认 | 说明 |
|---|---|---|
providers |
['local'] |
只对这些 provider 生效;空数组 = 所有模型 |
warnAt |
3 |
|
stopAt |
5 |
|
hardLimit |
12 |
|
maxCallsPerTurn |
0 |
|
maxDenials |
3 |
# Web profile
dsh plugin --profile web add github:callaumyan-design/dshx-loop-guard
# Desktop(用 DSH Desktop 自带的 dsh 命令,先从托盘完全退出 Desktop)
dsh plugin --profile desktop add github:callaumyan-design/dshx-loop-guard
安装后重启 DSH。卸载:dsh plugin --profile <profile> remove dshx-loop-guard。
在 DeepSeek Harness 0.2.0-rc.2(desktop / web profile)上开发和使用。纯 JavaScript,无构建步骤,无安装脚本。
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。