Introduction¶
When using agents for multi-step development in DeepSeek Harness (DSH), PRDs (Product Requirement Documents) and task tracking are often scattered across conversations, making them difficult to review and advance. Existing approaches typically rely on manually maintained documents or external tools, lacking integration with DSH sessions. The dsh-session-todo plugin provides workspace-scoped PRD management and a Kanban task board on the DSH side, enabling agents to write PRDs, claim tasks, log progress, and close tasks within a session, while offering a unified view in the sidebar and below the input box.
Plugin Overview¶
dsh-session-todo is a workflow-type DSH plugin developed by muhadif, providing workspace-scoped PRD management and Kanban board functionality for DSH. One working directory corresponds to one board, shared across all sessions and sub-agents. Boards are stored as JSON files under the $DSH_HOME/session-todo/ directory, with no database, no configuration, and no build step required.
Installation and Enablement¶
Installation requires a single command:
dsh plugin add dsh-session-todo
Or navigate to Settings → Plugins in the DSH Web UI and install from the plugin marketplace or a local repository. Once enabled, the plugin automatically applies patches; a Todo icon appears in the sidebar and a task board bar appears below the input box. If they don’t appear, simply refresh the page once. No configuration, no API key, and no database are required.
Core Features¶
PRD and Task Association¶
A board can hold multiple PRDs (P1, P2, etc.), each belonging to the session that created it, and each PRD can support any number of tasks. Every task card displays a PRD chip; clicking it opens a Markdown-rendered view of that PRD, which is editable. In the task details, the PRD field is a dropdown listing existing PRDs on the board. The PRDs (n) button in the board header lists all PRDs and supports creating new ones.
Board View¶
The board is divided into four columns: Todo, Doing, Blocked, and Done, each containing task cards. Cards display the title, PRD chip, priority, labels, comment count, and last working session. The board header shows the task count per column, a total progress bar, a scope toggle, the PRD list, and a close button. Closing (or pressing Escape) returns to the conversation; the Todo icon in the sidebar can reopen the board.
Task Details¶
Clicking a card opens a Jira-like task details panel:
| Field | Description |
|---|---|
| Title | Supports inline editing |
| Status | Todo / Doing / Blocked / Done buttons |
| Owner | Free text; displayed as agent when claimed by an agent |
| Priority | low / medium / high / urgent |
| Labels | Comma-separated; displayed as chips on the card |
| PRD | Dropdown to select a PRD on the board |
| Sessions | List of all sessions that have interacted with the task; click to navigate |
| Description | Markdown rendered |
| Comments | Recorded by author and timestamp; supports adding new ones |
| History | All status changes and progress records |
Session Navigation¶
Each card displays the name of the last working session along with a button; clicking it opens that session in the main panel. A task records up to five sessions, ordered by recency; sub-agents claiming tasks also leave a record.
Workspace and Session Scope¶
The board header includes a scope toggle:
- Workspace: Shows all tasks in the current working directory, regardless of session
- This session: Shows only tasks touched by the current session
When no session is open, the session scope is unavailable.
Agent Tools¶
The plugin provides three tools for agents:
| Tool | Function |
|---|---|
session_todo_board |
Reads PRD content and the status, owner, and latest notes of all tasks; the workspace path can read boards from other workspaces (requires authorization) |
session_todo_prd |
Writes a PRD and returns its id; without an id, it updates the session’s latest PRD or creates one if none exists; the fresh option starts a new PRD, while an explicit id updates a specific PRD |
session_todo_task |
Supports operations: add (with prdId, description, priority, labels), claim, progress, comment, edit, link, complete, block, reopen, remove |
The plugin appends a “Session todo board” instruction to the system prompt of every session, guiding agents to record PRDs, claim tasks, log progress, and close tasks during multi-step work—without requiring manual prompting for each step.
Task Bar Below the Input Box¶
A task bar below the input box displays only the current session’s task count and progress bar. It includes a “Board” button to open the full board, as well as a collapsible list of incomplete tasks; the list scrolls internally without expanding the input area. If other sessions in the workspace have tasks, a count and a link to the full board are shown.
File Storage¶
Boards are stored as JSON files at $DSH_HOME/session-todo/<hash>.json, one file per working directory. Data never leaves the local machine.
Self-Check¶
The plugin includes a self-check script:
node check.mjs
This script exercises the PRD → add → claim → progress → complete flow on a stub tool registry, covering PRD collection, comments, PRD linking, version 1 migration, routing and source checks, and renders the board, task details, and PRD sheet on a stub React runtime. Results are written to a temporary directory and cleaned up upon completion.
Use Cases¶
dsh-session-todo is well suited for developers or teams who need multi-step planning and task tracking within DSH. Typical scenarios include:
- Long-term projects that require maintaining a PRD, with PRDs and tasks shared across sessions
- Multi-session collaboration where you need to quickly jump to a historical session that completed a task
- Advancing workflows in a Kanban board format with automatic agent collaboration
Before installing, please review the plugin source code and license (MIT). The plugin runs with the permissions of the current DSH process.
Summary¶
dsh-session-todo integrates PRD management and a Kanban board into the DSH workflow, allowing agents to naturally generate PRDs, claim tasks, log progress, and close tasks during conversations, while providing a unified board view and session navigation. No database or configuration is needed—install and use immediately. It is ideal for scenarios requiring structured task management within DSH.