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

@@ -4,8 +4,8 @@ const fs = require('node:fs');
const path = require('node:path');
const os = require('node:os');
const fc = require('fast-check');
const { evaluatePredicate } = require('../gsd-core/bin/lib/gate-predicate-evaluator.cjs');
const { buildPredicateDeps } = require('../gsd-core/bin/lib/check-command-router.cjs');
const { evaluatePredicate } = require('../msd-core/bin/lib/gate-predicate-evaluator.cjs');
const { buildPredicateDeps } = require('../msd-core/bin/lib/check-command-router.cjs');
const dummyCtx = { cwd: '/fake/project' };
const basePredicate = {
@@ -153,7 +153,7 @@ test('property: stringified scalar frontmatter equals its JSON scalar declaratio
});
test('evaluatePredicate with real buildPredicateDeps resolves project-level .planning/WINDOWS.md', () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-test-pred-'));
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-test-pred-'));
try {
const planningDir = path.join(tmpDir, '.planning');
fs.mkdirSync(planningDir, { recursive: true });
@@ -173,7 +173,7 @@ test('evaluatePredicate with real buildPredicateDeps resolves project-level .pla
const res = evaluatePredicate(pred, ctx, deps);
assert.strictEqual(res.block, false, 'real buildPredicateDeps must find .planning/WINDOWS.md and pass on open_count: 0');
const parentDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-test-pred-parent-'));
const parentDir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-test-pred-parent-'));
try {
const projectDir = path.join(parentDir, 'project');
fs.mkdirSync(projectDir);
@@ -191,7 +191,7 @@ test('evaluatePredicate with real buildPredicateDeps resolves project-level .pla
});
test('buildPredicateDeps reports an artifact removed before its frontmatter read', () => {
const missingPath = path.join(os.tmpdir(), 'gsd-test-predicate-artifact-missing.md');
const missingPath = path.join(os.tmpdir(), 'msd-test-predicate-artifact-missing.md');
assert.throws(
() => buildPredicateDeps().readFrontmatter(missingPath),
/predicate artifact disappeared before it could be read/,