@el1mir/dsh-flow: Turning Requirements-to-Merge into a Transactional Record Stream

Introduction

In DSH, using agents to decompose requirements, dispatch tasks, and verify acceptance, the common approach is scripts plus manual monitoring of Slack or issues: status is scattered across conversations, and rework and merging lack a unified closed loop. @el1mir/dsh-flow is a dispatch console plugin released by community maintainer El1mir, categorized as a workflow. It aims to turn “Requirements → Decomposition → Dispatch → Worker Execution → Acceptance → PR Review → Merge” into a transactional record flow, providing a dashboard, ticket inbox, and a message area between dispatchers and workers. Below is an introduction to what it is, what it does, and how to install and enable it.

What is it

dsh-flow targets DeepSeek Harness (DSH) hosts and mounts as a dispatch console plugin on the workspace. The maintainer is El1mir; the project is public on SkillHub and GitHub, current npm version is 0.0.23, license MIT. The plugin runs with the current DSH process permissions; one should review the source code and license before installing.

Core Features

Two Transaction Modes

  • Local Mode: Branching, checkout, acceptance, local merge, completely offline.
  • Remote Mode: Bidirectional synchronization of issues and comments with GitHub/Gitea; one card corresponds to one branch and one PR, with forge merge as the only entry point.

When conditions for remote configuration are not met, it falls back to local mode and explains the reason, without silently going online.

Dual-Lane Scheduling

  • human lane: Dispatched by humans.
  • issue lane: Remote issues automatically create cards and go through the full lifecycle.

Acceptance and Tickets

Stop reports are written according to the “Six Questions”; acceptance items record status and evidence item by item. When evidence is insufficient, the dispatcher first supplements the evidence themselves, only requesting (approval) when environment/permissions are unavailable or human decision is needed. Authorization guards (acceptedBy, autoAccept) are always retained.

Matters requiring a final decision go through the ticket inbox: with categorization, references, and multi-round conversations. Dispatchers and workers from both lanes communicate in the message area, able to reference task cards.

Anti-Loop and Remote Merge Safety

Rework frequency control, failure budgets, and stuck inspection are used to avoid idle scheduling. When merging remotely, conflicts are re-dispatched to the original worker; failures such as branch protection, permissions, or head changes enter blocked tickets, without local fallback.

Installation and Enablement

Requirements: DSH >=0.2.0-rc.2, Node.js 20+.

  1. Enter the web profile and install the npm package:
cd ~/.dsh/profiles/web
npm install @el1mir/dsh-flow
  1. Add "@el1mir/dsh-flow" to dsh.profile.bundles in the package.json of that profile, or add to cordis.patch.yml:
- insert: [{id: dsh-flow, name: "@el1mir/dsh-flow"}]
  1. Restart DSH. The workspace entry point is /api/flow/app, and a “Dispatch Console” floating icon will appear in the bottom right corner of the page.

Maintainers can also install using a file: path from source code; daily users can install via npm as described above. Do not replace official steps with fabricated dsh plugin add commands that do not appear in the documentation.

Enabling Remote Mode

Set in project configuration:

  • remoteMode: true
  • remote.kind / remote.owner / remote.repo
  • pushRemote: true
  • Enable recordIssues / recordPulls as needed

GitHub Authentication: Explicitly configured remote.token takes priority; otherwise, it defaults to using gh auth token (remote.useGhCli is enabled by default). Requests are anonymous without a token and may be rate-limited by GitHub to 403.

Typical Usage and Code Structure

The dispatch skill is located at skills/flow/, path /flow. The main directories are as follows:

Path Content
index.js Plugin entry point and route registration
client.js Dispatch console frontend
lib/ Transaction models, scheduler, dispatching, remote synchronization and merging
skills/flow/ /flow dispatch skill
test/ Testing
CHANGELOG.md Version changes
GLOSSARY.md Glossary

Local development and regression testing can use:

npm test                      # Full test suite
node test/smoke.mjs           # Main flows like state machine, lease, dispatching, merging
node test/render.mjs          # Interface rendering assertions

The README states that testing does not depend on the network or a real DSH host.

Applicable Scenarios and Notes

Suitable for teams or individuals who need to turn multi-worker, multi-step R&D processes inside DSH into a traceable transactional flow: requiring both local closed-loop testing and the option to connect to GitHub/Gitea issue/PR workflows.

Notes:

  • Plugin permissions are the same as the DSH process permissions; remote mode will access the configured forge, be sure to verify the token and repository scope.
  • The community directory SkillHub is an independent ecosystem site with no official affiliation with DeepSeek / Hypi; DSH itself is based on the philosophy of “everything is a plugin”, and this package is one of the community workflow extensions.

Conclusion

@el1mir/dsh-flow brings a software-factory style pipeline into the DSH dispatch console: local and remote modes, dual-lane dispatching, acceptance closed loop, ticket inbox, and anti-loop guards, using forge merge as the only integration path for remote mode. For further details, see the GitHub repository README and SkillHub plugin page.

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

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

Xiaoye