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:
@@ -37,10 +37,10 @@ const {
|
||||
resolveLoopHooks,
|
||||
renderLoopHooks,
|
||||
CANONICAL_POINTS,
|
||||
} = require('../gsd-core/bin/lib/loop-resolver.cjs');
|
||||
} = require('../msd-core/bin/lib/loop-resolver.cjs');
|
||||
|
||||
// Real registry (compiled from capabilities/ at build time)
|
||||
const realRegistry = require('../gsd-core/bin/lib/capability-registry.cjs');
|
||||
const realRegistry = require('../msd-core/bin/lib/capability-registry.cjs');
|
||||
|
||||
// ── Helpers from test harness ─────────────────────────────────────────────────
|
||||
|
||||
@@ -48,7 +48,7 @@ const { cleanup } = require('./helpers.cjs');
|
||||
|
||||
// ── Paths ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
const GSD_TOOLS = path.join(__dirname, '..', 'gsd-core', 'bin', 'gsd-tools.cjs');
|
||||
const MSD_TOOLS = path.join(__dirname, '..', 'msd-core', 'bin', 'msd-tools.cjs');
|
||||
|
||||
// ── Config fixtures ───────────────────────────────────────────────────────────
|
||||
|
||||
@@ -106,24 +106,24 @@ function buildTddOnlyConfig() {
|
||||
// ── Helpers ───────────────────────────────────────────────────────────────────
|
||||
|
||||
/**
|
||||
* A single gsd-tools.cjs CLI subcommand invocation via execFileSync, no
|
||||
* A single msd-tools.cjs CLI subcommand invocation via execFileSync, no
|
||||
* fan-out. Same class as tests/helpers/timeouts.cjs's
|
||||
* LOOP_HOOK_POINT_CLI_TIMEOUT_MS, but at half that constant's pre-existing
|
||||
* bound -- not equalized without bench data. Kept file-local: this batch's
|
||||
* only site at this exact class+value.
|
||||
*/
|
||||
const GSD_TOOLS_CLI_TIMEOUT_MS = 30000;
|
||||
const MSD_TOOLS_CLI_TIMEOUT_MS = 30000;
|
||||
|
||||
/**
|
||||
* Run gsd-tools subprocess and return { exitCode, output }.
|
||||
* Run msd-tools subprocess and return { exitCode, output }.
|
||||
* Does NOT throw on non-zero exit — let the test assert.
|
||||
*/
|
||||
function runCli(args, cwd) {
|
||||
try {
|
||||
const stdout = execFileSync(process.execPath, [GSD_TOOLS, ...args], {
|
||||
const stdout = execFileSync(process.execPath, [MSD_TOOLS, ...args], {
|
||||
cwd,
|
||||
encoding: 'utf-8',
|
||||
timeout: GSD_TOOLS_CLI_TIMEOUT_MS,
|
||||
timeout: MSD_TOOLS_CLI_TIMEOUT_MS,
|
||||
});
|
||||
return { exitCode: 0, output: stdout.trim() };
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user