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

@@ -4,7 +4,7 @@
* compile of src/cli-exit.cts.
*
* ADR-3889 Phase 0 (#3904): scripts/lib/cli-exit.cjs used to be a hand-written
* fork of gsd-core/bin/lib/cli-exit.cjs (the compiled artifact of
* fork of msd-core/bin/lib/cli-exit.cjs (the compiled artifact of
* src/cli-exit.cts). The two drifted — only the .cts copy routed a
* non-ExitError throw through getJsonErrorMode() to emit a structured
* { ok:false, reason, message } envelope. This script makes scripts/lib/cli-exit.cjs
@@ -14,7 +14,7 @@
* scripts/ runs straight from the repo checkout and must work on an unbuilt
* clone (scripts/check-env.cjs requires this file before any build runs), so
* the generated file is compiled to a THROWAWAY outDir rather than read from
* gsd-core/bin/lib/ — reading the tracked build output would let a stale build
* msd-core/bin/lib/ — reading the tracked build output would let a stale build
* produce a false green.
*
* Usage:
@@ -58,7 +58,7 @@ const BANNER = [
'//',
'// Why this copy exists: scripts/ runs straight from the repo checkout and must',
'// work on an unbuilt clone — 64+ scripts require this file, including',
'// check-env.cjs, which runs before any build. gsd-core/bin/lib/cli-exit.cjs is',
'// check-env.cjs, which runs before any build. msd-core/bin/lib/cli-exit.cjs is',
'// gitignored tsc output and doubles as the build sentinel, so it cannot be',
'// required from here. Hence one source, two emitted locations.',
'',
@@ -67,7 +67,7 @@ const BANNER = [
/** Compile the whole project to a throwaway outDir so the work tree is untouched. */
function compileToTemp() {
const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-scripts-cli-exit-'));
const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-scripts-cli-exit-'));
try {
execFileSync(
process.execPath,