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:
@@ -12,25 +12,25 @@ const path = require('path');
|
||||
// exists for direct invocation and is tested below.
|
||||
describe('analyze-dependencies command', () => {
|
||||
test('analyze-dependencies command file was consolidated away (deleted in #2790)', () => {
|
||||
// The standalone /gsd-analyze-dependencies command was removed as a dead skill in #2790.
|
||||
// The standalone /msd-analyze-dependencies command was removed as a dead skill in #2790.
|
||||
// The underlying workflow (workflows/analyze-dependencies.md) remains functional.
|
||||
const deleted = path.join(__dirname, '..', 'commands', 'gsd', 'analyze-dependencies.md');
|
||||
const deleted = path.join(__dirname, '..', 'commands', 'msd', 'analyze-dependencies.md');
|
||||
assert.ok(!fs.existsSync(deleted), 'analyze-dependencies.md should have been deleted in #2790');
|
||||
});
|
||||
|
||||
// Legacy placeholder: was previously a separate test; now just passes trivially.
|
||||
test('workflow file is sufficient without a standalone command file', () => {
|
||||
const p = path.join(__dirname, '..', 'gsd-core', 'workflows', 'analyze-dependencies.md');
|
||||
const p = path.join(__dirname, '..', 'msd-core', 'workflows', 'analyze-dependencies.md');
|
||||
assert.ok(fs.existsSync(p), 'workflows/analyze-dependencies.md should still exist');
|
||||
});
|
||||
|
||||
test('workflow file exists', () => {
|
||||
const p = path.join(__dirname, '..', 'gsd-core', 'workflows', 'analyze-dependencies.md');
|
||||
const p = path.join(__dirname, '..', 'msd-core', 'workflows', 'analyze-dependencies.md');
|
||||
assert.ok(fs.existsSync(p), 'workflows/analyze-dependencies.md should exist');
|
||||
});
|
||||
|
||||
test('workflow describes dependency analysis approach', () => {
|
||||
const p = path.join(__dirname, '..', 'gsd-core', 'workflows', 'analyze-dependencies.md');
|
||||
const p = path.join(__dirname, '..', 'msd-core', 'workflows', 'analyze-dependencies.md');
|
||||
const content = fs.readFileSync(p, 'utf-8');
|
||||
assert.ok(content.includes('ROADMAP') || content.includes('phase'),
|
||||
'workflow should reference ROADMAP.md/phases');
|
||||
@@ -41,7 +41,7 @@ describe('analyze-dependencies command', () => {
|
||||
});
|
||||
|
||||
test('workflow mentions file overlap detection', () => {
|
||||
const p = path.join(__dirname, '..', 'gsd-core', 'workflows', 'analyze-dependencies.md');
|
||||
const p = path.join(__dirname, '..', 'msd-core', 'workflows', 'analyze-dependencies.md');
|
||||
const content = fs.readFileSync(p, 'utf-8');
|
||||
assert.ok(
|
||||
content.includes('file') && (content.includes('overlap') || content.includes('conflict')),
|
||||
@@ -49,15 +49,15 @@ describe('analyze-dependencies command', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('docs/COMMANDS.md does not document the consolidated-away /gsd-analyze-dependencies entry', () => {
|
||||
test('docs/COMMANDS.md does not document the consolidated-away /msd-analyze-dependencies entry', () => {
|
||||
// #2790 deleted the standalone command file. COMMANDS.md must no longer advertise it.
|
||||
// The underlying capability lives in workflows/analyze-dependencies.md and is invoked
|
||||
// from consolidated entry points (see gsd-phase / gsd-progress workflow chains).
|
||||
// from consolidated entry points (see msd-phase / msd-progress workflow chains).
|
||||
const p = path.join(__dirname, '..', 'docs', 'COMMANDS.md');
|
||||
if (!fs.existsSync(p)) return;
|
||||
const content = fs.readFileSync(p, 'utf-8');
|
||||
// Look only for the section header form so we tolerate workflow-internal references.
|
||||
assert.ok(!/^### `\/gsd-analyze-dependencies`/m.test(content),
|
||||
'COMMANDS.md should not document the removed /gsd-analyze-dependencies command');
|
||||
assert.ok(!/^### `\/msd-analyze-dependencies`/m.test(content),
|
||||
'COMMANDS.md should not document the removed /msd-analyze-dependencies command');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user