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:
@@ -21,7 +21,7 @@
|
||||
* different documents, which defeats diffing/reviewing a report in CI.
|
||||
*
|
||||
* REPRO LINES ARE ALWAYS STRINGS: `step.repro` is either a real,
|
||||
* copy-pasteable `cd <dir> && node <absolute path to gsd-tools.cjs> ...`
|
||||
* copy-pasteable `cd <dir> && node <absolute path to msd-tools.cjs> ...`
|
||||
* command (plus a trailing `#` shell-comment note about the pinned clock and
|
||||
* cleared env — see `buildRepro`), or a string clearly prefixed
|
||||
* `NOT RUNNABLE: ...` explaining why (the tree was not preserved, or the
|
||||
@@ -42,7 +42,7 @@ const REPORT_VERSION = 1;
|
||||
*
|
||||
* The emitted `node` path is ABSOLUTE (resolved from this file's own
|
||||
* location via `__dirname`), never the repo-relative
|
||||
* `gsd-core/bin/gsd-tools.cjs` — `preservedDir` is a temp project directory
|
||||
* `msd-core/bin/msd-tools.cjs` — `preservedDir` is a temp project directory
|
||||
* unrelated to the repo checkout, so `cd`ing into it first and then
|
||||
* resolving a repo-relative path throws `MODULE_NOT_FOUND` (#3597).
|
||||
*
|
||||
@@ -54,16 +54,16 @@ function buildRepro({ preservedDir, argv }) {
|
||||
return 'NOT RUNNABLE: this step declared no CLI invocation (no "run" array) — there is nothing to reproduce.';
|
||||
}
|
||||
if (!preservedDir) {
|
||||
return 'NOT RUNNABLE: the scenario tree was not preserved for this run — re-run with `--keep` (or `GSD_QA_KEEP=1`) to get a reproducible command.';
|
||||
return 'NOT RUNNABLE: the scenario tree was not preserved for this run — re-run with `--keep` (or `MSD_QA_KEEP=1`) to get a reproducible command.';
|
||||
}
|
||||
const gsdToolsPath = path.resolve(__dirname, '..', '..', 'gsd-core', 'bin', 'gsd-tools.cjs');
|
||||
const msdToolsPath = path.resolve(__dirname, '..', '..', 'msd-core', 'bin', 'msd-tools.cjs');
|
||||
// The trailing `# ...` is a shell comment, not part of the command: pasting
|
||||
// the whole line (including the note) into a shell still runs correctly,
|
||||
// since everything from `#` to end-of-line is ignored. This keeps the
|
||||
// string a single copy-pasteable line while telling a human reader the
|
||||
// walk also pins a clock and clears ambient env vars this repro cannot.
|
||||
return `cd ${preservedDir} && node ${gsdToolsPath} --json-errors ${argv.join(' ')}`
|
||||
+ ' # note: the walk also pins GSD_NOW_MS and clears ambient GSD_* vars, so results may differ slightly';
|
||||
return `cd ${preservedDir} && node ${msdToolsPath} --json-errors ${argv.join(' ')}`
|
||||
+ ' # note: the walk also pins MSD_NOW_MS and clears ambient MSD_* vars, so results may differ slightly';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user