dsh-knowledge-work: Persistent Knowledge Work Agent Workflow on DSH

Preface

When conducting research organization, solution comparison, or long-term knowledge maintenance in DSH, a common practice is to rely on conversation context. However, source links often get scattered across multiple replies, making it difficult to review the correspondence between arguments and evidence. Furthermore, starting a new session after an interruption often requires explaining the task from scratch. If you wish to consolidate problems, steps, sources actually read, arguments, verification, and reports into a single workcase that is resumable and exportable within the workspace, a persistent workflow bound to the Agent toolchain is required. dsh-knowledge-work is a DSH workflow plugin released by community maintainer win10ogod. Targeting DSH 0.2.0-rc.2 and 0.2.1-alpha.1, it provides a “Knowledge Work” Agent preset and an evidence-driven persistent process.

What is this

Plugin Repository: win10ogod/dsh-knowledge-work, Directory Page: SkillHub Plugin Page. The introduction reads: Persistent knowledge-work Agent workflows, evidence capture, review and reports for DSH.

Upon installation, it includes two native plugin entries: knowledge-work handles storage and the workbench, while preset-knowledge-work registers the Agent preset. Selecting the “Knowledge Work” Agent in a new conversation allows you to deliver tasks according to the preset. The “Knowledge Work” page on the left allows you to view workcases, progress, original texts, comparison results, and download Markdown reports. This page is primarily for inspection; pausing, resuming, or continuing work is still done by addressing the Agent in the conversation.

The preset retains DSH’s current model and permission settings, as well as native capabilities for files, Shell, skills, search, planning, and delegation. It can also be used in conjunction with installed tools like agent-browser, Office skills, and evidence-first-knowledge-work.

Workflow Overview

The README summarizes a knowledge workcase into six steps, facilitating the mapping of tools and deliverables:

  1. Establish goals, scope, work mode, and delivery conditions.
  2. Break down the work into steps with dependency relationships.
  3. Use existing tools to read sources, then save the actual tool results from that session or text provided by the user.
  4. Organize arguments, citations, inference premises, unknowns, and counter-evidence; connect solution comparisons cell-by-cell to arguments under identical conditions.
  5. Verify step completion, delivery condition coverage, original citations, and source updates.
  6. Generate a complete report; if there are gaps, deliver partial results with clearly marked limitations and pause.

Behaviorally, there are several conventions related to “persistence”: every change retains a revision history; duplicate updates of identical content do not increase versions nor invalidate completed reviews. Source text cannot be overwritten in place; when a new source replaces an old one, affected citations need to be re-verified. The model will not end an ongoing workcase simply by saying “continue later”—the preset continues within the same turn; it stops running only when the user stops, the model requests failure, an explicit pause occurs, or delivery is completed. Existing workcases require resume to be taken over again in a new turn. Recovery context uses structured progress and evidence indexes; original text and complete work materials are read by tools on demand, without replaying past assistant behavior traces.

Core Tools

Tools only access workcases in the current workspace; new sessions can retrieve existing work in that workspace via knowledge_task list. Dynamic work status is only added to this plugin’s Agent preset.

Tool Purpose
knowledge_task Create, list, read, resume, pause, cancel workcases
knowledge_plan Define steps and dependencies; use version checks for plan revisions
knowledge_step Record the status, actual results, and evidence associations of a step
knowledge_capture Capture actual tool results from this session or text provided by the human
knowledge_claim Save statements, inferences, unknowns, original citations, and disagreements
knowledge_compare Compare solutions using the same set of conditions, retaining unknown information
knowledge_read Read workcases, original texts, reports, revision summaries, and tool receipts
knowledge_review Verify delivery conditions and evidence links for the current version
knowledge_deliver Generate complete or partial Markdown reports

Evidence Scope and Verification Boundaries

knowledge_capture saves tool text submitted by DSH or human messages; it cannot directly fill in fabricated source text, nor does it accept the workcase’s own output as independent evidence. Raw tool results and JSON-decoded text are available for citation; citations must actually exist within the saved content. Data truncated by tools before returning is not automatically completed; the needed fragments should be read again. Images, audio, etc., must first be converted into verifiable text by available tools.

The above checks can verify source receipts, original text fragments, and process integrity, but cannot automatically prove the correctness of sources or the validity of arguments. The Agent still needs to read, compare scopes of application, explain inferences, and handle counter-evidence. The publication date and scope of application for sources are annotated by the Agent; tool/message times and capture times are stored separately. Partial results will not be marked as fully completed.

Installation and Configuration

The official instructions use the .tgz package from GitHub Releases (the sample version filename is dsh-knowledge-work-0.1.1.tgz, consistent with 0.1.1 in package.json). Replace YOUR_PROFILE with your DSH profile name:

dsh plugin --profile YOUR_PROFILE add ./dsh-knowledge-work-0.1.1.tgz

Plugin configuration example:

- id: knowledge-work
  config:
    autoContinue: true
    dataDir: ''

autoContinue: false can disable the automatic continuation of workcases within the same turn; tools and data are still retained. Each continuation is a model request and will generate corresponding usage. Data is stored by default in $DSH_HOME/storages/knowledge-work/work.sqlite; you can use dataDir to specify another directory. Disabling the plugin preserves the data. Report downloads and the workbench use DSH’s native connection authentication.

Runtime Environment: package.json requires Node >=22.13.0, License MIT. Peer dependencies include @deepseek-ai/dsh-llm versions 0.2.0-rc.2 || 0.2.1-alpha.1, etc. Please check your local DSH version before installing.

Typical Usage

After installation, select the “Knowledge Work” Agent in a new conversation, and you can directly use the task types in the README as a starting point:

  • Research a problem, saving sources that support and oppose the conclusion.
  • Compare solutions based on identical conditions, distinguishing facts, inferences, and unconfirmed areas.
  • Resume previous work, re-read sources, and update affected arguments.

The left page is used to view and download reports; process control (pause, resume, continue) is completed in the conversation.

Suitable Scenarios and Notes

Suitable for scenarios requiring long-term maintenance of research cases, solution comparison tables, and exportable Markdown reports within a single workspace, where evidence is desired to come from real tool outputs or user original text rather than model-fabricated summaries.

The plugin runs with the current DSH process’s model, permissions, and tool capabilities. Before installation, you should read the GitHub Repository source code and the MIT License, and obtain the .tgz consistent with the documentation from the Release. The SkillHub directory page is a community plugin index and has no official affiliation with DeepSeek / High-Flyer. The DSH ecosystem follows the “everything is a plugin” extension approach, and this plugin is a workflow-type entry within it.

Conclusion

dsh-knowledge-work threads the goals, steps, evidence capture, argument organization, verification, and report delivery of knowledge work into a persistent, resumable workcase, and constrains evidence sources and citation verifiability through specialized tools. If your DSH version is within the range declared in the README, you can install the package from the Release to enable the “Knowledge Work” preset, track progress in the workspace list and left panel, and export reports.

  • Directory Page: https://www.skillhub.cn/plugins/win10ogod/dsh-knowledge-work
  • GitHub: https://github.com/win10ogod/dsh-knowledge-work
羽毛球分组比赛记分
小程序二维码

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

Xiaoye