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

@@ -29,10 +29,10 @@ const { test, describe, beforeEach, afterEach } = require('node:test');
const assert = require('node:assert/strict');
const fs = require('fs');
const path = require('path');
const { runGsdTools, createTempProject, cleanup } = require('./helpers.cjs');
const { runMsdTools, createTempProject, cleanup } = require('./helpers.cjs');
const { findPhaseInternal } = require('../gsd-core/bin/lib/phase-locator.cjs');
const { detectSignals } = require('../gsd-core/bin/lib/smart-entry.cjs');
const { findPhaseInternal } = require('../msd-core/bin/lib/phase-locator.cjs');
const { detectSignals } = require('../msd-core/bin/lib/smart-entry.cjs');
// Path 4 has no JSON resolution surface to read: `detectVerifyFailed` resolves a
// directory and then reports a boolean about its contents. So selection is
@@ -175,14 +175,14 @@ describe('#2528 resolution-path parity — locator / find-phase / phase-plan-ind
const locatorAmbiguous = Boolean(located && located.ambiguous_matches);
// ── Path 2: find-phase ────────────────────────────────────────────────
const findRes = runGsdTools(`find-phase ${query}`, tmpDir);
const findRes = runMsdTools(`find-phase ${query}`, tmpDir);
assert.ok(findRes.success, `find-phase failed: ${findRes.error}`);
const findOut = JSON.parse(findRes.output);
const findDir = findOut.found ? path.basename(findOut.directory) : null;
const findAmbiguous = Boolean(findOut.ambiguous_matches);
// ── Path 3: phase-plan-index ──────────────────────────────────────────
const idxRes = runGsdTools(`phase-plan-index ${query}`, tmpDir);
const idxRes = runMsdTools(`phase-plan-index ${query}`, tmpDir);
assert.ok(idxRes.success, `phase-plan-index failed: ${idxRes.error}`);
const idxOut = JSON.parse(idxRes.output);
const idxAmbiguous = Boolean(idxOut.ambiguous_matches);
@@ -390,7 +390,7 @@ describe('#2528 consumer parity — the eight sites migrated to matchPhaseDirs',
}
function json(cmd, cwd) {
const res = runGsdTools(cmd, cwd);
const res = runMsdTools(cmd, cwd);
assert.ok(res.success, `${cmd} failed: ${res.error}`);
return JSON.parse(res.output);
}
@@ -480,7 +480,7 @@ describe('#2528 consumer parity — the eight sites migrated to matchPhaseDirs',
// 8. milestone complete — mutating, own project. The guard blocks
// completion while any roadmap phase has no directory.
const completion = runGsdTools('milestone complete v1.0 --confirm', project(dirs, query));
const completion = runMsdTools('milestone complete v1.0 --confirm', project(dirs, query));
assert.strictEqual(
completion.success,
resolves,