refactor: hard-fork GSD -> MSD (Make Software Done)

Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD
across contents and paths, upstream package/repo coordinates -> @golem15/msd-core
and golem15com/msd-core. Deep links into upstream history, sibling upstream
packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is.

Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line,
package/plugin identity, regenerated lockfile, install-tree fixtures, derived
registries and benchmark baseline; migration checksum baseline re-locked
(MSD keeps its own install state, so no install had applied the old sums);
sort-order and regex-escaped expectations in tests adjusted.
This commit is contained in:
Jakub Zych
2026-10-06 01:47:40 +02:00
parent fe069b2a56
commit a9a7a328e6
2763 changed files with 78465 additions and 78434 deletions

View File

@@ -19,7 +19,7 @@ landed. **It does not hold.** The three sites overlap in *shape* and diverge in
| step | `installRuntimeArtifacts`<br>`src/install-engine.cts:770-958` | `applySurface`<br>`src/surface.cts:359-452` | agent loop<br>`bin/install.js:11120+` |
|---|---|---|---|
| preserve | snapshot-based, **`skills` kind only** (`_snapshotDir`) | **none** | none |
| prune | `_removeGsdEntries`, prefix-scoped wipe | `pruneSkillDirs` — **allow-list, never wipes** | stale `gsd-*` unlink |
| prune | `_removeMsdEntries`, prefix-scoped wipe | `pruneSkillDirs` — **allow-list, never wipes** | stale `msd-*` unlink |
| stage | copies straight into `dest` | **temp dir first**, then syncs | inline transform, no staging dir |
| restore | `_restoreDir` the snapshot | none | none |
@@ -226,7 +226,7 @@ The ADR treats that comment's blocker list as current. Measured, only one was:
|---|---|
| Copilot's `.agent.md` filename rename | stale — #2099 dropped the ternary; the suffix comes from `hostBehaviors.agentFileExtension` |
| cross-cutting path-prefix rewrite + attribution | stale — `stageAgentsForRuntimeWithConverter` already does both when `agentCtx` is present |
| stale-file cleanup | stale — `_removeGsdEntries` prunes more broadly than the loop's extension-gated check |
| stale-file cleanup | stale — `_removeMsdEntries` prunes more broadly than the loop's extension-gated check |
| config-reading steps | **real** — and it was the entire remaining gap (see §2 above) |
### 4. F19 is seven call sites, not four — and the helper was the wrong thing to search for
@@ -241,7 +241,7 @@ extra sites were found by sweeping for the pattern — a read shortly before a w
shortly after.
The ADR also understates the severity. The worst site is the mainline install path, where the
window spans the **entire `gsd-core` tree rebuild** inside `copyWithPathReplacement`, not a single
window spans the **entire `msd-core` tree rebuild** inside `copyWithPathReplacement`, not a single
`rmSync`. Any interruption of a normal install destroys the file.
### 5. Resolved: `USER_OWNED_ARTIFACTS`