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:
@@ -6,11 +6,11 @@ const assert = require('node:assert/strict');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const WORKFLOW = path.join(__dirname, '..', 'gsd-core', 'workflows', 'progress.md');
|
||||
const PROGRESS_STEPS_DIR = path.join(__dirname, '..', 'gsd-core', 'workflows', 'progress', 'steps');
|
||||
const WORKFLOW = path.join(__dirname, '..', 'msd-core', 'workflows', 'progress.md');
|
||||
const PROGRESS_STEPS_DIR = path.join(__dirname, '..', 'msd-core', 'workflows', 'progress', 'steps');
|
||||
|
||||
/**
|
||||
* progress.md was fragmented (#2994) into gsd-core/workflows/progress/steps/*.md.
|
||||
* progress.md was fragmented (#2994) into msd-core/workflows/progress/steps/*.md.
|
||||
* The mvp_display step (and its MVP-mode display contract) now lives in
|
||||
* progress/steps/mvp-display.md, only read at all when state:phase-mvp-mode is
|
||||
* true. Read host + every step file combined so this contract guard keeps
|
||||
@@ -82,10 +82,10 @@ const path = require('node:path');
|
||||
|
||||
const ROOT = path.join(__dirname, '..');
|
||||
|
||||
describe('#14: /gsd:progress --next --auto flag must be documented and propagated', () => {
|
||||
describe('#14: /msd:progress --next --auto flag must be documented and propagated', () => {
|
||||
test('progress.md <flags> section documents --auto flag', () => {
|
||||
const command = fs.readFileSync(
|
||||
path.join(ROOT, 'commands', 'gsd', 'progress.md'),
|
||||
path.join(ROOT, 'commands', 'msd', 'progress.md'),
|
||||
'utf8'
|
||||
);
|
||||
|
||||
@@ -97,7 +97,7 @@ describe('#14: /gsd:progress --next --auto flag must be documented and propagate
|
||||
|
||||
test('progress.md <process> block explicitly passes --auto through to next workflow', () => {
|
||||
const command = fs.readFileSync(
|
||||
path.join(ROOT, 'commands', 'gsd', 'progress.md'),
|
||||
path.join(ROOT, 'commands', 'msd', 'progress.md'),
|
||||
'utf8'
|
||||
);
|
||||
|
||||
@@ -119,7 +119,7 @@ describe('#14: /gsd:progress --next --auto flag must be documented and propagate
|
||||
|
||||
test('next.md show_and_execute step handles --auto to chain steps', () => {
|
||||
const workflow = fs.readFileSync(
|
||||
path.join(ROOT, 'gsd-core', 'workflows', 'next.md'),
|
||||
path.join(ROOT, 'msd-core', 'workflows', 'next.md'),
|
||||
'utf8'
|
||||
);
|
||||
|
||||
@@ -129,17 +129,17 @@ describe('#14: /gsd:progress --next --auto flag must be documented and propagate
|
||||
);
|
||||
});
|
||||
|
||||
test('next.md --auto chaining re-invokes /gsd:progress --next after step completion', () => {
|
||||
test('next.md --auto chaining re-invokes /msd:progress --next after step completion', () => {
|
||||
const workflow = fs.readFileSync(
|
||||
path.join(ROOT, 'gsd-core', 'workflows', 'next.md'),
|
||||
path.join(ROOT, 'msd-core', 'workflows', 'next.md'),
|
||||
'utf8'
|
||||
);
|
||||
|
||||
// The workflow must contain instructions to re-invoke /gsd:progress --next --auto
|
||||
// The workflow must contain instructions to re-invoke /msd:progress --next --auto
|
||||
// after the determined step completes, enabling the chain.
|
||||
assert.ok(
|
||||
workflow.includes('--next --auto'),
|
||||
'next.md must instruct re-invocation of /gsd:progress --next --auto after step completion to enable chaining'
|
||||
'next.md must instruct re-invocation of /msd:progress --next --auto after step completion to enable chaining'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user