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:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* GSD Tools Tests — phase next-decimal ROADMAP.md scanning
|
||||
* MSD Tools Tests — phase next-decimal ROADMAP.md scanning
|
||||
*
|
||||
* Covers issue #1865: next-decimal only scanned directory names in
|
||||
* .planning/phases/ to determine the next available decimal number.
|
||||
@@ -15,7 +15,7 @@ const { describe, test, beforeEach, afterEach } = require('node:test');
|
||||
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');
|
||||
|
||||
describe('phase next-decimal ROADMAP.md scanning (#1865)', () => {
|
||||
let tmpDir;
|
||||
@@ -34,7 +34,7 @@ describe('phase next-decimal ROADMAP.md scanning (#1865)', () => {
|
||||
fs.mkdirSync(path.join(tmpDir, '.planning', 'phases', '999.1-idea-one'), { recursive: true });
|
||||
fs.mkdirSync(path.join(tmpDir, '.planning', 'phases', '999.2-idea-two'), { recursive: true });
|
||||
|
||||
const result = runGsdTools('phase next-decimal 999', tmpDir);
|
||||
const result = runMsdTools('phase next-decimal 999', tmpDir);
|
||||
assert.ok(result.success, `Command failed: ${result.error}`);
|
||||
|
||||
const output = JSON.parse(result.output);
|
||||
@@ -62,7 +62,7 @@ describe('phase next-decimal ROADMAP.md scanning (#1865)', () => {
|
||||
].join('\n')
|
||||
);
|
||||
|
||||
const result = runGsdTools('phase next-decimal 999', tmpDir);
|
||||
const result = runMsdTools('phase next-decimal 999', tmpDir);
|
||||
assert.ok(result.success, `Command failed: ${result.error}`);
|
||||
|
||||
const output = JSON.parse(result.output);
|
||||
@@ -86,7 +86,7 @@ describe('phase next-decimal ROADMAP.md scanning (#1865)', () => {
|
||||
].join('\n')
|
||||
);
|
||||
|
||||
const result = runGsdTools('phase next-decimal 999', tmpDir);
|
||||
const result = runMsdTools('phase next-decimal 999', tmpDir);
|
||||
assert.ok(result.success, `Command failed: ${result.error}`);
|
||||
|
||||
const output = JSON.parse(result.output);
|
||||
@@ -111,7 +111,7 @@ describe('phase next-decimal ROADMAP.md scanning (#1865)', () => {
|
||||
].join('\n')
|
||||
);
|
||||
|
||||
const result = runGsdTools('phase next-decimal 999', tmpDir);
|
||||
const result = runMsdTools('phase next-decimal 999', tmpDir);
|
||||
assert.ok(result.success, `Command failed: ${result.error}`);
|
||||
|
||||
const output = JSON.parse(result.output);
|
||||
@@ -123,7 +123,7 @@ describe('phase next-decimal ROADMAP.md scanning (#1865)', () => {
|
||||
// No ROADMAP.md, just directories
|
||||
fs.mkdirSync(path.join(tmpDir, '.planning', 'phases', '05.1-patch'), { recursive: true });
|
||||
|
||||
const result = runGsdTools('phase next-decimal 5', tmpDir);
|
||||
const result = runMsdTools('phase next-decimal 5', tmpDir);
|
||||
assert.ok(result.success, `Command failed: ${result.error}`);
|
||||
|
||||
const output = JSON.parse(result.output);
|
||||
@@ -145,7 +145,7 @@ describe('phase next-decimal ROADMAP.md scanning (#1865)', () => {
|
||||
].join('\n')
|
||||
);
|
||||
|
||||
const result = runGsdTools('phase next-decimal 10', tmpDir);
|
||||
const result = runMsdTools('phase next-decimal 10', tmpDir);
|
||||
assert.ok(result.success, `Command failed: ${result.error}`);
|
||||
|
||||
const output = JSON.parse(result.output);
|
||||
@@ -158,7 +158,7 @@ describe('phase next-decimal ROADMAP.md scanning (#1865)', () => {
|
||||
// eslint-disable-next-line local/no-raw-rmsync-in-tests -- mid-test removal to simulate absent phases dir (SUT behavior, not teardown)
|
||||
fs.rmSync(path.join(tmpDir, '.planning', 'phases'), { recursive: true });
|
||||
|
||||
const result = runGsdTools('phase next-decimal 999', tmpDir);
|
||||
const result = runMsdTools('phase next-decimal 999', tmpDir);
|
||||
assert.ok(result.success, `Command failed: ${result.error}`);
|
||||
|
||||
const output = JSON.parse(result.output);
|
||||
@@ -184,7 +184,7 @@ describe('phase next-decimal ROADMAP.md scanning (#1865)', () => {
|
||||
].join('\n')
|
||||
);
|
||||
|
||||
const result = runGsdTools('phase next-decimal 999', tmpDir);
|
||||
const result = runMsdTools('phase next-decimal 999', tmpDir);
|
||||
assert.ok(result.success, `Command failed: ${result.error}`);
|
||||
|
||||
const output = JSON.parse(result.output);
|
||||
@@ -207,7 +207,7 @@ describe('phase next-decimal ROADMAP.md scanning (#1865)', () => {
|
||||
].join('\n')
|
||||
);
|
||||
|
||||
const result = runGsdTools('phase next-decimal 7', tmpDir);
|
||||
const result = runMsdTools('phase next-decimal 7', tmpDir);
|
||||
assert.ok(result.success, `Command failed: ${result.error}`);
|
||||
|
||||
const output = JSON.parse(result.output);
|
||||
|
||||
Reference in New Issue
Block a user