Community directory previewDeepSeek Harness is in developer preview
DL

dsh-llm-repetition-guard

PluginConfirmed pluginCommunity

filantropo17/dsh-llm-repetition-guard · updated 13 days ago

Installation

dsh plugin --profile web add dsh-llm-repetition-guard
dsh plugin --profile web add github:filantropo17/dsh-llm-repetition-guard

Plugins in this repository

  • dsh-llm-repetition-guardv0.1.0

    Degenerate-output repetition guard for the DeepSeek Harness

    package.json
    package.json
    dsh.bundle.patch
    Official core packages (5)
    • @deepseek-ai/cordis^4.0.1shared
    • @deepseek-ai/dsh-invariants^0.1.0-rc.7shared
    • @deepseek-ai/dsh-llm^0.1.0-rc.7shared
    • @deepseek-ai/dsh-session^0.1.0-rc.7shared
    • @deepseek-ai/schemastery^3.18.1private copy

Paths are pinned to commit 670e4bcb118d

Overview

Function plugin that fails a model request whose streamed output degenerates into repetition — a loop over one word, phrase, or n-gram — so the agent loop's agent/request-error recovery can retry it under the provider's retry policy. It wraps the llm/stream waterfall on ctx.llm: each model call gets a fresh per-stream detector, and the wrapper yields a terminal DEGENERATEOUTPUT error finish (then truncates the stream) as soon as the trailing text shows one unit repeated maxRepeats times. Retry h

Repository check result

Results are bound to the listed commit and cover only static checks run by this registry. The Evidence Score measures reviewable information; it is not a compatibility percentage or a security guarantee.

Static repository check

Medium risk
Checked commit
670e4bcb118d
Evidence Score
59/100
Static risk
Medium risk
Files scanned
1
Findings
1

Evidence breakdown

Source provenance25/25
Install documentation8/25
Maintenance12/20
Compatibility evidence4/20
Security signals10/10

Compatibility confidence: Unknown

Findings (1)
  • Mediumdeps.core-package-installed
    package.jsondependencies
    "@deepseek-ai/schemastery": "^3.18.1"
Not run
  • Dependency advisory database scan
  • Installation execution test
  • Runtime behavior verification

Scanner 1.0.0 · Scorer 1.0.0