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

@@ -25,30 +25,30 @@ const FAMILIES = [
{
name: 'agents',
dir: path.join(ROOT, 'agents'),
filter: (f) => /^gsd-.*\.md$/.test(f),
filter: (f) => /^msd-.*\.md$/.test(f),
toName: (f) => f.replace(/\.md$/, ''),
},
{
name: 'commands',
dir: path.join(ROOT, 'commands', 'gsd'),
dir: path.join(ROOT, 'commands', 'msd'),
filter: (f) => f.endsWith('.md'),
toName: (f) => '/gsd-' + f.replace(/\.md$/, ''),
toName: (f) => '/msd-' + f.replace(/\.md$/, ''),
},
{
name: 'workflows',
dir: path.join(ROOT, 'gsd-core', 'workflows'),
dir: path.join(ROOT, 'msd-core', 'workflows'),
filter: (f) => f.endsWith('.md'),
toName: (f) => f,
},
{
name: 'references',
dir: path.join(ROOT, 'gsd-core', 'references'),
dir: path.join(ROOT, 'msd-core', 'references'),
filter: (f) => f.endsWith('.md'),
toName: (f) => f,
},
{
name: 'cli_modules',
dir: path.join(ROOT, 'gsd-core', 'bin', 'lib'),
dir: path.join(ROOT, 'msd-core', 'bin', 'lib'),
filter: (f) => f.endsWith('.cjs'),
toName: (f) => f,
},
@@ -64,8 +64,8 @@ const FAMILIES = [
* One-level-nested families (#2996, epic #1671 Phase 6.5).
*
* `buildManifest`'s flat `readdirSync` + `isFile()` walk cannot see a workflow's
* own sub-files, so `gsd-core/workflows/<wf>/steps/*.md` (the fragment tree
* extracted by Phases 6.1-6.3) and `gsd-core/workflows/<wf>/modes/*.md` (the
* own sub-files, so `msd-core/workflows/<wf>/steps/*.md` (the fragment tree
* extracted by Phases 6.1-6.3) and `msd-core/workflows/<wf>/modes/*.md` (the
* #717 progressive-disclosure pattern) shipped invisible to both the manifest
* and `docs/INVENTORY.md` — exactly the `DEFECT.INVENTORY-DRIFT` class.
*
@@ -81,25 +81,25 @@ const FAMILIES = [
const NESTED_FAMILIES = [
{
name: 'workflow_modes',
root: path.join(ROOT, 'gsd-core', 'workflows'),
root: path.join(ROOT, 'msd-core', 'workflows'),
subdir: 'modes',
filter: (f) => f.endsWith('.md'),
},
{
name: 'workflow_steps',
root: path.join(ROOT, 'gsd-core', 'workflows'),
root: path.join(ROOT, 'msd-core', 'workflows'),
subdir: 'steps',
filter: (f) => f.endsWith('.md'),
},
{
name: 'workflow_detail',
root: path.join(ROOT, 'gsd-core', 'workflows'),
root: path.join(ROOT, 'msd-core', 'workflows'),
subdir: 'detail',
filter: (f) => f.endsWith('.md'),
},
{
name: 'workflow_templates',
root: path.join(ROOT, 'gsd-core', 'workflows'),
root: path.join(ROOT, 'msd-core', 'workflows'),
subdir: 'templates',
filter: (f) => f.endsWith('.md'),
},
@@ -133,7 +133,7 @@ function statOrNull(p) {
* Collect `<dir>/<subdir>/<file>` entries as `<subdir>/<file>` keys — ONE level of
* subdirectory beneath `dir` itself, where the subdirectory's NAME is the thing being
* collected (unlike `collectNested`, there is no fixed subdir name to look for; every
* child directory of `dir` is scanned). This is what makes `gsd-core/bin/lib/<subdir>/*.cjs`
* child directory of `dir` is scanned). This is what makes `msd-core/bin/lib/<subdir>/*.cjs`
* (e.g. `health-diagnostic-rules/`, `installer-migrations/`, `host-integration-adapters/`,
* `observability/`) visible to the `cli_modules` family, mirroring the shape
* `docs/INVENTORY.md`'s CLI Modules table already uses for these files.