dsh-routing-suite: A Runtime Injection and Task-Aware Routing Kit for DeepSeek Harness

yjh051108/dsh-routing-suite

Tools & CapabilitiesVerified
Listed on 2026-09-21
Page last updated 2026-10-04

A DSH plugin suite bundling a runtime injector, a task-aware reasoning-mode router preset, and a graded task protocol so the agent picks the right reasoning mode and verifies work end to end.

dsh-routing-suite gathers a runtime injector, a reasoning-mode router preset, and a graded task protocol into one repository built for long-horizon DeepSeek Harness sessions. It targets concrete failures such as decaying verification diligence, first-turn routing misses, and broken preset assembly chains, letting a session switch reasoning modes according to the task at hand. Once enabled, a new session can pick the Router Standard or Router Spec preset, use the dev_* tools to inspect routing state and switch modes, and rely on the single-task triple anchors and graded task protocol to push open-task completion to the top.

How to Install

install
dsh plugin --profile web add github:yjh051108/dsh-routing-suite
Category
Tools & Capabilities
Platform
DSH Plugin
Author
yjh051108
Distribution
Plugin

dsh-routing-suite Key Features

Runtime injection and hot reloadTask-aware reasoning-mode routingGraded task protocol with red-team gateFirst-turn routing actually worksReproducible session metrics
Listed on dsh-plugin.org

dsh-routing-suite Repo Summary

What Does It Do?

It is a DSH plugin for DeepSeek Harness that bundles a runtime injector, a reasoning-mode router preset, and a graded task protocol into a single repository. It addresses real problems in long-horizon tasks, such as decaying verification diligence, first-turn routing failures, and broken preset assembly chains, so a DSH session can switch reasoning modes based on the task at hand. It is maintained by yjh051108 under the MIT license and was last updated on 2026-09-18.

Core Features

  • Runtime injector: ships a full dev_* toolset covering injection, hot reload, uninstall, side-mount promotion, and routing self-healing without restarting the runtime layer.
  • Reasoning-mode router preset: routes by model persona with three behavior bands, spec (plan-collective), react (executor), mixed (trap avoidance), plus weak (model self-classification) and inner weak routing.
  • Proximity guidance: injects fixed guidance after each user message with 92-94% cache hit rate, 96% routing accuracy, 100% convergence, and anti-dilution behavior.
  • Single-task triple anchors: static persona anchors for review, convergence, and anti-drift, lifting open-task completion from 0% to 100%.
  • Graded task protocol: a session-level two-tier flow from brainstorm alignment and north-star finalization through spec planning, check-in, group wrap-up, and final verification, including red-team gates and audit endpoints.
  • Reproducible measurements: a measurement script lets anyone recompute attention-diligence metrics on their own session logs, emitting anonymized numbers only.

How to Use This Plugin?

After enabling it in DSH, pick the Router Standard or Router Spec (experimental) preset in a new session, and the plugin classifies the task and injects the matching guidance. The install chain has three steps: assemble the injector first, then copy the router-standard and router-spec preset directories flat into the user-level presets directory, and finally restart DSH. Do not copy the whole preset directory, or an extra nesting level will hide the presets from DSH. To inspect routing state or switch modes, call tools such as dev_router_status, dev_router_mode, and dev_mode_subagent; plan-mode only replaces the persona section, so plan boundaries stay intact.

How to Troubleshoot This Plugin?

If first-turn routing does not take effect, the first real user message was likely not captured; this was fixed by capturing it before assembly, so update to the corresponding version per the official instructions. If each turn triggers an extra API call and doubles cost, the proximity guidance is not going through the pre-step chain, which the fixed version injects in the same request as the user message. If DSH cannot discover the presets after installation, an extra directory level was usually added during copying; copy them flat into the presets directory as the README requires.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: yjh051108/dsh-routing-suite. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ