Some checks failed
Deploy Site / deploy-vercel (push) Has been cancelled
Deploy Site / deploy-docs (push) Has been cancelled
Skills Index Freshness Check / check-freshness (push) Has been cancelled
Skills Index Freshness Check / check-catalog-cors (push) Has been cancelled
Docs Search Monitor / probe (push) Has been cancelled
* feat(pm): a launcher can name the install-state folder of its process A sandbox that runs Hermes on the host's own files grants the selected dependency environment read-only and nothing else of installs/<key>. On Windows the process inside still sees that folder, because it is an ancestor of a grant, while reading facts.json and taking the install lock are refused. Start-up took that for an install state it has to use and ended with "install state is not writable by this user", so a sandbox on an installer-made Hermes on Windows did not start. HERMES_INSTALL_STATE_DIR names the folder a process and its children keep their install state in. A process started with it runs on the interpreter it was given: it selects no environment, from the install's own state or from the named folder, it is not restarted on another interpreter, and it writes nothing into the install's own state. A Linux sandbox gets the same from a mount of an empty folder over installs/<key>; Windows has no mount. * fix(pm): start-up reads nothing from a folder a launcher named A process whose launcher named its install-state folder still acted at start on that folder and on the checkout's markers: - An update that stopped half way leaves .update-incomplete in the checkout. The process ran the repair, which builds into the named folder, and cleared the marker the install's own next start needs. - A publication.json placed in the named folder, which the process can write, was replayed: it could put a config.yaml back, and a damaged one ended the start. Start-up now takes the path of a process with no install state: no lock, no journal, no recorded selection, and the named folder is left as it is. A sealed install still selects the environment its manifest names, which is part of its tree. * fix(env): the install-state folder a launcher named is launch-only A .env line that names HERMES_INSTALL_STATE_DIR replaced the launcher's value when the file was loaded, after start-up, and every later lock and marker went to the other folder. The same line made the variable residue of the launch profile, so a worker started for another profile lost it. The variable joins LAUNCH_ONLY_ENV_KEYS: no .env, secret source or .env writer sets it. * fix(pm): refuse to build an environment no process would select In a process whose launcher named its state folder, `hermes pm install --extra` built an environment in that folder and reported it installed. No process selects an environment recorded there. `hermes pm repair` did the same, and counted a failed attempt against the install's marker. Both entries of the venv sync (pm.client, pm.install) and the explicit repair now refuse first and say why. * docs(reference): what a named install-state folder does The row for HERMES_INSTALL_STATE_DIR says what start-up leaves alone, which commands are refused, that a sealed install keeps the environment it ships, that the variable is launch-only, and that the launcher keeps the interpreter's environment in place while the process runs.