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

@@ -110,7 +110,7 @@ for (const runtime of runtimes) {
}
// #2086 (EoS/claude): claude is the reference host and the ONLY runtime with a
// distinct LOCAL "legacy flat-commands" layout (commands/gsd-*.md + agents/gsd-*.md).
// distinct LOCAL "legacy flat-commands" layout (commands/msd-*.md + agents/msd-*.md).
// The loop above snapshots the GLOBAL skills layout; this snapshots the LOCAL
// commands/agents layout's file set too (mirrors golden-install-parity.test.cjs).
test('install tree — claude (local legacy layout)', async (t) => {
@@ -161,7 +161,7 @@ test('install tree — claude (local legacy layout)', async (t) => {
// computePathPrefix's `isGlobal && posixTarget.startsWith(posixHome)` branch
// needs to emit `$HOME/<suffix>/`-shaped prefixes. Under the collapsed shape the
// prefix was bare `$HOME/`, so every emitted global artifact referenced
// `$HOME/gsd-core/…` — a path that exists on no real install — and the entire
// `$HOME/msd-core/…` — a path that exists on no real install — and the entire
// emitted-artifact apparatus (ADR-2719 differential, install-tree fixtures,
// 19-family baseline) was structurally blind to drift confined to the real
// global shape (#3544's fix rewrote 54 includes on live installs with ZERO
@@ -176,12 +176,12 @@ test('#3547 global harness install uses the real config-home shape (claude)', as
'global configDir must be the runtime\'s real global dir under the sandbox HOME');
assert.ok(path.dirname(configDir) === root, 'configDir must be a direct subdirectory of the sandbox HOME');
// The deployed contract: emitted agent text references $HOME/.claude/gsd-core/,
// never the unsuffixed $HOME/gsd-core/ form (posixNormalized on every platform).
const planner = fs.readFileSync(path.join(configDir, 'agents', 'gsd-planner.md'), 'utf-8');
assert.match(planner, /\$HOME\/\.claude\/gsd-core\//,
// The deployed contract: emitted agent text references $HOME/.claude/msd-core/,
// never the unsuffixed $HOME/msd-core/ form (posixNormalized on every platform).
const planner = fs.readFileSync(path.join(configDir, 'agents', 'msd-planner.md'), 'utf-8');
assert.match(planner, /\$HOME\/\.claude\/msd-core\//,
'emitted agents must carry the real global prefix shape');
assert.doesNotMatch(planner, /\$HOME\/gsd-core\//,
assert.doesNotMatch(planner, /\$HOME\/msd-core\//,
'the collapsed bare-$HOME prefix must not appear in real-shape installs');
});