GooDAnDReaDY/dsh-agent-loop-guard

Fail-closed runtime tool-call loop guard and assistant output repetition breaker for DSH, with a documented trigger table and one-click in-place updates.

Catches the two ways a long agent run wastes money: the same tool call being retried in a loop, and the assistant repeating itself. Both are handled at runtime with a fail-closed rule — a call that trips the guard is rejected and the model has to answer in text instead of trying again. The trigger table is published, so the conditions that stop a run are readable rather than a black box, and the plugin can update itself in place after verifying the new version against the npm registry.

Agent Capabilities ★ 3
View on GitHub ↗

Install

dsh plugin --profile web add @goodandready/dsh-agent-loop-guard

README install line; npm package @goodandready/dsh-agent-loop-guard, latest 0.2.2, registry repository resolves back to this repo. The README also documents the tool's own loopback update endpoint, which verifies against the npm registry before upgrading.

Compatibility

A web-profile plugin for DSH. Behaviour is fail-closed: when a guard condition fires the tool call is rejected rather than allowed through. The README lists each trigger — including LOOP_GUARD_STOP for user stop commands in several languages, which requires an immediate text reply.

Details

Alternatives

GooDAnDReaDY/dsh-moa · MiloMMIN/dsh-agent-board · GooDAnDReaDY/dsh-shadow-auditor

More plugins in Agent Capabilities

Browse more in Agent Capabilities

Guides for Agent Capabilities plugins