> **keep-draft (2026-11-15, verdict for #4874).** Missing external condition: no DSH host (`$DSH_HOME`) to compare `dsh.profile.bundles` against `dsh tool list`…
keep-draft (2026-11-15, verdict for #4874). Missing external condition: no DSH host (
$DSH_HOME) to comparedsh.profile.bundlesagainstdsh tool list. Promote when adshinstall can run both commands on the intended profile.
Install instructions from plugin READMEs and a marketplace used --profile web, but this machine's only profile is desktop. Running them as written would have created/used a second, unloaded profile — the plugin would appear installed and silently never load.
The user would see the install command exit 0, see "installed successfully" in the log, and then wonder why the plugin's components and tools never appear in the running host. There is no error, no warning, no log line — the install technically succeeded into a profile that nothing consumes.
Trusting an example profile name from documentation instead of resolving the host's actual profile set.
A README's --profile web is an example, chosen because the README author's machine happened to have a profile named web. It is not a contract — the profile namespace is host-local, and what web means on one machine has no relationship to what it means on another. The command-shape (install --profile <name>) is portable; the value (web) is not.
Before running any install command, list the actual profiles on this host:
ls $DSH_HOME/profiles/(On a default install $DSH_HOME is ~/.dsh; on a managed host it can be /opt/dsh.)
The directory listing tells you what exists; it does not tell you what is loaded. The two diverge when:
The actual loaded profile is the one named in the host's bootstrap config (the file the GUI/CLI reads at startup to decide which profile to mount). Read that config and confirm the profile name before passing it to --profile.
Take the README's install command and substitute the host's actual loaded profile name:
# README example (do NOT run as-is):
dsh plugin install some-plugin --profile web
# Rewritten for this host (profile name from step 2):
dsh plugin install some-plugin --profile desktopIf a README or marketplace entry says --profile <name>, treat <name> as a placeholder. The README author cannot know your host's profile namespace. The portable part of the command is the flag, not the value.
After install, the package must appear in the intended profile's dsh.profile.bundles AND its components/tools must be actually present in the running host:
# 1. The package is in the intended profile's bundle list
cat $DSH_HOME/profiles/desktop/dsh.profile.bundles | grep some-plugin
# 2. The components/tools the plugin provides are loaded by the running host
dsh tool list | grep -F some-pluginIf (1) passes but (2) does not, the install went into a profile the running host does not load — re-do step 2 to confirm the loaded profile name and reinstall.
npm install -g foo works on the README author's machine but installs into a different Node install on yours" — the install path is host-local, and the README cannot pin it.dsh tool list, the install was into the wrong profile.[A stubbed success is not a sandbox] (success without observability is not success), [An allowlist that rejects real data is worse than no validation] (host-local config beats example config).