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

@@ -2,7 +2,7 @@
* pattern.cts — the pattern-construction seam (ADR-3212 §1, epic #3212 Phase 1,
* #3412).
*
* Source in src/pattern.cts, compiled to gsd-core/bin/lib/pattern.cjs
* Source in src/pattern.cts, compiled to msd-core/bin/lib/pattern.cjs
* (gitignored), per the repo's ADR-457 build-at-publish convention.
*
* Sole owner of building a `RegExp` from a runtime value. `escapeRegex`
@@ -12,7 +12,7 @@
* use (ADR §1).
*
* Counts, corrected during implementation (design doc "Ground truth" #1;
* .gsd/phase/chore-3412-pattern-seam/40-design.md): the ADR's census counted
* .msd/phase/chore-3412-pattern-seam/40-design.md): the ADR's census counted
* ~12 *named* helper functions. The shape-based lint guard
* (eslint-rules/no-adhoc-regex-escape.cjs), which matches the escape-class
* SHAPE wherever it appears rather than named-function bodies, found 27
@@ -41,13 +41,13 @@
* migration-equivalence property sweep in tests/pattern.test.cjs (rows 15-17).
*/
// re2js is vendored, not an npm dependency at runtime: gsd-core/bin/** is
// re2js is vendored, not an npm dependency at runtime: msd-core/bin/** is
// copied into installed trees that have no node_modules, so this module must
// carry zero external requires (eslint-rules/no-external-require-in-bin.cjs
// enforces it). See gsd-core/bin/lib/vendor/README.md.
// enforces it). See msd-core/bin/lib/vendor/README.md.
import { RE2JS } from './vendor/re2js.cjs';
// #3498: RegExp.escape is ES2026 (first shipped in Node 24). The gsd-test
// #3498: RegExp.escape is ES2026 (first shipped in Node 24). The msd-test
// matrix still runs a linux-node22 lane, and the build itself consumes this
// module (scripts/gen-loop-host-contract.cjs), so a hard dependency breaks
// `npm run build` on Node 22. Prefer the built-in when present; otherwise use