dsh-plugin-orchd: Read-Only View of orchd Tasks and Dependencies in DSH Sidebar

Introduction

When working on project sessions with DeepSeek Harness (DSH), the conversation is on the left, while the project’s task status is often located in the terminal or other windows. If the project uses orchd to manage tasks and dependencies, switching back and forth between the chat and the dashboard can easily break the context. Below, we introduce the community plugin dsh-plugin-orchd (Maintainer: 7bder, Category: Client): it attaches a read-only panel to the right sidebar of DSH, displaying the orchd task board, dependency graph, ideas, and review timeline based on the current session’s project. It does not require separate project path configuration for the plugin; the project is derived from the session. The panel does not provide write operations like claim, done, or review to prevent accidental task status changes within the UI.

What is this

dsh-plugin-orchd brings orchd’s project status into a read-only view in the DSH right sidebar. Once a project session is opened, the panel detects whether the project is already connected to orchd: if installed, it displays the board, dependency graph, ideas, and review timeline on the same screen; if not installed, it provides an onboarding entry point rather than silently failing.

The plugin’s current version is 0.1.0, licensed under MIT. Source code and documentation are available at GitHub: 7bder/dsh-plugin-orchd; community directory page: skillhub.cn/plugins/7bder/dsh-plugin-orchd.

What’s in the Panel

Four-State Detection

The panel first determines the state of orchd and provides specific reasons, rather than a generic “Error”:

  • Not Installed
  • Not Initialized
  • Ready
  • Error

Board & Task Details

The board displays status distribution, including To-Do / In-Progress / Terminal States. Status bars can act as filters, and keyword search, filtering, and sorting are supported. Virtual scrolling is available for large task lists (supporting 800+ tasks).

Clicking a specific task allows you to view: objectives, acceptance criteria, verification commands, write scope, upstream dependencies, and downstream references (clickable to navigate), as well as the review event timeline.

Dependency Graph

Displays dependencies in a DAG format, with switching available between views such as “Focused Closure,” “Active Subgraph,” and “Full Graph (including Terminal States).” Cycles, self-dependencies, and dangling upstreams are explicitly annotated and not silently omitted.

Ideas (IDEAS)

A read-only idea board: grouped by status, compared against archived tasks, and providing copyable progression commands (to be executed by you on the project side; the panel does not write to the ledger).

Onboarding Entry

If the project does not have orchd installed, the panel offers two paths: copy the command to install it yourself, or let the agent of the current session install it on your behalf (the text to be injected is displayed before injection).

Read-Only Guarantee

Read-only is a hard constraint, not just marketing copy:

  1. Fail-closed command whitelist: Subprocess calls not in the whitelist will not be spawned; rejections are logged with structured data.
  2. Subprocess environment sanitization: Session identity is stripped from the environment; read commands will not carry variables that the engine might interpret as “someone is moving tasks.”
  3. No direct ledger access: The plugin does not touch locks or write to project files; the panel does not perform file exports (diagnostic information is only copied to the clipboard).
  4. Development smoke tests: Read-only smoke tests are conducted on the real engine, real ledger, and real git repo: comparing workspace hashes, ledger event counts, and git status with a requirement of zero changes.

Prerequisites

Before installing the plugin, please confirm:

  • DSH provides right sidebar panel slots (sidebarRightTabs + sidebar.right.pane.tab, session scope).
  • orchd is installed on the project side (a .orchd/ folder exists in the project root or container main work tree). If not installed, the panel will guide you through the onboarding entry.
  • Python 3 is in your PATH (detected in order via python / py -3 / python3, or you can specify pythonPath in the config). The panel calls the engine via the project’s bundled python <project>/.orchd/__main__.py; the plugin does not bundle or install the orchd engine itself.

Installation & Activation

The plugin runs with the current DSH process permissions; it is recommended to read the repository source code and the MIT license before installing. Installation commands follow the README:

# Recommended: npm package (Web etc. profiles)
dsh plugin --profile web add dsh-plugin-orchd

For DSH Desktop, please execute in the application’s built-in terminal (the terminal on the welcome page) and do not add --profile:

dsh plugin add dsh-plugin-orchd

If npm is unavailable, you can use the GitHub source (equivalent path to before market listing):

dsh plugin --profile web add github:7bder/dsh-plugin-orchd

Note: The Desktop desktop profile is managed by the application. A standard dsh plugin --profile desktop ... will be rejected by the CLI (profile "desktop" is managed exclusively by the Electron application). After installation, you must restart DSH—host-side modules do not hot-swap. After restarting, a toggle will appear in the corner of the session header, and an “orchd Tasks” page will appear in the right sidebar. Once listed in the plugin market, it can also be installed with one click via search in settings.

Uninstallation:

dsh plugin --profile web remove dsh-plugin-orchd

After remove, empty directories may remain in the profile’s node_modules/; these can be deleted manually and will not affect startup.

Typical Usage

  1. Open a DSH session in a project already integrated with orchd.
  2. Enable the right sidebar “orchd Tasks” page after restarting DSH (toggle in the corner of the session header).
  3. Use status bars and search on the board to locate tasks; click to view details, acceptance criteria, and copyable verification commands.
  4. Switch to the dependency graph to check for cycles and dangling upstreams; browse ideas and archive comparisons read-only in the IDEAS view.
  5. If the four-state detection shows “Not Installed,” follow the onboarding entry to copy the command or preview the agent injection text before deciding whether to install orchd.

The panel only follows the current session’s project; it does not perform cross-project aggregation or offer a project switcher. It does not provide real-time push notifications (no resident engine process; relies on cache and manual refresh). It does not register tools to the model.

Configuration (Optional)

Configuration is written in the profile’s cordis.patch.yml (under the config: of the line corresponding to id: orchd-tasks). All settings have default values:

Key Default Description
pythonPath null null indicates automatic detection
requestTimeoutMs 20000 Timeout for a single engine call (timeouts and engine errors are distinguished in the UI)
cacheTtlMs / pollTtlMs / detectTtlMs 5000 / 30000 / 10000 Cache TTL for Board / Polling / Four-state detection
maxProjectContexts 8 LRU limit for project contexts per session
orchdCoreRepo null Engine repository address displayed in the onboarding entry
allowRoots [] Whitelist for debugging; empty means no additional convergence

Data is provided via 8 same-origin routes registered by the plugin (session-bound, frontend only passes sessionId): GET /orchd/api/context, board, task, graph, history, ideas, and POST /orchd/api/install-entry, install-inject (injection requires explicit confirmation). Paths outside the prefix return 404.

Who is it for, What to watch out for

This is suitable for developers who already use orchd to manage tasks in their projects and want to see the board and dependency graph at a glance next to their DSH session. If you need to change task status directly within DSH, you should continue to use the orchd CLI or your project’s agreed-upon workflow; this plugin deliberately does not provide write access.

Community plugin directories (such as skillhub.cn) are not officially affiliated with DeepSeek or Quantleme; the DSH ecosystem emphasizes “everything is a plugin,” so please choose according to your needs and audit the code yourself.

Conclusion

dsh-plugin-orchd consolidates orchd’s task board, dependency graph, ideas, and review timeline into the DSH right sidebar. It is read-only, session-bound, and requires no additional project configuration. To learn more, open the Directory Page and GitHub Repository; for the engine itself, see 7bder/orchd-core.

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

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

Xiaoye