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

@@ -11,21 +11,21 @@ const assert = require('node:assert/strict');
const fs = require('fs');
const path = require('path');
const WORKFLOW_PATH = path.join(__dirname, '..', 'gsd-core', 'workflows', 'autonomous.md');
const WORKFLOW_PATH = path.join(__dirname, '..', 'msd-core', 'workflows', 'autonomous.md');
const UI_DESIGN_CONTRACT_REF_PATH = path.join(
__dirname, '..', 'gsd-core', 'references', 'autonomous-ui-design-contract.md'
__dirname, '..', 'msd-core', 'references', 'autonomous-ui-design-contract.md'
);
/**
* #2994 fragmentization moved §3a.5's body out of autonomous.md into
* gsd-core/references/autonomous-ui-design-contract.md, leaving an
* msd-core/references/autonomous-ui-design-contract.md, leaving an
* unconditional `Read and execute:` pointer in the host. Splice the
* reference file's content back in at the pointer's position so §3a.5
* slicing/ordering assertions still see the real step body.
*/
function readAutonomousCombined() {
const raw = fs.readFileSync(WORKFLOW_PATH, 'utf-8');
const pointerRe = /Read and execute: `\$HOME\/\.claude\/gsd-core\/references\/autonomous-ui-design-contract\.md`/;
const pointerRe = /Read and execute: `\$HOME\/\.claude\/msd-core\/references\/autonomous-ui-design-contract\.md`/;
assert.ok(pointerRe.test(raw), 'autonomous.md must still contain the §3a.5 reference pointer');
const refContent = fs.readFileSync(UI_DESIGN_CONTRACT_REF_PATH, 'utf-8');
return raw.replace(pointerRe, refContent);
@@ -83,11 +83,11 @@ describe('autonomous workflow ui-phase and ui-review integration (#1375)', () =>
);
});
test('§3a.5 constructs skill via gsd-${ref.skill} prefix (capability-driven dispatch)', () => {
test('§3a.5 constructs skill via msd-${ref.skill} prefix (capability-driven dispatch)', () => {
const section = getSection3a5(content);
assert.ok(
section.includes('gsd-${ref.skill}'),
'§3a.5 must construct skill name via `gsd-${ref.skill}` prefix (matches §3d.5 style)'
section.includes('msd-${ref.skill}'),
'§3a.5 must construct skill name via `msd-${ref.skill}` prefix (matches §3d.5 style)'
);
});
@@ -214,7 +214,7 @@ describe('autonomous workflow ui-phase and ui-review integration (#1375)', () =>
test('UI review step dispatches loop render-hooks verify:post', () => {
// Phase 6 cutover: §3d.5 now dispatches render-hooks verify:post instead of
// inlining a direct skill="gsd-ui-review" call.
// inlining a direct skill="msd-ui-review" call.
const reviewSection = content.slice(content.indexOf('3d.5'));
assert.ok(
reviewSection.includes('loop render-hooks verify:post'),
@@ -222,9 +222,9 @@ describe('autonomous workflow ui-phase and ui-review integration (#1375)', () =>
);
});
test('UI review step constructs skill via gsd- prefix dispatch and is non-blocking', () => {
test('UI review step constructs skill via msd- prefix dispatch and is non-blocking', () => {
// Phase 6 cutover: §3d.5 dispatches loop render-hooks verify:post, invokes skills via
// gsd-${ref.skill} prefix, gates on UI_SPEC_FILE for consumes:UI-SPEC.md hooks,
// msd-${ref.skill} prefix, gates on UI_SPEC_FILE for consumes:UI-SPEC.md hooks,
// and is explicitly advisory/non-blocking.
// All four properties must be present within the §3d.5 section itself.
const sectionStart = content.indexOf('3d.5');
@@ -239,8 +239,8 @@ describe('autonomous workflow ui-phase and ui-review integration (#1375)', () =>
'§3d.5 must dispatch `loop render-hooks verify:post` to resolve active capability hooks'
);
assert.ok(
reviewSection.includes('gsd-${ref.skill}'),
'§3d.5 must construct skill name via `gsd-${ref.skill}` prefix (capability-driven dispatch)'
reviewSection.includes('msd-${ref.skill}'),
'§3d.5 must construct skill name via `msd-${ref.skill}` prefix (capability-driven dispatch)'
);
assert.ok(
reviewSection.includes('UI_SPEC_FILE'),