Preface¶
Installing plugins in DeepSeek Harness (DSH) often only signals “it’s installed”: the market finds it, the bundle is listed in the profile, and the process has started. The real trouble lies in three types of silent failures—no errors, no logs, but the functionality acts as if it was never installed; or a whole capability disappears after installing a second plugin; or a plugin’s behavior persists despite being disabled in a patch. Existing tools struggle to clarify “who clashed with whom and which line needs to be changed.”
Below is an introduction to the community plugin dsh-conflict-doctor (Maintainer: ven314, Category: Workflow). It aligns the runtime Loader graph with the patch layers on disk, outputs conclusions backed by evidence, and provides copy-paste ready YAML patches when a fix is possible.
What is it¶
dsh-conflict-doctor is positioned as a DSH plugin for conflict governance: diagnosing silent conflicts and providing at least one remediation suggestion (including copy-paste patches) for each finding. The npm package name is dsh-conflict-doctor, and the version in the current documentation is 0.2.0.
It differs from another class of tools with similar naming: dsh-plugin-doctor on npm focuses on compatibility, security, isolated installation, and rollback; this plugin focuses on conflict diagnosis and repair—duplicate tool ids, permanently pending fibers, layer overrides that disable invalidation, etc. Pay attention to the package name during installation to avoid installing the wrong one.
Which Three Types of Silent Problems It Solves¶
The documentation summarizes typical phenomena and root causes in a table, outlined as follows:
- Feature doesn’t appear after installing a plugin — A fiber stays at
PENDING, waiting for a service that nobody provides, without reporting an error. - A whole feature disappears after installing another plugin — Duplicate tool ids cause the later registrant to throw an error, failing the entire line load; the error often just says “already registered” without pointing to the other owner.
- Behavior persists despite disabling a plugin — A later layer patch replaces the
disabledorconfigof a previous layer entirely (DSH layer semantics: the last layer wins).
This plugin maps these situations to specific code, refs, evidence, and fix, rather than vague prompts to “check the configuration.”
Core Functions: Two Sets of Detection for Runtime and Profile¶
When using it, you can specify scope: live (running process only), profile (disk composition only), all (default, both).
Runtime (live)¶
| code | Severity | Meaning (Summary) |
|---|---|---|
live/tool-id-conflict |
critical | Two plugins register the same tool id; identifies the conflicting name from the failed fiber error |
live/failed-fiber |
critical | Fibers that failed to start, with the first line of the raw error |
live/pending-missing-service |
critical | Fiber stuck at PENDING, waiting for an injected service that nobody provides |
live/duplicate-entry-id |
critical | Two modules occupy the same Loader entry id |
live/unprovided-inject |
warning | A declared dependent service does not exist in the process |
live/pending-self-dependent |
critical | The service a fiber is waiting for is the one it provides itself (deadlock) |
live/outbound-tool-collision |
warning | Two loaded plugins declare the same tool id but haven’t entered the registry yet (timing masked) |
Disk Composition (profile)¶
Structural checks run regardless of version, such as: duplicate row ids within the same layer (profile/duplicate-row-in-layer), the same module mounted under multiple ids (profile/module-under-multiple-ids), disabled then re-inserted (profile/disable-then-reinsert), missing patch files (profile/missing-patch-file), tool id collisions in compiled output (profile/tool-id-collision), and same-name service collisions (profile/service-collision, filtering client packages by realm).
Version-sensitive items (peer ranges, host-import, Node engines) only run when version authority is confirmed: the plugin startup asks pluginManager for the real running version; if disk and runtime do not match, it marks as stale-disk and skips three types of checks to avoid false positives based on a wrong baseline. Structural checks are not affected.
Each finding includes refs, evidence, impact, and at least one fix; those fixable via patch will directly provide copy-pasteable YAML.
Proactive Broadcasting¶
When a critical conflict exists, the plugin writes the conclusion and the first fix suggestion into the system prompt (systemPrompt.context, order 50), rather than waiting for you to ask. When there is no conflict, it contributes an empty string, occupying no extra tokens; it also explicitly requires the model not to alter configurations without permission before the user raises a relevant question.
Design Orientation (Relevant to Usage)¶
- Read-only by default — Does not register services, modify configurations, or touch the registry. The fix side provides
--dry-run,--fix-out(writes to a slack file next to the profile);--applyis marked as not yet implemented in the documentation. - Hard dependency only on
tools— Other capabilities usectx.geton demand; registration packages are wrapped inctx.effect(), allowing clean unmounting/unregistration. - CLI — The package provides a
conflict-doctorexecutable entry (scripts likepnpm auditare used for self-checking within the repo).
Installation and Activation¶
Search and install from the Plugin Market in DSH settings, or use the command from the documentation:
dsh plugin --profile web add dsh-conflict-doctor
Add the package name to the corresponding profile’s dsh.profile.bundles in package.json:
{
"dsh": {
"profile": {
"bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-conflict-doctor"]
}
}
}
If not installing to the profile, you can use an overlay to verify the composition layer (replace the path with your local plugin directory):
dsh --profile web --patch <path-to>/conflict-doctor/cordis.patch.yml --dump-config
Community plugin directory page: https://www.skillhub.cn/plugins/ven314/dsh-conflict-doctor (Independent site, with no official affiliation with DeepSeek / High-Flyer).
Typical Usage¶
Model-side tools (See README for parameters):
conflict_doctor { scope: "all" | "live" | "profile", profilePath?: string, format?: "markdown" | "json" }
User-side commands:
/conflict-doctor
Recommended troubleshooting sequence:
- Feature “acts like it’s not installed” or fails entirely after adding a plugin → First use
scope: "all"or/conflict-doctorto check critical items. - Only suspect patch layering or disable override →
scope: "profile". - Only suspect current process fiber / service / tool registry →
scope: "live". - Set
format: "json"when machine-readable results are needed; use the default markdown for humans.
Fix suggestions should be based on the fix and YAML in the report; when trying to fix, use the repair engine’s --dry-run or --fix-out, and do not assume --apply is available.
Applicable Scenarios and Notes¶
Who is it for
- Developers maintaining web (or other) profiles containing multiple community plugins.
- Those encountering issues like “installed but not working,” tool duplication causing whole line load failures, or layer overrides rendering disable ineffective, who need executable conclusions rather than guesses.
Capability Boundaries (Key points from the documentation)
- Runtime tool id attribution cannot be 100% guaranteed; cross-plugin attribution partially relies on static scanning of
defineTool({ name: '...' })literals, and dynamically constructed tool names are not within the static scope. profile/row-config-replacedcan only report symptoms of multi-layer replacement; it cannot determine if the replaced config is business-critical.- Name-based static extraction only recognizes literals (e.g.,
provide('name')), and the report wording is “declared in compiled output” rather than “registered at runtime.”
Security and Permissions
The plugin reads Loader, profile, compiled output, and runtime state information under the permissions of the current DSH process. Before installing, please review the source code and license on the GitHub repository yourself (the full license text is not reproduced here) to ensure compliance with your environment and requirements.
Conclusion¶
The DSH ecosystem emphasizes “everything is a plugin”; as plugins increase, the probability of silent conflicts rises. The value of dsh-conflict-doctor is collapsing “it’s not working” into “who clashed with whom + which line to change,” and utilizing the running host’s real version for version-sensitive judgments to reduce false positives.
- Directory Page: https://www.skillhub.cn/plugins/ven314/dsh-conflict-doctor
- Source Code and Full Detection Item Descriptions: https://github.com/ven314/dsh-conflict-doctor