Preface¶
When using the Auto permission preset in DSH (DeepSeek Harness), every tool call undergoes a background adjudication by the official Auto Review inspector: allow, pass, or deny. Passes often occur without additional notification, while denials typically leave only a result message, making the review rationale and risk level unintuitive. To answer “why this call was passed or denied” during development or troubleshooting, one must infer from session messages, which incurs a high cost.
dsh-auto-review-panel (Maintainer: cherrchen, GitHub: cherrchen/dsh-auto-review-panel) is a read-only external plugin. It does not modify upstream code or participate in secondary adjudication; instead, it displays the official inspector’s decisions, risk levels, and rationale in a sidebar, supporting the persistence of history records by session. It is categorized as a Networking Tool; the current community directory star count is 0. The first version is v0.1.0, licensed under MIT.
What is this¶
In one sentence: A read-only DSH plugin that presents official Auto Review records and host-outcome evidence in the sidebar.right panel.
The plugin consists of a host half and a browser half: the host side reads review status via the DSH Connection channel, and the client renders the panel without opening a private HTTP surface. The panel is a UI/transport surface for review status, not a second inspector; authorization policies, risk grading, and source categorization remain the responsibility of the official Auto Review. Capture occurs via the read-only observation seam of llm/stream; if the fingerprint does not match, it is not recorded, avoiding false positives.
Core Features¶
Read-only Presentation, No Adjudication Change¶
It does not intercept or recalculate any calls. Review content is captured via a read-only seam and projected onto the sidebar, remaining consistent with upstream decisions.
History Persisted by Session¶
Review records are written to <DSH_HOME>/auto-review-panel/v1/ (default ~/.dsh/auto-review-panel/v1/). They are restored by session after dsh restarts; history remains viewable even if Auto Review is disabled or the session no longer uses the Auto preset. Unassociated records (e.g., batches blocked by upstream deny+never) remain visible in any session view. There is no default limit; retention caps and cleanup entries are located in this plugin’s configuration page within the plugin manager (see the repository User Guide for details).
Compatibility Gate (fail-closed)¶
If the host DSH version is not on the support list, or if core @deepseek-ai/dsh-* packages are mixed with different versions, the plugin-related lines will not start, and behavior is identical to the plugin not being installed. The current support matrix is an exact match, not a version range:
| DSH Series | Supported Version |
|---|---|
0.2.1 |
0.2.1-rc.2 |
Environment Requirements¶
To use the plugin: One of the DSH versions in the table above; install via dsh plugin, no local Node toolchain required.
To build from source or contribute: Node.js ^22.19.0 || >=24, pnpm 11.25.0; the pinned DSH for development is 0.2.1-rc.2.
Runtime Platform: macOS, Linux, Windows (The panel is a UI surface with no platform-specific execution semantics).
Installation and Activation¶
The plugin has not yet been published to npm. The installation method described in the materials involves building from local source and then adding the directory path to DSH (Do not concatenate the plugin name to form dsh plugin add github:owner/repo).
Build and installation steps (commands from the repository README):
cd dsh-auto-review-panel
export CI=true
pnpm install
pnpm build
dsh plugin --profile web add /path/to/repo
If dsh is not in the PATH, you can replace dsh in the command with pnpm dsh.
Prerequisites (Indispensable; otherwise, the panel will always be empty):
- Enable the official
@deepseek-ai/dsh-experimental-auto-reviewin the plugin manager (included with the DSH installation, disabled by default). - If the current installation does not include it, explicitly install the exact version
0.2.1-rc.2. Do not use a lagginglatest. - Select the Auto preset for the session.
This plugin only observes the decisions of the existing inspector; it does not inspect itself.
Typical Usage and Verification¶
After installation, you can use the configuration dump to confirm that all three plugin lines are mounted:
dsh plugin --profile web add /path/to/repo
dsh --profile web --dump-config | grep -A3 'auto-review-panel'
Expected output includes:
# == @dsh-electron/dsh-auto-review-panel
- id: auto-review-panel-compat
name: '@dsh-electron/dsh-auto-review-panel/compat'
- id: auto-review-panel
name: '@dsh-electron/dsh-auto-review-panel/panel'
- id: auto-review-panel-client
name: '@dsh-electron/dsh-auto-review-panel'
Brief meaning: auto-review-panel-compat is the startup gate; auto-review-panel is the host half of the panel; auto-review-panel-client is the web client graph anchor.
In daily use, assuming Auto Review is enabled and the session is using the Auto preset, trigger a tool call and view the decision, risk, and rationale for each review in the right sidebar; after restarting DSH, you can view persisted history within the same session dimension.
For development self-checks (contributors), refer to:
pnpm lint && pnpm typecheck
pnpm build
pnpm test
pnpm smoke
pnpm docs:check
Use Cases and Notes¶
Who it is for: Developers using the Auto permission preset in DSH who need to develop, debug, or audit against official Auto Review conclusions; scenarios where you want to turn “black box decisions” into browsable sidebar records.
Permissions and Security: The plugin runs with the permissions of the current dsh process. Read the source code and the MIT license before installation. Records are stored in plaintext JSONL locally at <DSH_HOME>/auto-review-panel/v1/, containing the full text of review requests and original reasoning. They are not encrypted or uploaded; treat them as local sensitive files on shared machines. There is no “disable persistence” switch.
Functional Boundaries: Does not browse history across sessions; the no-session view only displays records in the current process memory. The official Auto Review has no dedicated panel data source interface; adaptation or upgrades are required if upstream seam shapes change. The support matrix is an exact allowlist; the plugin will not start if the version does not match.
Ecosystem Note: The DSH philosophy is “Everything is a plugin.” Community directories like SkillHub are independent sites and have no official affiliation with DeepSeek / Hiuan.
Conclusion¶
dsh-auto-review-panel moves Auto Review decisions and rationale to the sidebar. It is read-only, does not change judgments, and combines with session history persistence to easily answer “why this time was passed or denied.” Refer to the repository documentation for installation details, ADRs, and troubleshooting.
- Directory Page: https://www.skillhub.cn/plugins/cherrchen/dsh-auto-review-panel
- GitHub: https://github.com/cherrchen/dsh-auto-review-panel