fix(skills): the launcher never starts a CLI older than its security floor (#8125)

The skill launcher raises its floor to 0.9.64, the oldest release with every
protection for projects received from someone else. The floor applies to a
plugin pin, to --cli-version and to HYPERFRAMES_STANDALONE_CLI_VERSION. A
release below it is refused with a message that names the floor.

The skill lifecycle reference no longer sends the agent back to the project's
pinned release after a failed check. The agent stops and reports, and runs
the old release only when the person asks for it. The CLI notice for a
project that pins a newer release now says the pin is the person's choice.
This commit is contained in:
Michael Wang
2026-11-18 00:56:38 +00:00
committed by GitHub
parent 59fbb22eba
commit 63c8f8ef66
9 changed files with 70 additions and 22 deletions
+7 -4
View File
@@ -148,10 +148,13 @@ different program. This matters most for a project someone sent you. With standa
runs the newest published CLI; in a plugin it runs the version the plugin pins. The pin counts
only when the plugin folder's name does not start with a dot, the folder is not the one the
agent works in and does not contain it, and, if it lies inside that folder, a folder whose name
starts with a dot (such as `.claude`) sits between them. A pin older than 0.9.34 is refused.
For a standalone workflow that needs a particular release, the agent passes
`--cli-version latest` or `--cli-version <exact-version>` to the installed launcher before the CLI
command. This also works for releases with a prerelease suffix. Plugin installs keep their pin.
starts with a dot (such as `.claude`) sits between them. For a standalone workflow that needs a
particular release, the agent passes `--cli-version latest` or `--cli-version <exact-version>` to
the installed launcher before the CLI command. This also works for releases with a prerelease
suffix. A project's `package.json` pin does not choose that release; the agent runs a pinned
release only when you ask for it. The launcher refuses a release older than its floor, whether a
plugin pins it or the agent selects it. The floor is the oldest release with the protections for
projects you receive from others. Plugin installs keep their pin.
The agent runs a project's own npm scripts only when you ask for one by name.
## Install more only when you need it