fix: keep the openclaw command and Gateway working after updating a pnpm install (#201735)

* fix(update): keep the pnpm launcher and Gateway working across a pnpm package update

* fix(update): quote repaired pnpm launchers safely and report repairs Doctor cannot make

* fix(update): rewrite pnpm launcher words by value so every shell quoting form relocates

* fix(update): verify pnpm launchers in one pass and skip non-regular PATH entries

- Resolve pnpm shims from the physical bin directory whenever the shim
  defines basedir_abs, including the braced form the rewriter emits.
- Keep the forward-slash pass for absolute paths in extensionless shims
  on Windows.
- verifyRuntimeLauncher reports an unknown format from its single
  inspection; the swap turns it into a warning and fails a missing target.
- The launcher repair scan skips FIFOs and other special files instead of
  blocking Doctor or Gateway startup on them.
- Docs: automatic launcher repair is macOS and Linux only.

* fix(update): touch only this installation's pnpm launchers and prove ownership on the bytes repaired

- The pre-stop guard refuses only launchers the swap publishes; another
  global package's shim in the staged bin directory no longer fails the
  OpenClaw update.
- A shim resolves physically only when it assigns basedir_abs; a path
  that merely contains the name no longer switches an older lexical
  shim to the physical bin directory.
- Launcher repair checks cmd-shim-target ownership on the same read it
  relocates, and leaves the launcher alone if it changed before the
  rename.
- Doctor, Gateway and docs recovery commands use
  `pnpm add -g --allow-build=openclaw`.

* fix(update): repair a home-level pnpm launcher in place and consolidate launcher tests

- A launcher rewritten in place (Doctor and Gateway repair) does not move
  with its directory, so the stage relocation now applies when the stage
  sits inside that directory, as with pnpm's home-level shim. The updater
  relocates between different directories and is unchanged.
- Fold the apostrophe-in-stage finalize case into the quoted pnpm 12
  layout, the FIFO case into the rewrite cases, the verification cases
  into one table and the service revalidation cases into one table.
  Drop the "recorded target missing" refusal: the ownership check now
  covers it the same way as "another installation".
- Record the remaining 21 regression-test lines over the allowance.

* fix(update): break the launcher-names import cycle and name the recovery route on refusal

- Move resolvePackageUpdateLauncherNames into the leaf module
  package-update-launcher-names.ts so the native stage no longer imports
  package-update-filesystem (madge cycle through the swap contract), and
  list it in the update-restart swap fixture and PR wrapper inventory.
- Relocate absolute paths with a replacement callback, so `$'` and similar
  in a live path stay literal.
- The pre-stop refusal names the direct pnpm reinstall, the Gateway
  reinstall and restart, and openclaw triage.