dsh-doctor
asdf17128
Find what your DeepSeek Harness (dsh) patches silently broke — dead patches, config fields dropped by whole-config repla…
PROJECT TOPICS
PROJECT README
Harness Registry is a searchable DeepSeek Harness plugin registry for DSH users and plugin authors. It combines a community-curated catalog with GitHub discovery, verifies the installable dsh.bundle manifest contract, and exposes comparable plugin metadata and copy-ready install commands.
Status: pre-release. The registry is available at plugin.dshdesk.com and the source is released under the MIT License. See launch readiness.

Requirements: Node.js 22 and npm.
git clone https://github.com/majiayu000/dsh-plugin-registry.git
cd dsh-plugin-registry
npm ci
npm run dev
Open http://localhost:5173 to browse, search, filter, and inspect the registry.
sources/curated.json.dsh-plugin topic.dsh.bundle object in package.json, and its referenced patch file must exist.verifiedCommit HEAD its manifest was checked against.The generated snapshot lives at public/data/plugins.json and follows schema/registry.schema.json.
jq '.stats | {published, curated, automaticallyDiscovered, pendingReview}' public/data/plugins.json
Inspect one plugin:
jq '.plugins[] | select(.id == "omdsh-dev/dsh-at-file") | {id, trustLevel, install}' public/data/plugins.json
Validate the snapshot and run the governance tests:
npm run validate:registry
npm test
Backfill GitHub primary-language metadata without rerunning full discovery:
GH_TOKEN=... npm run backfill:languages
Vendored curated catalog (sources/curated.json) ─┐
├─ normalize ─ verify ─ governance ─ public registry
GitHub topic ────────────────────────────────────┘ └──── audit queue
Curated repositories receive the curated trust level. Automatically discovered repositories are installable only when their root package.json contains a valid dsh.bundle; these receive manifest_verified. Pending repositories remain visible as GitHub candidates without an install command, while blocked and quarantined repositories stay hidden. The full policy is documented in registry governance.
The scheduled GitHub Actions workflow refreshes the snapshot every two hours. When the registry changes, the same workflow commits the snapshot and deploys its verified build artifact to Cloudflare Pages, so sync commits created with GITHUB_TOKEN do not depend on a second push event. A health gate prevents an unauthenticated partial discovery run, an unexpectedly smaller complete snapshot, or a partially answered GitHub GraphQL batch from replacing healthy data. If a scheduled sync fails, the workflow opens a titled tracking issue and closes it once the next run is healthy again.
For automatic discovery:
dsh.bundle object in the plugin package.json (root or a path listed in dsh.bundles).id and name.dsh-plugin GitHub topic.Check a local checkout before publishing:
npm run check:plugin -- ./hello-plugin
Use the repository checker at http://localhost:5173/publish.html. When the Cloudflare submission channel is configured, authors can submit a trackable review request without leaving the page; GitHub remains available as a fallback. See submission review setup.
verifiedCommit when that SHA was recorded. npm-style specs are not commit-pinned.main; formal versioned releases are not yet available.npm ci
npm test
npm run validate:registry
npm run build
To refresh registry data, provide a GitHub token with public repository read access:
GITHUB_TOKEN=... npm run sync:plugins
To regenerate the vendored curated catalog from the current snapshot:
npm run export:curated
Do not commit tokens or generated credentials. See CONTRIBUTING.md for the change workflow.
assets/ contains the registry UI modules, styles, and translations.public/data/plugins.json is the generated public registry snapshot.scripts/ contains discovery, normalization, and validation tooling.functions/ contains Cloudflare Pages server-side routes for review submissions.schema/registry.schema.json defines the published snapshot contract.tests/ covers registry governance and browser-facing behavior.Harness Registry is available under the MIT License.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。