← Back to home@mmw-devs

mmw-tools

DSH plugin: connect a DeepSeek Harness agent to a single GitHub repo via OAuth Device Flow, follow AGENTS.md, edit only the allowlisted paths, run a pre-flight validate, push to content/* branches, and open draft PRs (no auto-merge).

Stars
0
Language
JavaScript
Created
Oct 16, 2026
Updated
Oct 25, 2026

Introduction

mmw-tools

Tooling for the mmw-devs operation repos. Currently one deliverable: a DeepSeek Harness plugin that lets a DSH agent work inside a single configured GitHub repository under the rules that repository publishes in its own AGENTS.md — read, edit only allowlisted paths, pass a pre-flight check before every commit, open a draft PR. No auto-merge.

dsh-github-engineer/     the plugin (bundle + stdio MCP server)

The plugin

dsh-github-engineer v0.6.0 — personal OAuth Device Flow, eight MCP tools, a Settings panel, and a hardened tool boundary. Full description, configuration, and security model: dsh-github-engineer/README.md.

cd dsh-github-engineer
pnpm install
pnpm --filter dsh-github-engineer-mcp build
pnpm build:all
dsh plugin --profile web add link:$PWD
# restart `dsh web`

Then open Settings → GitHub Engineer and press Connect GitHub.

First customer: mmw-devs/ffxiv-race-ops

The plugin is built around that repository's AGENTS.md contract:

  • Only public/data.json may be modified.
  • Branches use the content/* prefix — direct pushes to main are refused.
  • npm run validate must pass before a commit lands.
  • The PR opens as a draft; merging happens on GitHub after CI and human review.

The binding mirrors those rules into dsh-github-engineer/cordis.patch.yml so they can be enforced without parsing Markdown. That duplication is deliberate and documented: see docs/OPERATIONS-SYNC.md.

Layout

PathWhat
dsh-github-engineer/The plugin: DSH bundle, stdio MCP server, Settings panel, tests.
dsh-github-engineer/README.mdPlugin README — install, configure, tools, security model.
dsh-github-engineer/CHANGELOG.mdPer-increment history.
dsh-github-engineer/docs/OAuth walkthrough, operations sync, per-increment design records, release checklist.
dsh-github-engineer-design.mdArchitecture and business-logic design (v2, aligned to the ffxiv-race-ops AGENTS.md).
dsh-plugin-api-cheatsheet.mdDSH 0.1.5 plugin API reference, distilled from zhengjy01/dsh-feishu-mcp and checked against DSH source.
github-oauth-app-checklist.mdGitHub OAuth App registration with Device Flow enabled.
lark-vs-dsh.mdResearch notes: DSH's Feishu-related plugins vs. the official lark-cli.

Verify

cd dsh-github-engineer
pnpm check                    # typecheck + namespace + 177 assertions
cd mcp-server && pnpm test    # 44 guard + 11 schema assertions

License

MIT © 2026 mmw-devs. See dsh-github-engineer/LICENSE.