dsh-repeat-stopv0.1.2

173787247/dsh-repeat-stop

安全管理 MIT 最近更新 2026-11-05
2Stars
0Forks
0待解决 Issue
安装命令 dsh plugin --profile web add github:173787247/dsh-repeat-stop#215addc5fbd7b907ada440a24d3bbce80574d140

介绍

Hard-stop consecutive identical DeepSeek Harness tool calls after a configurable streak.

标签

deepseek-harness dsh-plugin loop wsl

概述

dsh-repeat-stop

DeepSeek Harness plugin: hard-stop consecutive identical tool calls (same tool + same arguments).

Pairs with dsh-tool-budget. Part of dsh-wsl-kit.

中文说明 → README.zh.md

Where it sits

Hard-stops a streak of identical tool calls. It does not cap a varied tool session; that is dsh-tool-budget.

flowchart LR
  calls["identical tool calls"] --> guard["dsh-repeat-stop"] --> stop["hard stop"]

Suite diagram and version snapshot: dsh-wsl-kit. This plugin is 0.1.2 (daily). Do not copy that matrix into this README.


Compatibility

FieldValue
Plugindsh-repeat-stop 0.1.2
Minimum dsh≥ 0.1.2 (web UI one-shot ?token= on Windows relay :3081)
Latest verifiedSee dsh-wsl-kit Compatibility (currently 0.2.2-rc.1) — single source of truth for the suite
Kit setdaily (also in github / full; fetch+net also in llm)
Cloud FlashUse model id deepseek-flash (V4.1 Flash) in ~/.dsh/settings.yaml / llm-deepseek — not configured by this plugin
Agent TeamsUpstream experimental; not required here

Suite floor versions: kit check-plugin-versions.sh. Fault tree: TROUBLESHOOTING.md.

Why

Official repeat-tool-reminder only advises and never blocks. Agents can still spin on the same failing call. This plugin denies the next call after a streak.

Default: 6 identical calls may run; the 7th is blocked. Changing args/tool or a real user message resets the streak.

Install

dsh plugin --profile web add github:173787247/dsh-repeat-stop

Restart dsh web. No new tool appears. When it fires, Trajectory shows dsh-repeat-stop: blocked.

Config

- id: dsh-repeat-stop
  name: dsh-repeat-stop
  config:
    enabled: true
    threshold: 6
    exclude:
      - job_output
      - job_list
      - job_kill
    # include: []   # if set, only these names (wildcards ok) are tracked
KeyDefaultMeaning
enabledtrueMaster switch
threshold6Allowed streak; next call blocked (integer ≥ 2)
excludejob_*Names that never count
include(empty)If set, only these names are tracked

vs dsh-tool-budget

PluginWhat it blocks
dsh-repeat-stopConsecutive identical calls
dsh-tool-budgetTotal tool calls in the whole session

Test

npm test

License

MIT

星级评价

1.5 按 GitHub Stars 换算的社区热度,非用户打分
Stars2
Forks0
待解决 Issue0
最近更新2026-11-05

基本信息

作者173787247
版本0.1.2
开源许可MIT
默认分支master
入库时间2026-11-05

插件信息来自公开 GitHub 仓库与 SkillHub,版权归原作者所有;安装前请自行审查仓库代码。