Goal lifecycle management for dsh with an interactive kanban board: goals, criteria, attempts and reviews live in the workspace, driven by graph_* tools, with a two-lane board rendered in the conversation view.
dsh-graph is a goal-oriented kanban plugin for DeepSeek Harness (DSH), bringing Graph-based Goal Management into Agent workflows.
Distributed as a single unified package (npm package name: dsh-graph), it provides both halves out-of-the-box:
Host Side: Exposes a full suite of graph_* tools to DSH Agents covering the entire goal lifecycle, along with /api/dsh-graph* REST endpoints for board projections, goal details, and mutations;
Client Side: A browser 2D swimlane kanban board (lib/client.js) integrated into DSH Web (conversation.view slot) for intuitive visualization and real-time tracking.
All data is stored locally as human-readable files and an append-only event log under .dsh-graph/, making it Git-friendly, easily auditable, and collaborative.
Installation
Install the plugin using the DSH CLI:
dsh plugin --profile <profile-name> add dsh-graph
Requirements: Node.js ≥ 22 (includes precompiled core runtime). Official releases are distributed via npm and the dsh-market ecosystem.
Key Features
Four-Phase Lifecycle State Machine:
Enforced by the core engine: draft → planning → collecting → ready → in_progress → review → delivered (with a blocked escape hatch available at any stage).
Criteria Before Execution:
Acceptance criteria must be explicitly defined prior to execution. Deliverables in the review phase are verified strictly against individual criteria, preventing ambiguous delivery.
Context Cards:
Supports Text, File, Image, and Data cards. Follows a structured lifecycle (empty → collecting → filled → reviewed) to seed precise task context for execution subagents.
2D Swimlane Board:
Columns represent lifecycle stages, while horizontal swimlanes organize goals by Version, Backlog, and Standalone categories, complete with drag-and-drop scheduling.
Seamless Session Handoff:
Generate HANDOFF.md summarizing board projections, long-term memory, and environment facts. A new session can claim the Supervisor role idempotently via graph_claim_supervisor.
Modern UI & Dual-Theme Support:
Full Dark and Light theme adaptation following DSH variables. Subtle pulse animations highlight external updates (with prefers-reduced-motion accessibility support); drag-safe modal text selection.
Agent Tools Reference
dsh-graph equips Agents with a comprehensive set of graph_* tools:
Category
Tool
Description
Goal Lifecycle
graph_create_goal
Create a goal (defaults to Backlog, optional Version)
graph_set_description
Set/update goal description body (Markdown)
graph_set_goal_tags
Set goal tags (max 20, optimistic concurrency)
graph_transition
Advance goal through lifecycle states (reason required for blocked)
graph_archive_goal
Archive completed or obsolete goals
graph_delete_goal
Safely delete an archived goal
graph_list_worktrees
Query Git worktree cleanup candidates (read-only, no auto-delete)
Quality Criteria
graph_set_criteria
Define quality criteria (required prior to execution)