It is tempting to read a pending line in DeepSeek Harness startup output as "this plugin is broken." Most of the time it means something narrower: this plugin asked for a service, and nothing in the selected composition supplied it. The fix usually lives in a different plugin — or in no plugin at all, because the profile simply does not include one.
That distinction decides what you do next. If you treat the waiting consumer as the defect, you can edit it forever without touching the provider whose activation actually failed.
What the startup report guarantees
When a required plugin fails activation, the CLI reference describes a specific sequence: failed plugins with their original stacks first, then pending plugins and missing services. Required plugins appear first inside the pending list. The process exits with code 1 after writing its report and stderr — even if plugin handles remain open.
One case is easy to misread. An optional-only activation warning keeps the normal output and does not produce this report at all. So the absence of a report is not proof that nothing went wrong; it tells you no required plugin failed.
| Evidence | What it tells you | What remains open |
|---|---|---|
| Failed plugin and original stack | An activation error was recorded | Whether another error also occurred |
| Pending plugin | The instance is not active | The missing service's underlying cause |
| Missing service | A dependency is unavailable to a consumer | Why the provider did not supply it |
| Optional-only warning | A warning occurred | This report is not created for it alone |
Pending is a lifecycle state, not a verdict
Every plugin instance has a Cordis fiber tracking its lifecycle, dependencies, validated configuration and effects. The Fiber reference documents fiber.state as the current lifecycle state and fiber.store as a snapshot of required service implementations while loaded.
A missing dependency can keep a consumer from becoming active. That means one failed provider can explain several later pending entries — which is exactly why you check the report before assuming each entry is its own bug. It is a hypothesis to test, not a rule that the first line is always the cause.
The same reference notes that fiber.await() waits for lifecycle work and rethrows configuration-validation or plugin-startup errors. This matters for plugin authors: "activation failed" and "waiting for a requirement" are different observations and produce different evidence. An import error can also happen before any fiber exists, so the inactive-instance list is never the whole story — read the original errors as well. And do not infer a particular state transition or retry policy from the word "pending" by itself.
Where the full diagnostic lives
Search stderr for Full diagnostics:. On a successful write it names a unique startup-<timestamp>-<uuid>.log directly under $DSH_HOME/logs/, defaulting to ~/.dsh/logs/. Earlier reports are not overwritten or automatically deleted. If the directory or file cannot be written, stderr contains the write error and the full report, and the exit code stays 1 — the path is only printed after a write succeeds.
The report carries DSH and Node versions, platform, profile, root configuration path, inactive plugin modules and states, original errors, and startup warning and error arguments. It includes import errors that have no fiber, so a missing fiber is not evidence that no failure occurred, and it captures asynchronous failure cleanup until boot settles. It does not independently collect environment variables or configuration contents — but plugin errors may include values from either, which matters in the next section.
The collector preserves nested causes, aggregate members, circular references, non-enumerable properties and symbols. It disables custom inspectors and describes accessors without evaluating them. That keeps evidence a short console message would drop. It does not make arbitrary plugin output redacted or safe to paste anywhere.
Tracing a missing service to its source
- Capture the failed plugin, its original stack and any nested causes. Keep a private copy — the raw values are not redacted.
- Record each pending plugin and the exact missing service attached to it. Separate required entries from the rest; list order alone is not a dependency graph.
- Identify the provider expected to register that service in the composition you selected. The Cordis primer explains how plugins declare required services with
injectand wait until those services exist. - Check whether the provider failed, was absent from the selected profile, or is otherwise unavailable in the consumer's scope. Only the actual error and configuration evidence separate these cases; the label "missing" does not choose between them.
- Address the evidenced cause, restart or reload as the composition requires, and compare the same plugin and service entries. Confirm the capability works, rather than judging by one line disappearing.
A concrete pattern: a consumer requires a service, and the provider's activation stack shows a configuration validation error. Fix the validation error first. Rewriting the consumer to not wait would leave the provider's observed failure exactly where it was. The reverse mistake is just as common — assuming a provider failed when it was never part of the selected profile.
Configuration layers change which provider exists
A profile is a composition, not a directory name. The CLI applies bundle, profile, home and supplied patch layers in order, and a later patch replaces a targeted row's complete configuration. The same plugin name can appear in different compositions with different input, so a change made for one profile may not explain a failure in another. Config layer precedence walks through how to trace those inputs.
When comparing attempts, hold the profile, version and relevant layer inputs fixed. A changed installation or overlay changes which provider is present, and then you are comparing two different systems. Record the original symptom and the result after each deliberate change; a clean startup demonstrates that the tested composition started, not that every optional plugin or user workflow works.
Before you share the report
The CLI warns explicitly that plugin errors can contain configuration or credential values, and that they are not redacted. A local file mode is not permission to upload it, paste it into an issue, or screenshot it. Review nested error details, paths and warning arguments, and keep the relationship between failed provider and waiting consumer intact while you replace sensitive text — that relationship is the part a maintainer needs. Sanitizing startup diagnostics covers that editing pass.
Two more boundaries worth stating plainly. Do not install an arbitrary plugin just because a service name is missing; verify which provider the composition is meant to use and whether its original error explains the absence. And nothing here is a security assessment — a plugin listing, a successful startup or a resolved pending entry says nothing about whether code or data handling is safe for your deployment. If no original failure matches the missing service, say so along with a sanitized reproduction instead of guessing.
Terms worth keeping separate
- Plugin: a mounted unit of behavior that can provide or consume services.
- Service: a capability accessed through a context key and supplied by a provider.
- Injection: a declared service dependency used to coordinate activation.
- Fiber: one plugin instance's lifecycle and effect tracking.
- Pending: reported inactive work awaiting activation; the report is what explains why.
If you want the composition side of this picture — how services are provided, consumed and swapped — plugins, services and dependency injection is the companion read.
Originally published at https://dsh-plugin.com/blog/pending-plugins-missing-services-diagnostics

