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

@@ -1,6 +1,6 @@
# Test Examples
This document shows the kinds of tests GSD expects for high-risk changes. Use it with the testing standards in [`CONTRIBUTING.md`](CONTRIBUTING.md).
This document shows the kinds of tests MSD expects for high-risk changes. Use it with the testing standards in [`CONTRIBUTING.md`](CONTRIBUTING.md).
The examples are intentionally small. Copy the pattern, not the exact assertion text.
@@ -51,13 +51,13 @@ const cases = [
];
for (const scenario of cases) {
test(`gsd-tools rejects ${scenario.name}`, (t) => {
test(`msd-tools rejects ${scenario.name}`, (t) => {
const projectDir = createTempProject('cli-negative-');
t.after(() => cleanup(projectDir));
const result = spawnSync(
process.execPath,
[path.join(__dirname, '..', 'gsd-core', 'bin', 'gsd-tools.cjs'), ...scenario.args, '--json'],
[path.join(__dirname, '..', 'msd-core', 'bin', 'msd-tools.cjs'), ...scenario.args, '--json'],
{ cwd: projectDir, encoding: 'utf8' },
);
@@ -97,7 +97,7 @@ test('worker run leaves a valid cache', (t) => {
```javascript
const { PROBE_TIMEOUT_MS } = require('./helpers/timeouts.cjs');
test('gsd-tools reports the resolved config', (t) => {
test('msd-tools reports the resolved config', (t) => {
const r = runNode([TOOLS_PATH, 'config', '--json'], { timeoutMs: PROBE_TIMEOUT_MS });
assert.equal(r.exitCode, 0);
});
@@ -106,7 +106,7 @@ test('gsd-tools reports the resolved config', (t) => {
**Compliant — a genuinely distinct class: name it, and size it relative to what it wraps:**
```javascript
const { NPM_VIEW_TIMEOUT_MS } = require('../gsd-core/bin/check-latest-version.cjs');
const { NPM_VIEW_TIMEOUT_MS } = require('../msd-core/bin/check-latest-version.cjs');
// Real headroom beyond the inner timeout the worker itself is bounded by — not a
// second independent guess. See TESTING-STANDARDS.md's "No ad hoc timeout literals".
@@ -231,7 +231,7 @@ test('installer refuses symlink escape outside target root', (t) => {
assert.equal(result.ok, false);
assert.equal(result.reason, 'symlink_escape');
assert.equal(fs.existsSync(path.join(outside, 'gsd-prompt-guard.js')), false);
assert.equal(fs.existsSync(path.join(outside, 'msd-prompt-guard.js')), false);
});
```