The Windows platform layer disables tool-bash and inserts the pwsh stack, but the shipped presets each mount a tool-bash row that re-enabled the tool on win32 — the session had both a PowerShell-backed bash tool and tool-pwsh, silently, because no spec pinned the composed preset layer. The Loader now evaluates a disabled: !!js expression against the loader context at every mount decision; disabled is the only interpolated metadata field, and the raw node stays in the options so write-back keeps the !!js form. The standard/code/cordis presets gate tool-bash with process.platform === 'win32', verify-cordis-config allows expressions in disabled only, and the windows-shell spec pins the preset-level invariant.
boot/ — shared app-bin boot glue
English | 中文
The channel-neutral boot library the app bins share: apps/cli, the scaffold/ launcher, and the examples/ demo bins all consume it.
| Package | Role | ctx key |
|---|---|---|
app-boot/ |
Shared boot glue for the app bins: .env loading, fail-loud Loader guards, snapshot-aware config resolution, the settle-the-tree boot sequence |
(library for the bins) |
cmdline/ |
Launcher-to-app command-line handoff and app-owned startup parsing | cmdlineArgs, appExit |
The boot sequence and personal-config contract are documented in app-boot/README.md; app-owned command lines are documented in cmdline/README.md.