rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:lengquan88/dsh-dual-auto
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Dual-model auto-routing plugin for the DeepSeek Harness (dsh).
Low-cost direct / high-cost upgrade with an escape-learning closed loop.
pnpm add @lengquan88/dsh-dual-auto
Add one row to your profile's cordis.patch.yml:
- insert:
- id: dual-auto
name: '@lengquan88/dsh-dual-auto'
Restart dsh web. The tools dual_model_route, dual_model_run, and
dual_model_mark become available in every session.
| Tool | Purpose |
|---|---|
dual_model_route |
Six-criteria routing decision (length / context / domain coverage / rule conflict / confidence / novelty → six labels). Fingerprints that escaped once are force-upgraded. |
dual_model_run |
Decision + real model call: direct → deepseek-v4-flash, upgrade → deepseek-v4-pro (auto-degrade to flash on failure, marked degraded). Probe tasks auto-validate against a gold set — wrong direct answers trigger escape learning. |
dual_model_mark |
Mark the quality of a direct result. correct=false learns the fingerprint and rewrites the disk log marker; the same fingerprint is force-upgraded next time. |
State persists to output/dsh_router_{fingerprints,stats}.json and
dsh_router_decision_log.jsonl — interoperable with the project's Python
dao/model_router.py (v2 dict fingerprints load directly).
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: model、deepseek。