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

@@ -3,7 +3,7 @@
// runtime loads — testing text content tests the deployed contract.
/**
* Tests for --forensic flag on /gsd-progress (#2189)
* Tests for --forensic flag on /msd-progress (#2189)
*
* The --forensic flag appends a 6-check integrity audit after the standard
* progress report. Default behavior (no flag) is unchanged.
@@ -15,26 +15,26 @@ const fs = require('fs');
const path = require('path');
// #2994 fragmentization moved the --forensic-gated forensic_audit step out of
// progress.md into gsd-core/workflows/progress/steps/forensic-audit.md behind
// progress.md into msd-core/workflows/progress/steps/forensic-audit.md behind
// a section marker. Tests that need the step BODY read that step file
// directly (it is the sole remaining source of the step's content); the
// step-presence check below is the only one that must also confirm the host
// still wires up the marker that reads it.
const FORENSIC_AUDIT_STEP_PATH = path.join(
__dirname, '..', 'gsd-core', 'workflows', 'progress', 'steps', 'forensic-audit.md'
__dirname, '..', 'msd-core', 'workflows', 'progress', 'steps', 'forensic-audit.md'
);
describe('#2189: progress --forensic flag', () => {
test('progress command argument-hint includes --forensic', () => {
const command = fs.readFileSync(
path.join(__dirname, '..', 'commands', 'gsd', 'progress.md'), 'utf8'
path.join(__dirname, '..', 'commands', 'msd', 'progress.md'), 'utf8'
);
assert.ok(command.includes('--forensic'), 'argument-hint should include --forensic');
});
test('progress workflow has a forensic_audit step', () => {
const workflow = fs.readFileSync(
path.join(__dirname, '..', 'gsd-core', 'workflows', 'progress.md'), 'utf8'
path.join(__dirname, '..', 'msd-core', 'workflows', 'progress.md'), 'utf8'
);
const step = fs.readFileSync(FORENSIC_AUDIT_STEP_PATH, 'utf8');
assert.ok(
@@ -114,13 +114,13 @@ describe('#2189: progress --forensic flag', () => {
);
});
test('COMMANDS.md documents --forensic flag for gsd-progress', () => {
test('COMMANDS.md documents --forensic flag for msd-progress', () => {
const commands = fs.readFileSync(
path.join(__dirname, '..', 'docs', 'COMMANDS.md'), 'utf8'
);
assert.ok(
commands.includes('--forensic'),
'COMMANDS.md should document --forensic flag for gsd-progress'
'COMMANDS.md should document --forensic flag for msd-progress'
);
});
});
@@ -128,7 +128,7 @@ describe('#2189: progress --forensic flag', () => {
/**
* Regression — issue #1107
*
* /gsd-progress reported a phase as complete and routed to the next phase even
* /msd-progress reported a phase as complete and routed to the next phase even
* when its VERIFICATION.md ended `human_needed` / `gaps_found`, because routing
* derived completeness from plan/summary counts only and never consulted the
* `verification.status` query (built in #651). The fix adds a Step 1.7 consult
@@ -137,7 +137,7 @@ describe('#2189: progress --forensic flag', () => {
describe('#1107: progress routing consults verification.status before reporting complete', () => {
function readWorkflow() {
return fs.readFileSync(
path.join(__dirname, '..', 'gsd-core', 'workflows', 'progress.md'), 'utf8'
path.join(__dirname, '..', 'msd-core', 'workflows', 'progress.md'), 'utf8'
);
}
@@ -192,7 +192,7 @@ describe('#1107: progress routing consults verification.status before reporting
);
assert.ok(
route.includes('--gaps') && route.includes('plan-phase'),
'Route V.gaps must route to /gsd:plan-phase {phase} --gaps'
'Route V.gaps must route to /msd:plan-phase {phase} --gaps'
);
});
@@ -205,7 +205,7 @@ describe('#1107: progress routing consults verification.status before reporting
);
assert.ok(
route.includes('verify-work'),
'Route V.human must route to /gsd:verify-work {phase}'
'Route V.human must route to /msd:verify-work {phase}'
);
});
@@ -218,7 +218,7 @@ describe('#1107: progress routing consults verification.status before reporting
);
assert.ok(
route.includes('verify-work'),
'Route V.stale must route to /gsd:verify-work {phase}'
'Route V.stale must route to /msd:verify-work {phase}'
);
});
@@ -248,10 +248,10 @@ const assert = require('node:assert/strict');
const fs = require('fs');
const path = require('path');
describe('#3418: /gsd-progress flag routing prompt contract', () => {
describe('#3418: /msd-progress flag routing prompt contract', () => {
test('progress command surfaces raw arguments on a dedicated line before routing parse', () => {
const command = fs.readFileSync(
path.join(__dirname, '..', 'commands', 'gsd', 'progress.md'),
path.join(__dirname, '..', 'commands', 'msd', 'progress.md'),
'utf8'
);
@@ -263,7 +263,7 @@ describe('#3418: /gsd-progress flag routing prompt contract', () => {
test('progress command must not inline-substitute $ARGUMENTS into parse instruction text', () => {
const command = fs.readFileSync(
path.join(__dirname, '..', 'commands', 'gsd', 'progress.md'),
path.join(__dirname, '..', 'commands', 'msd', 'progress.md'),
'utf8'
);
@@ -283,10 +283,10 @@ describe('#3418: /gsd-progress flag routing prompt contract', () => {
const { describe: __foldDescribe } = require('node:test');
__foldDescribe("folded:bug-2912-progress-context-authority (consolidation epic #1969 B4 #1973)", () => {
/**
* Tests for issue #2912 — /gsd-progress can use stale CLAUDE.md project block
* instead of GSD tracking files as authoritative source.
* Tests for issue #2912 — /msd-progress can use stale CLAUDE.md project block
* instead of MSD tracking files as authoritative source.
*
* Fix: the `report` step in gsd-core/workflows/progress.md must contain
* Fix: the `report` step in msd-core/workflows/progress.md must contain
* an explicit "context authority" directive establishing PROJECT.md, STATE.md,
* and ROADMAP.md as the authoritative sources for the progress report, and
* forbidding the use of CLAUDE.md `## Project` blocks as a source for any
@@ -305,7 +305,7 @@ const path = require('path');
const WORKFLOW_PATH = path.join(
__dirname,
'..',
'gsd-core',
'msd-core',
'workflows',
'progress.md'
);