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

@@ -35,26 +35,26 @@ const { LOOP_HOOK_POINT_CLI_TIMEOUT_MS } = require('./helpers/timeouts.cjs');
const {
resolveLoopHooks,
renderLoopHooks,
} = require('../gsd-core/bin/lib/loop-resolver.cjs');
const realRegistry = require('../gsd-core/bin/lib/capability-registry.cjs');
} = require('../msd-core/bin/lib/loop-resolver.cjs');
const realRegistry = require('../msd-core/bin/lib/capability-registry.cjs');
// ── CLI path ───────────────────────────────────────────────────────────────────
const GSD_TOOLS = path.join(__dirname, '..', 'gsd-core', 'bin', 'gsd-tools.cjs');
const MSD_TOOLS = path.join(__dirname, '..', 'msd-core', 'bin', 'msd-tools.cjs');
/**
* Invoke gsd-tools CLI with spawnSync and return the parsed result.
* Invoke msd-tools CLI with spawnSync and return the parsed result.
*
* #4204: uses helpers.cjs's installSpawnEnv() rather than a hand-rolled env,
* because it sandboxes HOME (so capability-loader's overlayRoots and
* resolveCapabilityRuntimeState's registry load — both of which fall back to
* os.homedir() — never reach the real machine) AND clears the full
* config-location env list (GSD_HOME, GSD_RUNTIME, CLAUDE_CONFIG_DIR, etc.),
* not just a GSD_-prefix strip. Without it, a capability genuinely installed
* config-location env list (MSD_HOME, MSD_RUNTIME, CLAUDE_CONFIG_DIR, etc.),
* not just a MSD_-prefix strip. Without it, a capability genuinely installed
* on the host running the suite (e.g. beads, markdown-linting) leaked into
* the verify:post registry and inflated the exact-count assertions below.
*/
function runCli(args, cwd) {
const result = spawnSync(process.execPath, [GSD_TOOLS, ...args], {
const result = spawnSync(process.execPath, [MSD_TOOLS, ...args], {
cwd,
encoding: 'utf8',
env: installSpawnEnv(),