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

@@ -8,7 +8,7 @@
* straight from a raw, unbuilt clone (a hook is required by name via
* `require('./lib/cli-exit.js')` relative to the hook's own __dirname), 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
* msd-core/bin/lib/ — reading the tracked build output would let a stale
* build produce a false green. This mirrors scripts/gen-scripts-cli-exit.cjs
* exactly (same compile-to-temp strategy, same banner/check/write shape);
* kept as a SIBLING script rather than folded into that one because
@@ -70,17 +70,17 @@ const BANNER = [
'// Why this copy exists: hooks/ runs straight from a raw, unbuilt clone — a',
'// shipped hook must be able to `require(\'./lib/cli-exit.js\')` relative to',
'// its own __dirname and terminate through `terminateNow` without depending',
'// on any build artifact. gsd-core/bin/lib/cli-exit.cjs is gitignored tsc',
'// on any build artifact. msd-core/bin/lib/cli-exit.cjs is gitignored tsc',
'// output and doubles as the build sentinel, so it cannot be required from',
'// here. `.js`, not `.cjs`, to match the hooks/lib/*.js convention. Hence one',
'// source, three emitted locations (gsd-core/bin/lib, scripts/lib, hooks/lib).',
'// source, three emitted locations (msd-core/bin/lib, scripts/lib, hooks/lib).',
'',
'',
].join('\n');
/** 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-hooks-cli-exit-'));
const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-hooks-cli-exit-'));
try {
execFileSync(
process.execPath,