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

@@ -7,7 +7,7 @@ const assert = require('node:assert/strict');
const path = require('node:path');
const { readFileNormalized } = require('./helpers.cjs');
const WORKFLOW_DIR = path.join(__dirname, '..', 'gsd-core', 'workflows');
const WORKFLOW_DIR = path.join(__dirname, '..', 'msd-core', 'workflows');
const QUICK_PATH = path.join(WORKFLOW_DIR, 'quick.md');
const REVISION_PATH = path.join(WORKFLOW_DIR, 'quick', 'steps', 'plan-checker-loop.md');
@@ -25,13 +25,13 @@ function initialPlannerPrompt(quick) {
const step = sliceBetween(
quick,
'**Step 5: Spawn planner (quick mode)**',
'<!-- gsd:section id="plan-checker-loop"',
'<!-- msd:section id="plan-checker-loop"',
'initial planner step',
);
return sliceBetween(
step,
'Agent(\n prompt="\n',
'\n",\n subagent_type="gsd-planner"',
'\n",\n subagent_type="msd-planner"',
'initial planner prompt',
);
}
@@ -94,13 +94,13 @@ describe('quick workflow: plan:pre planner contributions (#3778)', () => {
assert.equal((quick.match(/loop render-hooks plan:pre --raw/g) || []).length, 1);
assert.equal((revision.match(/loop render-hooks plan:pre --raw/g) || []).length, 0);
const initialStep = quick.indexOf('**Step 5: Spawn planner (quick mode)**');
const revisionGate = quick.indexOf('<!-- gsd:section id="plan-checker-loop" when="flag:--validate" -->');
const revisionGate = quick.indexOf('<!-- msd:section id="plan-checker-loop" when="flag:--validate" -->');
assert.notEqual(initialStep, -1, 'standard initial planner step must exist');
assert.ok(initialStep < revisionGate, 'initial planner must run before the optional revision gate');
assert.match(quick, /--full.*\$VALIDATE_MODE=true/, '--full must enable the validate path');
assert.match(quick, /--validate.*\$VALIDATE_MODE=true/, '--validate must enable the validate path');
assert.match(revision, /Revision loop \(max 2 iterations\)/, 'validate path must contain revision loop');
assert.equal((quick.match(/subagent_type="gsd-planner"/g) || []).length, 1);
assert.equal((revision.match(/subagent_type="gsd-planner"/g) || []).length, 1);
assert.equal((quick.match(/subagent_type="msd-planner"/g) || []).length, 1);
assert.equal((revision.match(/subagent_type="msd-planner"/g) || []).length, 1);
});
});