fix(#1477): scope changeset to marker writer; lock guard with negative tests

Address maintainer re-review nits:
- Changeset body no longer claims install-exports resolution (Failure 2 is
  now handled upstream by #1511 / ADR-1508 Phase 2). This PR delivers the
  .gsd-source marker writer, which fixes list/status (Failure 1).
- Add negative tests locking the `runtime === 'claude' && isGlobal` write
  guard: a non-claude global install and a claude *local* install both
  provision no marker. Verified must-fail-first against a relaxed guard.
This commit is contained in:
Joe Slitzker
2026-06-25 09:46:09 -05:00
parent 4e473c8847
commit ddfc6b0815
2 changed files with 44 additions and 1 deletions

View File

@@ -2,4 +2,4 @@
type: Fixed
pr: 1487
---
**`/gsd-surface` works on Claude Code global installs** — the installer now writes a `.gsd-source` marker and install-exports resolve in the deployed layout, so `list`/`status` and `profile`/`enable`/`disable`/`reset` no longer throw `could not locate commands/gsd` or `MODULE_NOT_FOUND`. (#1487)
**`/gsd-surface` (`list`/`status`) works on Claude Code global installs** — the installer now writes a `.gsd-source` marker pointing at its `commands/gsd` source, so `findInstallSourceRoot` resolves on the global skills layout (which ships no `commands/gsd` tree) instead of throwing `could not locate commands/gsd`. (#1487)