omdsh-dev/dsh-advisor

Advisor - Pair a second model that passively reviews each turn and injects notes

dsh-advisor ports the omp 'advisor' subsystem to a standalone DSH plugin bundle: a per-session independent reviewer model that observes the primary transcript, reviews each stepped turn with an explicitly configured model (provider + model required), and injects severity-ranked advice (nit / concern / blocker) back into the session — without polluting or recursively reviewing itself. Advisory only: it never approves or rejects the primary agent's actions and never issues commands as if it were the primary agent. A misbehaving reviewer is bounded end to end (emission guard, immuneTurns cooldown, failure policy). Works in both front ends: web profile (Settings → 插件配置 → Advisor card) and dsh-tui (/advisor + /advisor config).

Coding & Development ★ 15 updated 2026-09-21 ✅ runtime-tested
View on GitHub ↗

Install

dsh plugin --profile web add dsh-advisor

dsh plugin --profile web add dsh-advisor for the web profile (Settings → Advisor card), or dsh plugin --profile dsh-tui add dsh-advisor for the terminal profile — same plugin, only the --profile flag differs. Pin a version with @<version> (e.g. dsh-advisor@0.1.0). A registry install fetches the published tarball which ships built artifacts (lib/ + cordis.patch.yml) — nothing builds on the target machine. Registry / git / tarball / local-directory variants are documented in docs/install.md. The advisor is off by default: set enabled: true plus provider and model in the global settings document ($DSH_HOME/settings.yaml) or the web Settings card.

Compatibility

DeepSeek Harness (dsh) web and dsh-tui profiles; node ^22.19 || >=24; dsh 0.1.1-rc.2 badge. TUI settings section requires dsh-tui >= v0.8.0. Provider + model are required when enabled (hard gate — the advisor never starts a model call without both).

Details

Recent updates

The current README documents the three configuration surfaces (plugin-row config, web Settings card, /advisor command), the mandatory provider/model hard gate, immuneTurns cooldown and maxDeltaMessages window, and the bounded-failure design.

FAQ

Can the advisor take over the session?
No — it is advisory only: it never approves or rejects the primary agent's actions and never issues commands as if it were the primary agent.
Is it enabled by default?
No — enabled defaults to false, and when enabled both provider and model are mandatory (hard gate).
Does it work in the terminal UI?
Yes — dsh plugin --profile dsh-tui add dsh-advisor, with /advisor and /advisor config commands and a /settings section (dsh-tui >= v0.8.0).

Alternatives

PerryLink/dsh-auto-review · omdsh-dev/dsh-plugin-check · morluto/jacobian

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins