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

@@ -8,9 +8,9 @@ const assert = require('node:assert/strict');
const fs = require('fs');
const path = require('path');
const { runGsdTools, createTempProject, cleanup } = require('./helpers.cjs');
const { runMsdTools, createTempProject, cleanup } = require('./helpers.cjs');
const WORKFLOW = path.join(__dirname, '..', 'gsd-core', 'workflows', 'plan-phase.md');
const WORKFLOW = path.join(__dirname, '..', 'msd-core', 'workflows', 'plan-phase.md');
function parseWorkflowContract(content) {
const lines = content.split(/\r?\n/).map(line => line.trim());
@@ -20,7 +20,7 @@ function parseWorkflowContract(content) {
const hasRoadmapModeRead = lines.some(line => line.includes('phase.mvp-mode') || line.includes('roadmap'));
const hasSkeletonReference = lines.some(line => line.includes('SKELETON.md'));
const hasWalkingSkeletonLabel = lines.some(line => line.toLowerCase().includes('walking skeleton'));
const plannerLines = lines.filter(line => line.includes('planner') || line.includes('gsd-planner'));
const plannerLines = lines.filter(line => line.includes('planner') || line.includes('msd-planner'));
const plannerUsesMvpMode = plannerLines.some(line => line.includes('MVP_MODE')) || lines.some(line => line.includes('MVP_MODE') && line.includes('planner'));
return {
argExtractionLine,
@@ -52,7 +52,7 @@ describe('plan-phase workflow — --mvp flag', () => {
assert.ok(contract.hasWalkingSkeletonLabel, 'workflow must label the gate as Walking Skeleton');
});
test('planner spawn passes MVP_MODE to gsd-planner', () => {
test('planner spawn passes MVP_MODE to msd-planner', () => {
assert.ok(contract.plannerUsesMvpMode, 'workflow must wire MVP_MODE into the planner subagent prompt');
});
});
@@ -67,13 +67,13 @@ describe('plan-phase --mvp — resolution chain integration', () => {
path.join(tmpDir, '.planning', 'ROADMAP.md'),
`# Roadmap\n\n## v1.0.0\n\n### Phase 1: Auth\n**Goal:** Users can log in\n**Mode:** mvp\n`
);
const result = runGsdTools('roadmap get-phase 1 --pick mode', tmpDir);
const result = runMsdTools('roadmap get-phase 1 --pick mode', tmpDir);
assert.ok(result.success);
assert.strictEqual(result.output.trim(), 'mvp');
});
test('config-get workflow.mvp_mode default is empty/unset', () => {
const result = runGsdTools('config-get workflow.mvp_mode', tmpDir);
const result = runMsdTools('config-get workflow.mvp_mode', tmpDir);
// Either success with empty output OR a non-zero exit; both are fine.
// Real assertion: the key isn't accidentally set to "true" in tmp project.
if (result.success) {