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

@@ -12,27 +12,27 @@ const path = require('path');
// The underlying workflow (workflows/scan.md) remains functional.
describe('scan command', () => {
test('scan is now a --fast flag on map-codebase.md (#2790)', () => {
const p = path.join(__dirname, '..', 'commands', 'gsd', 'map-codebase.md');
assert.ok(fs.existsSync(p), 'commands/gsd/map-codebase.md should exist');
const p = path.join(__dirname, '..', 'commands', 'msd', 'map-codebase.md');
assert.ok(fs.existsSync(p), 'commands/msd/map-codebase.md should exist');
const content = fs.readFileSync(p, 'utf-8');
assert.ok(content.includes('--fast'), 'map-codebase.md must document --fast flag (absorbed scan)');
assert.ok(content.includes('description:'), 'Command must have description frontmatter');
});
test('workflow file exists', () => {
const p = path.join(__dirname, '..', 'gsd-core', 'workflows', 'scan.md');
assert.ok(fs.existsSync(p), 'gsd-core/workflows/scan.md should exist');
const p = path.join(__dirname, '..', 'msd-core', 'workflows', 'scan.md');
assert.ok(fs.existsSync(p), 'msd-core/workflows/scan.md should exist');
});
test('workflow has focus-to-document mapping table', () => {
const p = path.join(__dirname, '..', 'gsd-core', 'workflows', 'scan.md');
const p = path.join(__dirname, '..', 'msd-core', 'workflows', 'scan.md');
const content = fs.readFileSync(p, 'utf-8');
assert.ok(content.includes('Focus-to-Document Mapping') || content.includes('Focus | Documents'),
'Workflow should contain a focus-to-document mapping table');
});
test('all 5 focus areas are documented', () => {
const p = path.join(__dirname, '..', 'gsd-core', 'workflows', 'scan.md');
const p = path.join(__dirname, '..', 'msd-core', 'workflows', 'scan.md');
const content = fs.readFileSync(p, 'utf-8');
const focusAreas = ['tech', 'arch', 'quality', 'concerns', 'tech+arch'];
for (const area of focusAreas) {
@@ -42,16 +42,16 @@ describe('scan command', () => {
});
test('overwrite prompt is mentioned', () => {
const p = path.join(__dirname, '..', 'gsd-core', 'workflows', 'scan.md');
const p = path.join(__dirname, '..', 'msd-core', 'workflows', 'scan.md');
const content = fs.readFileSync(p, 'utf-8');
assert.ok(content.includes('Overwrite') || content.includes('overwrite'),
'Workflow should mention overwrite prompt for existing documents');
});
test('workflow references gsd-codebase-mapper', () => {
const p = path.join(__dirname, '..', 'gsd-core', 'workflows', 'scan.md');
test('workflow references msd-codebase-mapper', () => {
const p = path.join(__dirname, '..', 'msd-core', 'workflows', 'scan.md');
const content = fs.readFileSync(p, 'utf-8');
assert.ok(content.includes('gsd-codebase-mapper'),
'Workflow should reference the gsd-codebase-mapper agent');
assert.ok(content.includes('msd-codebase-mapper'),
'Workflow should reference the msd-codebase-mapper agent');
});
});