DeepSeek Harness plugin

dsh-turn-review

DSH web plugin: better-sidebar Turn Review tab — a human gate on the diff of the just-finished agent turn (Approve / Request changes per path with comment). Not a rewind.

Jump to install

Source facts

Repository
yq04/dsh-turn-review
Latest update
Aug 15, 2026
Category
Workflow & Automation
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/yq04/dsh-turn-review
Plugin: dsh-turn-review
Author: yq04

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README_EN.mdSource · read only
README language

dsh-turn-review

简体中文 · English

A DeepSeek Harness web plugin: a Turn Review tab in dsh-better-sidebar (omdsh-dev/DSH-better-sidebar) — a human gate on the diff of the just-finished agent turn: Approve / Request changes.

Not a rewind. Others build time machines; we build the review gate.

Five features (v1 ships all of them)

1. Only the last turn. No checkpoint timeline, no forking back; a new turn expires the previous review. 2. Same session. No fork, no conversation trimming; the comment lands via agent.inject (no wake). 3. Attribution. Paths are grouped by main session / subagent / unattributed (shell or out-of-session edits). 4. Per-path Request changes + optional comment. The inject notice carries only paths + attribution + comment — no file content, no tokens. 5. See the diff first. Click a path to read the turn-start snapshot vs now unified diff, inline in the tab (never the built-in Git index/HEAD diff).

Two quality baselines: the workspace is snapshotted at turn start (so shell edits show up too), and git reset --hard / git clean / session fork / /rewind / model tools are forbidden.

Read-only history

The tab footer shows the last 20 turns: each is tagged approved / requested-changes (with paths and comment) / expired, expandable to the path list. History is always read-only — you cannot restore disk from turn N-3. No timeline rewind in this product.

Coexistence

Turn Review = Approve / Request changes on the just-finished turn's diff.
To go back to earlier messages or fork a session, use /rewind-style plugins.
For commits and pushes, use the better-sidebar Git tab and Git remotes.

Install

dsh plugin --profile web add dsh-better-sidebar
dsh plugin --profile web add git+https://github.com/yq04/dsh-turn-review.git

Without better-sidebar the host routes still mount; the client declares inject = ['betterSidebar'] so the tab stays inactive. Remove with:

dsh plugin --profile web remove dsh-turn-review
dsh plugin --profile web --dump-config

Requires system git. The plugin never stores tokens and redacts common token shapes in inject text.

Boundaries

DoesDoes not
turn-start snapshot + end diff (subagents and shell included)checkpoint timeline, step-back
per-path restore (unlink / checkout start HEAD / write back bytes) + disk re-readgit reset --hard, git clean, force-push
agent.inject notice (no wake)sessions.prompt auto re-run
POST + application/json + Host trust fencemodel-facing tools
refuse binary / over-cap / symlink pathssilent skip, follow symlinks

Request changes requires confirm: true — human-clicked, like the Git remotes push.

Model Experience

Only when the human requests changes and the inject succeeds does the model see, in the next request, one user message with source.kind === 'plugin'. Copy is locked Chinese: paths + attribution + optional comment. Approve injects nothing. If the agent is unavailable after disk restore (agent-unavailable), the UI says so explicitly.

Limits

  • Not a time machine: no fork, no /rewind, no checkpoint timeline.
  • Restore targets the turn-start workspace state (including pre-turn

dirt); files committed mid-turn are only removed from the worktree — the index/HEAD stays for the Git tab.

  • Non-git workspaces: attribution only, no restore (UI states this).
  • Caps live in src/config.ts (1 MiB per file, 200 files); not

configurable in v1.

Develop

pnpm install
pnpm typecheck
pnpm test
pnpm build
node scripts/verify-self-contained.mjs

dsh.bundle.patch is cordis.patch.yml. Run pnpm build before release (npm prepare runs tsdown).

License

BSD-3-Clause (same as the official plugin-template).