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

@@ -278,7 +278,7 @@ function extractBaselineTree(ref, repoRoot, subdir = '') {
} catch {
return null;
}
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-audit-baseline-'));
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-audit-baseline-'));
fs.writeFileSync(path.join(dir, 'package.json'), pkgJson);
fs.writeFileSync(path.join(dir, 'package-lock.json'), lockJson);
return dir;
@@ -300,7 +300,7 @@ const NULL_SHA = '0000000000000000000000000000000000000000';
* 2. GITHUB_BASE_REF (GitHub Actions sets this on pull_request events)
* resolved against the LIVE origin/<branch> tip. Only reached if
* AUDIT_BASELINE_REF wasn't set -- e.g. a workflow that forgot to
* wire it. origin/<branch> can advance mid-run (see the GSD_EMITTED_
* wire it. origin/<branch> can advance mid-run (see the MSD_EMITTED_
* BASE precedent in test.yml), so this is a degraded fallback, not
* the intended path for pull_request events in this repo's own CI.
* 3. On a `push` event, `HEAD~1` -- correct ONLY when the push added
@@ -312,10 +312,10 @@ const NULL_SHA = '0000000000000000000000000000000000000000';
* introduced, silently marking it "pre-existing". CI never reaches
* this branch (AUDIT_BASELINE_REF is always set by test.yml for
* push events); it exists only for out-of-band invocations (e.g.
* gsd-test) that don't set any of the above.
* 4. `origin/next`, else a plain local branch named `next` (gsd-test's
* msd-test) that don't set any of the above.
* 4. `origin/next`, else a plain local branch named `next` (msd-test's
* sandbox fetches the base as a local branch, not a remote-tracking
* ref -- see gsd-test-merges-into-LOCAL-base-branch in this repo's
* ref -- see msd-test-merges-into-LOCAL-base-branch in this repo's
* own operational notes), if either exists locally (this repo's
* integration branch -- matches DEFAULT_BASE in
* scripts/changeset/lint.cjs).