DSH-Brake-Pedal: “6-Brake Self-Check” Easter Egg in Long-Running Sessions

Introduction

When running long tasks in DeepSeek Harness (DSH), the stop button, session duration, and log size are all hard facts you encounter daily. The community plugin ecosystem splits capabilities along the principle of “everything is a plugin”: some plugins modify workflows, while others only touch the interface. dsh-brake-pedal belongs to the latter category—it doesn’t evaluate products or make safety conclusions for you; it merely adds a “brake self-check” entry next to the input box, using a fictional six-legged full-force braking animation and a bureaucratic-style “situation report” as a self-deprecating performance for developers. Below is what it is, how to install it, and what to watch out for when using it.

What Is This

In one sentence: a DeepSeek Harness client plugin that gives long tasks a “6-leg full-force braking test”—the bracket randomly breaks at leg 2–6 (about 1/8 chance of no break). Pure performance, never takes over, intercepts, or delays any stop action.

Core Features

Interface and Interaction

A “🛞 Brake Self-Check” capsule appears next to the input box. Clicking it opens a floating layer that stages a 6-leg full-force braking test: the bracket randomly breaks at leg 2–6, occasionally (about 1/8) doesn’t break, then pops up a fictional “situation report.” The panel lists each leg’s “pedal force,” bracket status, and session-related auxiliary information (such as elapsed time, log size, etc.); the interface marks pedal force as a derived value, not measured.

Capsule position: Defaults to directly above the send button; hold to drag to any position, position is written to localStorage key dsh-brake-pedal.pos. Double-click the capsule, or click “Reset Position” in the panel, to return to above the send button. If the send button isn’t found (e.g., empty session), it lands at the bottom-right of the viewport.

Three Design Rules (Key points from README)

  1. Never intercepts real stops. Does not take over Stop; the “6 legs” are just floating-layer performance. Real stopping is still done by pressing “Stop” or Esc Esc; the panel’s “Park (Stop Session)” conservatively searches the DOM for a visible, non-disabled button with text 停止 / Stop and triggers a click; if not found, it prompts “Brake pedal not found” without clicking other buttons.
  2. Don’t fabricate numbers. “Pedal force” etc. are derived from session start time, elapsed time, log size, etc. provided by the host; when facts can’t be obtained, the whole session is marked as “demo data.”
  3. Fail silently. Injection failures, route 404s, rendering errors, etc. only write a console message without breaking the original interface.

Random Rules

Break probability array (legs 2–6 and “not reproduced”):

BREAK_ODDS = [0.12, 0.26, 0.24, 0.16, 0.10, 0.12]

Seed = session id + which self-check, using mulberry32. The first time you open it in the same session, the result is fixed; change session to get a different result; only re-roll when clicking “Try Again.” There’s also a “not reproduced mode” and other panel operations (see repo README examples).

Host and Client Division

Half Content
Host lib/index.js, route GET /dsh-brake-pedal/facts?session=<id>
Client client/client.js, registered into shell.overlay (frame-level floating layer, independent of session)

Facts response fields include: source (host / partial / none / error), sessionId, matched (exact / latest), cwd, createdAt, elapsedMs, logBytes, logMtimeMs. The host is read-only for session logs, only GET; write methods return 405. Theme colors use host --dsw-alias-* tokens.

This is a developer self-deprecating fictional joke, not a safety evaluation or product review. The popup “situation report” is original bureaucratic text, not pointing to any real company, brand, or event; the interface contains no vendor names. When presenting publicly, please state together: This is a joke, don’t treat it as data.

Installation and Activation

After installation, you must restart DeepSeek Harness (plugin page “Restart”, or close and reopen), then refresh the page.

① Install from GitHub (full repo, including video toolchain)

In DSH “Plugins → Add Plugin”, enter:

github:zhanshenovo/dsh-brake-pedal

② Local installation after cloning

git clone https://github.com/zhanshenovo/dsh-brake-pedal.git
cd dsh-brake-pedal
node tools/install.mjs              # install into desktop profile
node tools/install.mjs --profile web

The script modifies dependencies, dsh.profile.bundles, and creates a node_modules junction; before modifying package.json, it backs up as package.json.bak-brake-pedal.

③ Local tarball (when GitHub is unreachable)

Download dsh-brake-pedal-0.2.0.tgz from Releases, and fill in the absolute path in “Add Plugin”, for example:

D:\Downloads\dsh-brake-pedal-0.2.0.tgz

Materials note: The plugin market mirror does not proxy the GitHub repo itself; under mainland China networks github: may be unavailable, and switching to npmmirror won’t solve this path issue.

Environment requirements (from package.json): Node >=20, DSH >=0.1.2-rc.1; optional peer @deepseek-ai/dsh-client-locale.

Uninstall:

node tools/uninstall.mjs

Typical Usage

  1. Install and restart DSH, refresh the page.
  2. In a session where you’re intentionally running long tasks, find the “🛞 Brake Self-Check” capsule above the send button (or drag it to your preferred position).
  3. Click to watch the six-leg animation; click “Try Again (random)” when you need a different outcome; to demo a fixed breakpoint, open it once in the same session to confirm the result (the first result in the same session is fixed by seed).
  4. To end a real session, still use Harness’s built-in stop; or panel’s “Park” triggers the same stop when it finds a legitimate stop button.

Development self-check (in repo, not required for end users):

node test/smoke.mjs

Record demo (optional): DevTools can set localStorage.setItem('dsh-brake-pedal.lock', '3') or 'none' to lock the breakpoint; for video rendering see commands like node tools/video/render.mjs in the README.

Use Cases and Notes

Who it’s for: Developers already using DSH who want to add a harmless easter egg to the long-task interface; can also serve as an interaction sample when demonstrating to colleagues “how stop and session facts are referenced by UI” (still must emphasize it’s a joke).

Permissions and security: The plugin runs with the current DSH process permissions; before installation, read the source code and LICENSE (MIT) to judge whether to include it in your environment. Don’t treat panel numbers as evaluation or operational basis.

Ecosystem note: Community directories (such as skillhub.cn) are independent sites, with no official affiliation to DeepSeek / High-Flyer; the installation commands in this article all come from the repo README, without using CLI concatenation forms not appearing in the materials.

Conclusion

dsh-brake-pedal turns hard facts like session duration and log size into a repeatable “brake self-check” mini-theater, and clearly writes down three rules: don’t block real stops, don’t fabricate data beyond derivation, don’t crash the interface on errors. If you want to install or check out implementation details, enter from the directory page, or directly open the GitHub repo to read the README and VIDEO.md.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye