Repository navigation
v0.14.0
doctor --json --remediation emits the dsh-doctor v1.1 remediation list. The addendum was adopted today in deepseek-harness#1719: the warn and fail checks, in check order, one keyed line each.
npx dsh-win32 doctor --json --remediation
Opt-in only. Without the flag the field does not appear, so a consumer pinned to the frozen r5 envelope never sees it.
Reviewing that addendum found a defect worth naming here, because this repo is where it showed up. The draft pinned the key with a character class, /^\[([a-z_]+)\] /. That thread had also settled, repeatedly, that checks without a vocabulary entry keep vendor-prefixed local ids. Those two rules disagree: dsh-win32/bundle fails the charset, and so do the E1-pnpm and P12-bundle-version shapes another implementation uses. A consumer following the pinned rule would silently drop exactly those lines, and vendor checks are the implementation-specific traps that most need an instruction attached. dsh-win32/bundle is the check that tells you the runtime inside your profile is older than your CLI, which is the most actionable warn this emits.
The adopted rule keys on the first ] instead, /^\[([^\]]+)\] /, so the boundary is the contract and ] is the only character a check name may not contain. The tests here assert the boundary rather than a charset, since a charset regression throws nothing β the line just quietly stops appearing.
detail and fix are now separate. The instruction used to be mixed into the description prose, which is a real limitation once an aggregator has to pick the actionable half out:
detail: "profile runs 0.5.1, this CLI is 0.13.2; run: npx dsh-win32 setup. If that reports no change, ..."
detail: "profile runs 0.5.1, this CLI is 0.13.2"
fix: "npx dsh-win32 setup. If that reports no change, ..."
Text output still prints the instruction, so nothing is lost to a human reader. Checks with no separate fix fall back to detail, which the addendum allows since it does not assume a fix field exists.
A correction to the PowerShell check. It used to state that the 5.1 fallback crashes with 0xC0000142 inside the DSH sandbox. That line arrived with v0.1 as a community-reported trap and was never measured here. A new CI probe starts PowerShell 5.1 under the workspace-write restricted token on windows-latest and it exits cleanly, with a write-fence control and an MSYS control proving the token was live in the same run. The reproduction anyone can point at is the packaged desktop app (anywhere-labs#203), whose launch chain is a different path. The check now says that instead. The recommendation to install pwsh 7 stands.
Still holding at rc.6. The peer range remains >=0.1.0-rc.5 <0.1.0-rc.7 for the node-pty reason in v0.13.2. Nothing in this release changes that.
98 tests, five CI jobs green including windows-latest and the restricted-token sandbox.