Repository navigation
Releases
v0.4.0 — Failure Explainer
0.4.0 — Failure Explainer
Composition Doctor connects supported DSH plugin failures to the relevant entity, observed composition paths, evidence boundaries, and a manual next step.
What's included
dsh-doctor diagnose: human-readable explanations with optional bounded file/stdin error logs; JSON and Markdown output.dsh-doctor check: the same bounded entry point with an explicit profile.- Supported cases: duplicate loader declarations, unavailable bundles, missing/invalid patches, unmatched patch targets, peer/version mismatches, and config replacement/override explanations.
- Failure Explanation in the existing Composition Explorer, with related entities and provenance paths. Legacy reports remain readable.
Default diagnosis is read-only and offline. Logs provide untrusted failure signatures; they do not establish runtime behavior or root cause by themselves. Runtime execution and automatic fixes are not performed by default.
dsh-doctor diagnose --profile <profile-directory> --log <minimal-error.log>
dsh-doctor check --profile <profile-directory> --format jsonSee the public failure cases and README.
Release verification
- Source: final main commit
b8b25bf0ea54bcf4455066d40d49f8cffab18a74, following PR #1 and PR #2. - Final main Hosted CI: all six Windows/Ubuntu × Node 20/22/24 jobs passed. Ubuntu Node 22.23.3: 151 tests passed / 7 optional tests skipped; Ubuntu Node 24.21.0: 153 passed / 5 optional tests skipped. Both Node 24 jobs also validated the official DSH 0.2.0-rc.2 composition artifact.
- Clean final-main export: frozen install, typecheck, test, build, and pack passed with Node 24.19.0 / pnpm 10.17.1. Fresh tarball installation passed version/help, check/diagnose in human/JSON/Markdown, the installed Windows CLI launcher, report export, host export, and browser bundle checks.
- Real DSH Desktop 0.2.0-rc.2 on Windows 11: installation, loading, Settings UI, new/legacy reports, exports, read-only profile checks, restart, disable/re-enable lifecycle passed (
DESKTOP VERIFIED). The host's transient/plugins/eventserror reproduced with Doctor enabled and disabled and was not attributable to Doctor. - Package audit: 38 allow-listed files; no actual user paths, secrets, private reports, test fixtures, or temporary artifacts. Installed package files match the tarball. The final-main tarball is byte-identical to the Desktop-verified package.
Release assets
dsh-composition-doctor-0.4.0.tgz is the frozen, verified package for this commit.
SHA256:
a8ec2adfb89239bc7b4e828695415cdb72e761a6bf415b450e8a67d0046d9bd3 dsh-composition-doctor-0.4.0.tgz
The maintainer has published dsh-composition-doctor 0.4.0 on npm, with latest=0.4.0. The registry tarball was independently downloaded: its integrity verified, its bytes matched this release asset exactly, and its fresh-install pack smoke passed.
v0.2.2
Fixes the packaged dsh-doctor CLI entrypoint on Windows when pnpm supplies a non-canonical path. Adds a built-entrypoint regression test for --version and --help. Release verification: pnpm test, pnpm typecheck, pnpm build, and fresh tarball smoke passed.
v0.2.0
Release 0.2.0. This release preserves the established diagnostic architecture and evidence boundaries. Runtime smoke remains not-run without a trusted OS-level isolation backend; symlink checks may be skipped when Windows does not permit file symlink creation; 0.1.6-alpha.1 is expected-compatible only and is not in the verified release range; temporary directories are not security sandboxes.
v0.1.3
Highlights
- Restores a verifiable install, typecheck, build, and test workflow.
- Adds explicit CLI-to-Web report publishing and read-only report retrieval.
- Clarifies static versus resolved runtime evidence and candidate preflight limits.
- Makes report exports use a reliable browser download lifecycle.
Verification
pnpm install --config.confirmModulesPurge=falsepnpm typecheckpnpm buildpnpm test— 44 passed, 2 Windows symlink checks skipped.
dsh-composition-doctor v0.1.0
首个公开版本。\n\n包含:\n- dsh-doctor scan / snapshot / diff / preflight\n- JSON 与 Markdown 报告\n- Cordis composition、hook、UI slot、peer dependency 与平台风险诊断\n- 脱敏快照与隔离 preflight\n- DSH Web Settings 只读报告视图\n\n已验证:DSH 0.1.x developer-preview、Cordis 4.x、Node.js 20+。\n\n安全边界:默认只读;不自动修改配置、安装/卸载插件或执行迁移;默认不联网。