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 @@
* All assertions drive the real exported functions and inspect typed return values.
*/
'use strict';
process.env.GSD_TEST_MODE = '1';
process.env.MSD_TEST_MODE = '1';
const { test, describe } = require('node:test');
const assert = require('node:assert/strict');
@@ -25,7 +25,7 @@ const fs = require('node:fs');
// ── Paths ─────────────────────────────────────────────────────────────────────
const REPO_ROOT = path.join(__dirname, '..');
const LIB = path.join(REPO_ROOT, 'gsd-core', 'bin', 'lib');
const LIB = path.join(REPO_ROOT, 'msd-core', 'bin', 'lib');
const PROBE_CORE_PATH = path.join(LIB, 'probe-core.cjs');
const EDGE_PROBE_PATH = path.join(LIB, 'edge-probe.cjs');
const CAPABILITIES_DIR = path.join(REPO_ROOT, 'capabilities');
@@ -74,7 +74,7 @@ const REPRESENTATIVE_VALIDATORS = {
// ── [happy] ADR-857 §"Verification substrate vs. plug-in tier": substrate loads and
// functions as CORE regardless of capability config with NO capabilities active ───
describe('ADR-857 predicate boundary: substrate loads as core (no capabilities active)', () => {
test('probe-core.cjs resolves from gsd-core/bin/lib (core path)', () => {
test('probe-core.cjs resolves from msd-core/bin/lib (core path)', () => {
// Confirm the module is loadable from the core lib path, not capabilities/
assert.ok(
fs.existsSync(PROBE_CORE_PATH),
@@ -84,7 +84,7 @@ describe('ADR-857 predicate boundary: substrate loads as core (no capabilities a
assert.ok(pc != null, 'probe-core.cjs must export a non-null module');
});
test('edge-probe.cjs resolves from gsd-core/bin/lib (core path)', () => {
test('edge-probe.cjs resolves from msd-core/bin/lib (core path)', () => {
assert.ok(
fs.existsSync(EDGE_PROBE_PATH),
`edge-probe.cjs must exist at core path ${EDGE_PROBE_PATH}`
@@ -267,12 +267,12 @@ describe('ADR-857 predicate boundary: no capabilities/edge-probe or prohibition-
// ── [happy] Predicate substrate lives in core (bin/lib), not in capabilities/ ──
describe('ADR-857 predicate boundary: substrate lives in core, not in capabilities/', () => {
test('probe-core.cjs is resolvable from gsd-core/bin/lib — the core module tier', () => {
test('probe-core.cjs is resolvable from msd-core/bin/lib — the core module tier', () => {
// Must resolve from core lib, not from any capability folder
const resolved = require.resolve(PROBE_CORE_PATH);
assert.ok(
resolved.includes(path.join('gsd-core', 'bin', 'lib')),
`probe-core.cjs must resolve from gsd-core/bin/lib (got: ${resolved})`
resolved.includes(path.join('msd-core', 'bin', 'lib')),
`probe-core.cjs must resolve from msd-core/bin/lib (got: ${resolved})`
);
assert.ok(
!resolved.includes('capabilities'),
@@ -280,11 +280,11 @@ describe('ADR-857 predicate boundary: substrate lives in core, not in capabiliti
);
});
test('edge-probe.cjs is resolvable from gsd-core/bin/lib — the core module tier', () => {
test('edge-probe.cjs is resolvable from msd-core/bin/lib — the core module tier', () => {
const resolved = require.resolve(EDGE_PROBE_PATH);
assert.ok(
resolved.includes(path.join('gsd-core', 'bin', 'lib')),
`edge-probe.cjs must resolve from gsd-core/bin/lib (got: ${resolved})`
resolved.includes(path.join('msd-core', 'bin', 'lib')),
`edge-probe.cjs must resolve from msd-core/bin/lib (got: ${resolved})`
);
assert.ok(
!resolved.includes('capabilities'),