dsh-decisions-board: A Kanban Board for Pending Decisions in DSH Sessions

Introduction

When collaborating with an agent in DSH, a common friction point occurs: the model throws out a string of questions like “Choose A or B” or “Should we do X”. If you casually answer in the conversation, it is hard to trace what was decided later; if you organize it into a document every time, it is time-consuming and prone to missing items. Another approach is to inject an ADR template into the project, but that is a repository-level workflow, which does not align with the immediate decision-making in a conversation that has just asked and hasn’t been sent yet.

Below is the introduction of the client plugin dsh-decisions-board (maintainer Sandwich-git): hanging a pending decision board on the right side of the session header line. When the agent asks, the decision is recorded. When you click an option in the list, it only fills the input box with sentences like “Q-2 Select B” and you press Enter to send; after sending a compliant reply in the conversation, the item is marked as settled. Data falls into a diffable local JSON with zero runtime dependencies.

What is this

dsh-decisions-board is a Desktop client plugin for DeepSeek Harness (DSH) (dsh.client.platform === 'web', injection point dsh-desktop-workbenches). Categorically, it belongs to the “client” type—the interface is in the browser half, while reading and writing APIs are in the host half, both implemented in this repository.

In short: Pending-decision board in the DSH session header—agents record a decision as they ask; clicking an option fills the composer without auto-sending; replies in the conversation are used to mark as settled.

Community directory: skillhub.cn plugin page. Source code and docs: GitHub — Sandwich-git/dsh-decisions-board. License MIT (see repository LICENSE).

What it looks like on the interface

After installation, a badge Pending N (README example shows ⚖ Pending N) appears on the right side of the session header line. Clicking it opens a drawer: pending items list title, question, options, and suggestions; “Should we” type defaults to Yes/No when options is empty. After clicking an option, the input box fills with something like Q-2 Select B, the item status is Filled · Pending Send, it stays in the list until you actually send or it is handled by other closure paths.

If the plugin doesn’t recognize your answer format, the card provides Manual Close (two-step confirmation): directly mark as settled and note that options weren’t recorded, without writing to the input box or sending a message on your behalf. Settled items move to the bottom half of the drawer; the interface shows at most the most recent 5 settled items, earlier ones are only in the JSON file.

The repository docs/images/ contains screenshots of the full drawer, Yes/No types, filled but not sent, manual close, etc., for your reference.

Core Features

How items enter the board

Two paths, neither requires changing project configuration:

Path Trigger Note
Automatic capture (default on) agent writes :::decisions block Plugin injects format conventions into system prompts; parses block and writes to disk
Explicit tool agent calls decisions_board action=add title=… options=[…]; id auto-numbered, normalized validation before writing

Example of a marked block (title is required; multiple blocks can exist in one message):

:::decisions
{"kind":"choice","title":"一句话说明要拍什么","question":"为什么","options":[{"key":"a","label":"方案甲","cost":"代价甲"}],"recommended":"a","impact":["影响"],"quote":"人的原话"}
:::

Duplicate submissions have deduplication rules (same id, same title+question, etc.); on a hit, no new item is created, only empty fields are filled. The design stance is to prefer missing duplicate judgments over misclassifying different option lists as the same item.

How to settle

Three paths with answers, decided.by is user-message / user / agent respectively:

  1. Automatic (default autoSettle: true): You send an answer like Q-2 Select B in the conversation, the plugin subscribes to user/message and marks decided;
  2. Manual Confirmation: Card “I have sent, mark as settled”;
  3. Agent: decisions_board action=settle.

Clicking an option itself only sets filled, it does not call inputActions.submit(), and does not make the decision for you.

Data File

Path:

<会话工作目录>/.dsh/decisions/<sessionId>.json

One per session, invisible to each other. Read order: ?dir= query param -> config item file -> session workspace -> host workspaceRoot. Fields include id (e.g., Q-1), kind, status (pending / filled / decided, etc.), options, decided (containing manual indicating manual close), etc., see README table for details.

The panel polls the file approximately every 2000 ms, so external changes are visible with a maximum delay of about 2 seconds.

Installation and Enablement

Requires DSH Desktop that supports the Plugin Manager channel. The plugin runs with the current DSH process permissions. It is recommended to browse the source code and MIT license before installation to confirm that the list requirements (dsh.bundle.patch, dsh.client.inject containing dsh-desktop-workbenches, etc.) match your local environment.

Method 1: npm (Pre-built, no local build required during installation):

dsh plugin add dsh-decisions-board

The README notes that the currently public version on npm is 0.4.0 (without “Manual Close”); the repository package.json is 0.5.0, not yet published to npm. To use the latest features, check versions via npm view dsh-decisions-board versions --json, or use Method 2.

Method 2: Local tgz (Suitable for new features like 0.5.0):

Execute npm pack in the plugin source directory to get dsh-decisions-board-<version>.tgz, then ask the agent to invoke the host tool (replace path with your absolute path):

install_local_workbench({ path: '<tgz 绝对路径>', replace: false })

If restart-required is returned, go to the menu Harness → Restart Harness. After it takes effect, a Pending badge appears on the right side of the session header line.

Uninstall: Remove dependencies and the corresponding item in dsh.profile.bundles from the profile’s package.json then restart; user data under .dsh/decisions/ is retained by default.

Configuration

In the corresponding injection configuration inside the package’s cordis.patch.yml, there are three common keys:

Key Default Effect
file Empty Fixed data file path
autoCapture true Inject :::decisions convention and auto-create entries
autoSettle true Listen to user messages and auto-settle

Turning off automatic capture avoids parsing :::decisions blocks in messages (the plugin still does not read the session body outside the blocks).

package.json declares engines.dsh as >=0.2.2-rc.1 <0.3.0-0, peerDependencies includes @deepseek-ai/cordis ~4.1.0; the README states it has only been tested on currently verified Harness versions, and changes in host API morphology may cause injection or capture to fail.

Typical Usage (Reproducible)

  1. Install the plugin and restart (if needed).
  2. In the same session, ask the agent to output :::decisions JSON according to the convention, or explicitly call decisions_board to add an item.
  3. Open the pending drawer in the header line, read the options; click an option, confirm the input box shows Q-n Select key, edit and press Enter to send.
  4. If you have replied according to the agreed sentence pattern, the item should change to decided; if you answered with free text and the plugin didn’t recognize it, use “Manual Close” to settle and avoid piling up the pending list.

You can preview the UI without running the plugin locally: node tools/serve.mjs --file examples/decisions.sample.json in the repository, using the random port URL printed by the command (do not hardcode the port).

Applicable Scenarios and Notes

Who is it for: Developers doing long, multi-turn Harness sessions who need to keep “what was asked and what was chosen” in a diffable file in the workspace; scenarios where the user wants structured agent questions, manual selection and filling before sending, and reducing accidental auto-submits.

Intentionally omitted (excerpt): No auto-selection, no auto-send; does not read session body except :::decisions blocks; no cross-session overview; filling uses setDraft instead of insertText to avoid conflicts with other plugin patches; auto-settle only recognizes the id Select Value format, otherwise relies on manual close.

Limitations: Positioned as a Desktop plugin (depends on dsh-desktop-workbenches); the browser half README states it is mainly tested on Chromium; does not do cross-session aggregation; GitHub star count is 1 as shown in the community directory (as of data scraping).

The DSH ecosystem advocates “everything is a plugin”; the SkillHub Directory is a community site with no official affiliation with DeepSeek / Huafan.

Conclusion

Following the steps above, you can see the pending count next to the session title, track the decision lifecycle using local JSON, and align the agent’s questions and user choices into the same record using “fill only don’t send + explicit settlement”. For further details, design boundaries, and explanations of 80 unit tests, see the repository README and docs/VERIFICATION.md.

  • Directory page: https://www.skillhub.cn/plugins/Sandwich-git/dsh-decisions-board
  • GitHub: https://github.com/Sandwich-git/dsh-decisions-board
羽毛球分组比赛记分
小程序二维码

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

Xiaoye