Skip to content
Back to search

DSH-pipeline-kernel

> DeepSeek Harness (DSH) 插件(Cordis)| 多 Agent 管线管理内核:任务板 / 台账 / 部署 / 注册表 / 巡检 / 打包复用 / 控制面板 > A DSH (DeepSeek Harness) Cordis plugin — the management kernel for multi-agent pipelines: task board /…

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/not-big-dog--dsh-pipeline-kernel/badge.svg)](/listings/not-big-dog--dsh-pipeline-kernel)

HTML

<a href="/listings/not-big-dog--dsh-pipeline-kernel"><img src="/api/listings/not-big-dog--dsh-pipeline-kernel/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

// C:\Users\<you>\.dsh\profiles\web\package.json → dependencies
"dsh-pipeline-kernel": "link:<本包路径>"
// bundles 列表加入 "dsh-pipeline-kernel"

或 `dsh plugin --profile web add <本包路径>`。重启 dsh web 后,**新会话**带 `pipeline_*` 工具(存量会话工具目录固定,需重建会话)。

> **依赖要求(v0.9+):宿主 `deepseek-harness 0.1.0-rc.8` 及以上**(本插件自身锁定 `^0.1.0-rc.8`,cordis 4.x)。开发/CI 用 `pnpm install --frozen-lockfile`。

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 144 lines
  1. # pipeline-kernel
  2. > DeepSeek Harness (DSH) 插件(Cordis)| 多 Agent 管线管理内核:任务板 / 台账 / 部署 / 注册表 / 巡检 / 打包复用 / 控制面板
  3. > A DSH (DeepSeek Harness) Cordis plugin — the management kernel for multi-agent pipelines: task board / ledger / deployment / registry / watchdog / packaging & reuse / control panel.
  4. **pipeline-kernel 是管线无关的管理内核**:管线 = 配置数据(`pipelines` 表一行,用 `pipeline_define` 定义),内核不绑定任何具体业务。默认**无预置管线**,由使用者自行定义与部署。
  5. **The kernel is pipeline-agnostic**: a pipeline is just a config row (defined via `pipeline_define`); no business is baked in. There is **no preset pipeline** — define and deploy your own.
  6. [English](#english) · [中文](#中文)
  7. ---
  8. ## 中文
  9. ### 定位
  10. - **内核 = 管线无关的管理能力**(通讯 / 台账 / UI 三大职责,见 `docs/`);**管线 = 数据(配置行)**
  11. - 业务能力(生图、视频等)是管线内部设置,不进内核
  12. - 多语言:UI 与文档自动跟随 DSH 语言设置(中文 / English)
  13. ### 安装
  14. ```jsonc
  15. // C:\Users\<you>\.dsh\profiles\web\package.json → dependencies
  16. "dsh-pipeline-kernel": "link:<本包路径>"
  17. // bundles 列表加入 "dsh-pipeline-kernel"
  18. ```
  19. 或 `dsh plugin --profile web add <本包路径>`。重启 dsh web 后,**新会话**带 `pipeline_*` 工具(存量会话工具目录固定,需重建会话)。
  20. > **依赖要求(v0.9+):宿主 `deepseek-harness 0.1.0-rc.8` 及以上**(本插件自身锁定 `^0.1.0-rc.8`,cordis 4.x)。开发/CI 用 `pnpm install --frozen-lockfile`。
  21. ### 快速开始
  22. 1. 定义管线:`pipeline_define {id:"my-pipe", roles:{supervisor:{preset:"pipeline-supervisor"}, ...}, chain:["supervisor",...], gates:{...}}`
  23. 2. 起链:`pipeline_deploy {pipelineId:"my-pipe"}`
  24. 3. 播种角色会话:`pipeline_seed {pipelineId:"my-pipe"}`(按定义给未注册角色创建会话,自动写注册表)
  25. 4. 投任务:`pipeline_push {title, description, tags:["target:<角色>","task:<编号>","attempt:1"]}`
  26. 5. 流转:`pipeline_list` → `pipeline_claim` → `pipeline_done {result:"done route:<角色|UID> 产物:..."}`(内核自动路由下一环)
  27. 6. 看全景:`pipeline_status`
  28. ### 控制面板(Web UI)
  29. 右下角 **pipeline** 胶囊按钮 → 展开右侧全高侧栏:
  30. - **活动**:各管线运行摘要(角色状态 / 进行中任务 / 最近完成 / 失败置顶)
  31. - **管线**:管线一等实体(Graph 缩略图 / KPI / 打包产物);点击任务展开 Task Inspector
  32. - **新建**:定义新管线(工作文件夹必选,走系统目录选择器)
  33. - **归档**:冷存储——归档不删除数据,可恢复;永久删除仅在归档箱内、需输入管线 id 确认
  34. ### 巡检(watchdog)
  35. v0.8 起 **默认开启**(无需配置):每 5 分钟扫描 open 任务补唤醒(同任务 10 分钟冷却)、done 但路由未完成(僵尸)自愈补投、全链静止 30 分钟汇报主管。无管线/无任务时零噪音。如需调整或关闭,在 `cordis.patch.yml` 覆写:
  36. ```yaml
  37. # c:\users\<you>\.dsh\profiles\web\cordis.patch.yml
  38. pipeline-kernel:
  39. watchdogEnabled: false # 关闭巡检(默认 true)
  40. watchdogIntervalMs: 300000 # 巡检周期(默认 5 分钟)
  41. watchdogStallMs: 1800000 # 全链静止判定(默认 30 分钟)
  42. watchdogWakeCooldownMs: 600000 # 同任务补唤醒冷却(默认 10 分钟)
  43. watchdogReportCooldownMs: 1800000
  44. ```
  45. ### 文档索引
  46. | 文档 | 内容 |
  47. |---|---|
  48. | `docs/管线定义规范.md` | 管线定义字段与拓扑规范(roles/chain/gates/entry…) |
  49. | `docs/内核接口文档.md` | 内核工具与端点清单(pipeline_* / HTTP 路由) |
  50. | `docs/内核设计文档.md` | 架构与职责划分 |
  51. | `docs/UI-方案-K7-边栏设计.md` | 控制面板 UI 方案 |
  52. ### License
  53. MIT
  54. ---
  55. ## English
  56. ### Positioning
  57. - **Kernel = pipeline-agnostic management** (communication / ledger / UI — see `docs/`); **pipeline = data (a config row)**
  58. - Business capabilities (image generation, video, …) belong inside the pipeline, not the kernel
  59. - Bilingual: the UI and docs follow the DSH language setting (中文 / English)
  60. ### Install
  61. ```jsonc
  62. // C:\Users\<you>\.dsh\profiles\web\package.json → dependencies
  63. "dsh-pipeline-kernel": "link:<path-to-this-package>"
  64. // add "dsh-pipeline-kernel" to the bundles list
  65. ```
  66. Or `dsh plugin --profile web add <path-to-this-package>`. After restarting dsh web, **new sessions** get the `pipeline_*` tools (existing sessions keep their fixed tool catalog — recreate them).
  67. > **Dependency requirement (v0.9+): host `deepseek-harness 0.1.0-rc.8` or newer** (this plugin pins `^0.1.0-rc.8` itself; cordis 4.x). Dev/CI use `pnpm install --frozen-lockfile`.
  68. ### Quick start
  69. 1. Define a pipeline: `pipeline_define {id:"my-pipe", roles:{supervisor:{preset:"pipeline-supervisor"}, ...}, chain:["supervisor",...], gates:{...}}`
  70. 2. Deploy: `pipeline_deploy {pipelineId:"my-pipe"}`
  71. 3. Seed role sessions: `pipeline_seed {pipelineId:"my-pipe"}` (creates sessions for unregistered roles, writes the registry)
  72. 4. Push a task: `pipeline_push {title, description, tags:["target:<role>","task:<id>","attempt:1"]}`
  73. 5. Flow: `pipeline_list` → `pipeline_claim` → `pipeline_done {result:"done route:<role|UID> artifacts:..."}` (auto-routes to the next link)
  74. 6. Overview: `pipeline_status`
  75. ### Control panel (Web UI)
  76. The **pipeline** pill at the bottom-right expands into a full-height sidebar:
  77. - **Activity**: per-pipeline run summary (role states / in-progress tasks / recently completed / failures on top)
  78. - **Pipelines**: pipelines as first-class entities (graph thumbnail / KPI / packs); clicking a task opens the Task Inspector
  79. - **New**: define a new pipeline (working folder required, picked via the system directory picker)
  80. - **Archive**: cold storage — archiving never deletes data and is reversible; permanent deletion lives only in the archive, requiring the pipeline id to confirm
  81. ### Watchdog
  82. **On by default since v0.8** (no config needed): every 5 minutes it re-wakes open tasks (10-minute cooldown per task), self-heals zombie tasks (done but routing never finished), and reports stalled chains to the supervisor after 30 minutes. Zero noise with no pipelines/tasks. Tune or disable in `cordis.patch.yml`:
  83. ```yaml
  84. # c:\users\<you>\.dsh\profiles\web\cordis.patch.yml
  85. pipeline-kernel:
  86. watchdogEnabled: false # turn watchdog off (default true)
  87. watchdogIntervalMs: 300000 # tick interval (default 5 min)
  88. watchdogStallMs: 1800000 # chain-stall threshold (default 30 min)
  89. watchdogWakeCooldownMs: 600000 # per-task wake cooldown (default 10 min)
  90. watchdogReportCooldownMs: 1800000
  91. ```
  92. ### Docs
  93. | Doc | Content |
  94. |---|---|
  95. | `docs/管线定义规范.md` | Pipeline definition schema & topology (roles/chain/gates/entry…) |
  96. | `docs/内核接口文档.md` | Kernel tool & endpoint reference (`pipeline_*` / HTTP routes) |
  97. | `docs/内核设计文档.md` | Architecture & responsibilities |
  98. | `docs/UI-方案-K7-边栏设计.md` | Control panel UI design |
  99. ### License
  100. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.