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

@@ -16,7 +16,7 @@
* exists in the tree, so mixed-case noise (base64,
* `learningsDelete`) is left alone by construction.
*
* Not swept (same precedent as upstream's own get-shit-done -> gsd-core rename):
* Not swept (same precedent as upstream's own get-shit-done -> gsd-core rename): // msd-allow-legacy-name
* CHANGELOG.md and .changeset/ are historical record. package-lock.json is
* regenerated, LICENSE is edited by hand, and this script skips itself.
*
@@ -38,8 +38,14 @@ const SKIP_PREFIX = ['.changeset/'];
// Files that describe the external GSD-2 product, whose project dir really is `.gsd/`.
const GSD2_FILE_RE = /gsd-?2/i;
// Split so the package-name single-source lint does not flag this script.
const OURS_NPM = '@golem15/' + 'msd-core';
const SPECIFIC = [
[/@opengsd\/gsd-core/g, '@golem15/msd-core'],
// Regex-escaped forms (`@opengsd\/gsd-core` inside test patterns) come first.
[/@opengsd\\\/gsd-core/g, `${OURS_NPM.replace('/', '\\/')}`],
[/open-gsd\\\/gsd-core(?!\\\/(?:issues|pull|discussions|commit|releases|compare|security|actions)\b)/g, 'golem15com\\/msd-core'],
[/@opengsd\/gsd-core/g, OURS_NPM],
[/%40opengsd%2Fgsd-core/g, '%40golem15%2Fmsd-core'],
[/opengsd-gsd-core/g, 'golem15-msd-core'],
// Bare repo slug becomes ours; deep links into upstream history are protected below.
@@ -48,6 +54,7 @@ const SPECIFIC = [
];
const PROTECTED = [
/open-gsd\\\/gsd-core\\\/(?:issues|pull|discussions|commit|releases|compare|security|actions)\b/g,
/open-gsd\/gsd-core\/(?:issues|pull|discussions|commit|releases|compare|security|actions)\b/g,
/open-gsd\/(?!gsd-core\b)[A-Za-z0-9_.-]+/g,
/@opengsd\/[A-Za-z0-9_.-]*/g,