DeepSeek Harness plugin that live-scores the reasoning fingerprint into spec / mixed / react bands and, when enabled, repairs drift with L1 hint / L2 reset / L3 restart — monitor-only by default, tuned for DeepSeek V4 Pro 0813.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-11-25
License
MIT
01What can it help you accomplish?
See how hard the model is actually thinking while it thinks, without changing anything
A live gauge of thinking intensity, the three-band state (spec / mixed / react) and an ECG-style curve in the corner of the screen; collapsed, it becomes a fixed-width rheostat bar with a rolling log ticker
DSH users who want a read-only view of reasoning quality and stay in monitor-only mode
Catch a trajectory drifting out of the spec band and pull the model back mid-task
Tiered, cooldown-gated interventions with hysteresis recovery: L1 injects a suggestive hint when the mixed band is entered, L2 soft-restarts the running turn so the next request runs under the 46-char Minimal persona plus `bash`/`str_replace_editor`, L3 adds restart advice once L2 retries are exhausted — and the task keeps going instead of stopping
People running DeepSeek V4 Pro 0813 with an anchored preset who want drift repaired automatically
Tune and replay the detector instead of trusting fixed thresholds
Every lexicon entry, weight, threshold, window, band boundary and cooldown lives in YAML validated against `config/schema.json`; JSONL experiment logs, offline replay, grid-search calibration and a standalone HTML dashboard snapshot ship with the repo
Researchers and tinkerers calibrating the fingerprint scoring on their own transcripts
02How to install into DeepSeek Harness
Prerequisites
- Node.js ≥ 22.19 — stated in the README's requirements section and in the npm badge
- DeepSeek Harness 0.1.0-rc.5+ for the web plugin and preset
Installation steps
- 01
Install the web plugin into your web profile: `dsh plugin --profile web add @a9i5k4/dsh-anchored-monitor` (the dsh CLI is a pnpm forwarder)
$ dsh plugin --profile web add @a9i5k4/dsh-anchored-monitor
- 02
Start the monitor process: `npx anchored-monitor` — the default profile is the production-safe `default`; `demo` is only for the accelerated L1→L2→L3 demo
$ npx anchored-monitor
- 03
Restart DeepSeek Harness (host bundle) and refresh the web GUI
- 04
To move the monitor, edit `~/.dsh/anchored-monitor.json` or `POST /api/anchored-monitor/config` with `{ "monitorUrl": "http://127.0.0.1:9301" }`
Verify the integration
- **锚定监控 / Anchored Monitor** appears in the left sidebar footer; clicking it opens the glass panel and clicking the floating bar expands or collapses it
- `/api/overview` on the monitor returns sessions, the selected snapshot and tail events in one call
03DSH integration and capability boundaries
Native DSH web plugin plus a companion Node process: `dsh plugin --profile web add @a9i5k4/dsh-anchored-monitor` installs the host half, which reads each session's reasoning blocks, subscribes to `llm/stream` for live deltas and spawns the standalone monitor (default `http://127.0.0.1:9301`); the browser half adds a 锚定监控 / Anchored Monitor sidebar entry with a floating glass panel, and all monitor routes are proxied through `/api/anchored-monitor/*` on loopback.
Live fingerprinting of every reasoning block
Reasoning blocks read from `~/.dsh/sessions/*/events.jsonl` and `reasoning-delta` chunks pushed from `llm/stream`→A sliding-window score comparing spec markers (`we`, `let's`, `we'll`, `we need`, …) against the react marker (`let me`), plus the band that score falls into
reasoning text is consumed by the monitor process and may be written to the local experiment logThree-band state and tiered L1 / L2 / L3 intervention
`persona_ratio` from the sliding window, plus cooldown and hysteresis settings→`< 0.2 → spec`, `0.2–0.5 → mixed`, `≥ 0.5 → react`; entering mixed fires an L1 suggestive hint, entering react fires an L2 reset that runs the next request under the 46-char Minimal persona with only `bash`/`str_replace_editor`, and exhausted L2 retries escalate to L3 restart advice
L2 cancels the running turn and soft-restarts the conversation, then continues the taskthe monitor resets its own window and baseline after an L2 resetLiquid-glass panel, rheostat bar and meme skin
A click on the 锚定监控 sidebar entry, or on the collapsed floating bar→A draggable, resizable frosted-glass panel above the conversation; collapsed it becomes a 320px viewport-adaptive rheostat bar with a rolling log ticker, and the optional Meme skin floats a speech bubble above the intensity knob that flips through Liang Wenfeng faces as intensity rises
panel position, size, skin choice and language are saved locallythe meme face images are embedded in the client bundle as base64CoT leak / stall guards and the intervention master switch
The visible text channel (`text-delta` → `/api/push-text`) and the panel-header toggle→`text_leak` and `streaming_stall` alerts with per-session `cot` counters and `guard_triggered` events; the master switch turns interventions on or off at runtime and persists across restarts, leaving pure monitoring when off
the guards are alert-only and never auto-interveneturning interventions off means drift is reported but not repairedYAML configuration, monitor HTTP API and experiment scripts
`config/*.yaml` validated against `config/schema.json`, or the DSH settings page→Nine loopback HTTP endpoints (overview, sessions, snapshot, events, push, push-text, ack, reset, SSE stream) plus `demo:generate`, `demo:feed`, `replay`, `calibrate` and `preview:build` scripts
saving the settings page restarts the monitor to apply the new valuescharts only draw threshold lines for trigger rules that are enabled
04Who is it for? When not to use it?
Good for
- DSH users who want a read-only view of reasoning quality and stay in monitor-only mode
- People running DeepSeek V4 Pro 0813 with an anchored preset who want drift repaired automatically
- Researchers and tinkerers calibrating the fingerprint scoring on their own transcripts
Not for
- The whip is tuned for DeepSeek V4 Pro 0813: keep interventions on for that model and turn them off (monitor-only) for any other, because a session that was never anchored stays in the react band and L2 keeps firing — the README calls that a fight loop, not monitoring
- Requires Node.js ≥ 22.19 and DeepSeek Harness 0.1.0-rc.5+ for the web plugin and preset; the monitor is a separate Node process that the host spawns at DSH start with a 15s watchdog
- The monitor consumes reasoning text, which may be sensitive: the experiment log stays local by default but should be rotated or disabled in `experiment_log`, and although all HTTP routes are loopback-only, everything the monitor sees passes through it
- For anyone extending it: an `llm/stream` listener must be a plain function returning an async generator (never `async`), because a violation took down every model request with zero logged events; and L1/L2/L3 must have exactly one executor, since enabling both the web plugin and the agent preset double-registers the hooks and fires L2 resets twice
05Compatibility, maintenance and safety notes
- The whip is tuned for DeepSeek V4 Pro 0813: keep interventions on for that model and turn them off (monitor-only) for any other, because a session that was never anchored stays in the react band and L2 keeps firing — the README calls that a fight loop, not monitoring
- Requires Node.js ≥ 22.19 and DeepSeek Harness 0.1.0-rc.5+ for the web plugin and preset; the monitor is a separate Node process that the host spawns at DSH start with a 15s watchdog
- The monitor consumes reasoning text, which may be sensitive: the experiment log stays local by default but should be rotated or disabled in `experiment_log`, and although all HTTP routes are loopback-only, everything the monitor sees passes through it
- For anyone extending it: an `llm/stream` listener must be a plain function returning an async generator (never `async`), because a violation took down every model request with zero logged events; and L1/L2/L3 must have exactly one executor, since enabling both the web plugin and the agent preset double-registers the hooks and fires L2 resets twice
MIT (stated in the README and the npm badge) · last push 2026-09-05, no GitHub release tag published (npm package @a9i5k4/dsh-anchored-monitor) · the README credits the measured results of several community anchoring projects and calls the monitor read-only with respect to the model
06Frequently asked questions
How do I install dsh-anchored-monitor into DeepSeek Harness?
Run `dsh plugin --profile web add @a9i5k4/dsh-anchored-monitor`, start the monitor with `npx anchored-monitor`, then restart DeepSeek Harness and refresh the web GUI. 锚定监控 / Anchored Monitor should appear in the left sidebar footer. Node.js ≥ 22.19 and DSH 0.1.0-rc.5+ are required.
Do I have to install dsh-anchored-standard as well?
No. The monitor never checks a preset's name — it reads each session's reasoning blocks and scores them purely by the we / let's / let me fingerprint, so any preset that implements the anchored-standard discipline pairs with it, including renamed derivatives. The L2 payload ships in this plugin's own config, so nothing is imported from another repo at runtime.
What happens to my conversation when an intervention fires?
It keeps going. L1 injects a suggestive hint (never imperative, because commands flip we→let me) and the next turn proceeds; L2 cancels the running turn and soft-restarts, so the next request runs under the 46-char Minimal persona with only `bash`/`str_replace_editor`, and all conversation history is preserved; L3 applies the same soft restart plus restart advice.
Can I just watch without any intervention?
Yes, and that is the default: interventions stay off until you enable them, leaving a live gauge of thinking intensity, band state and the ECG curve. Turn them on from the panel header or with `intervention.enabled` in the settings; the choice persists across restarts. Keep them on only for DeepSeek V4 Pro 0813 — on an unanchored session other models stay in the react band and L2 keeps firing.
Where does the reasoning data go?
Into the local monitor process only: it reads reasoning blocks and the visible text channel, and writes a JSONL experiment log locally. All HTTP routes are loopback-only and the web plugin proxies them through `/api/anchored-monitor/*`. Reasoning text may be sensitive, so rotate or disable the log in `experiment_log`.
07Related DSH workflows
dsh-anchored-standard
by xiaobright
Two-phase DeepSeek Harness preset: Minimal-aligned bootstrap, then full Standard tools (Project2 98/99)
memos
by memtensor
Self-evolving memory OS for LLM & AI Agents: ultra-persistent memory, hybrid-retrieval, and cross-task skill reuse, with 35.24% token savings and DeepSeek Harness support.
dsh-mnemon
by omdsh-dev
Composable, view-based context for DeepSeek Harness. Pluggable sources and strategies, with layered memory and self-evolving skills out of the box.
dsh-memory
by furongjun-1999
Cross-session long-term memory infrastructure for DSH agents: memory write/retrieve, continuous learning, auditable trust ('智能论 v3.2').
08Data and sources
> Real-time chain-of-thought anchoring monitor & intervention for DeepSeek Harness.
dsh plugin --profile web add @a9i5k4/dsh-anchored-monitor
The web plugin proxies these through `/api/anchored-monitor/*` (loopback-only).
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-25. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
