dsh-reasoning-loop-guard

Aborts a DSH reasoning stream that starts repeating itself instead of letting the turn stall: five rules over the streamed reasoning text (periodic unit, repeated block, repeated line above a share floor, 64-gram density, and a long trailing run of punctuation or whitespace), plus a JSONL fire journal, a Web GUI log panel, and opt-in recovery that retries with a corrective message.

Overview

Aborts a DSH reasoning stream that starts repeating itself instead of letting the turn stall: five rules over the streamed reasoning text (periodic unit, repeated block, repeated line above a share floor, 64-gram density, and a long trailing run of punctuation or whitespace), plus a JSONL fire journal, a Web GUI log panel, and opt-in recovery that retries with a corrective message.

Installation

Install from GitHub

dsh plugin --profile web add github:himi-li/dsh-reasoning-loop-guard

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands