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

@@ -12,7 +12,7 @@
* the fixture project root, so none of them ever reach this branch — deleting
* the seam call would fail nothing in those suites. The one existing test that
* DOES pass a cwd whose '.planning' is not directly present
* (tests/gsd-agent-isolation-guard.test.cjs's "#3045 MINOR" linked-worktree
* (tests/msd-agent-isolation-guard.test.cjs's "#3045 MINOR" linked-worktree
* test) runs against the REAL, already-built dev tree, where
* ensureRuntimeBuild() is a fast successful no-op — removing the seam call
* there would not change that test's outcome either, since the next require
@@ -27,7 +27,7 @@
* keyed by their real resolved absolute paths. This directly OBSERVES whether
* the seam call ran (a spy counter), rather than inferring it from a return
* value that a missing call could coincidentally also produce — and never
* touches gsd-core/bin/lib on disk. Injected cache entries are restored (or
* touches msd-core/bin/lib on disk. Injected cache entries are restored (or
* deleted, if absent beforehand) in `t.after()` so no other test sharing this
* worker process ever observes the substitution.
*
@@ -47,9 +47,9 @@ const { cleanup } = require('./helpers.cjs');
const REPO_ROOT = path.resolve(__dirname, '..');
const SENTINEL_MODULE_PATH = path.join(REPO_ROOT, 'hooks', 'lib', 'isolation-sentinel.js');
const SEAM_PATH = require.resolve(path.join(REPO_ROOT, 'gsd-core', 'bin', 'ensure-runtime-build.cjs'));
const WORKTREE_SAFETY_PATH = require.resolve(path.join(REPO_ROOT, 'gsd-core', 'bin', 'lib', 'worktree-safety.cjs'));
const PROJECT_ROOT_PATH = require.resolve(path.join(REPO_ROOT, 'gsd-core', 'bin', 'lib', 'project-root.cjs'));
const SEAM_PATH = require.resolve(path.join(REPO_ROOT, 'msd-core', 'bin', 'ensure-runtime-build.cjs'));
const WORKTREE_SAFETY_PATH = require.resolve(path.join(REPO_ROOT, 'msd-core', 'bin', 'lib', 'worktree-safety.cjs'));
const PROJECT_ROOT_PATH = require.resolve(path.join(REPO_ROOT, 'msd-core', 'bin', 'lib', 'project-root.cjs'));
const SENTINEL_RESOLVED = require.resolve(SENTINEL_MODULE_PATH);
/** Minimal shape Node's Module cache expects; only `.exports` is read by require(). */
@@ -104,7 +104,7 @@ describe('hooks/lib/isolation-sentinel.js: resolveSentinelRoot self-heal reachab
delete require.cache[SENTINEL_RESOLVED];
const { resolveSentinelRoot } = require(SENTINEL_MODULE_PATH);
const cwd = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-iso-sentinel-reach-'));
const cwd = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-iso-sentinel-reach-'));
t.after(() => cleanup(cwd));
assert.equal(
fs.existsSync(path.join(cwd, '.planning')),