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:
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Verify-command grounding (#2401).
|
||||
*
|
||||
* Module: gsd-core/bin/lib/verify-command-grounding.cjs
|
||||
* Module: msd-core/bin/lib/verify-command-grounding.cjs
|
||||
* Exported: extractAutomatedCommands, resolveVerifyCommandTarget,
|
||||
* probePhaseVerifyCommands, harvestPriorVerifyCommands
|
||||
*
|
||||
@@ -21,7 +21,7 @@
|
||||
* literal character and must resolve normally (#2401 CI regression). Refusing
|
||||
* to guess is the whole point; guessing is the defect being fixed.
|
||||
*
|
||||
* Row numbers below map to `.gsd/phase/feat-2401-verify-command-grounding/50-test-matrix.md`.
|
||||
* Row numbers below map to `.msd/phase/feat-2401-verify-command-grounding/50-test-matrix.md`.
|
||||
*
|
||||
* IO-failure rows monkeypatch the `fs` method and restore in `finally` — never
|
||||
* `chmod 0o000`, which root bypasses in Docker/CI so the test would pass with
|
||||
@@ -47,15 +47,15 @@ const fs = require('node:fs');
|
||||
const os = require('node:os');
|
||||
const path = require('node:path');
|
||||
const fc = require('./helpers/fast-check-setup.cjs');
|
||||
const { cleanup, runGsdTools } = require('./helpers.cjs');
|
||||
const { cleanup, runMsdTools } = require('./helpers.cjs');
|
||||
|
||||
const {
|
||||
extractAutomatedCommands,
|
||||
resolveVerifyCommandTarget,
|
||||
probePhaseVerifyCommands,
|
||||
harvestPriorVerifyCommands,
|
||||
} = require('../gsd-core/bin/lib/verify-command-grounding.cjs');
|
||||
const { extractTaggedBlocks } = require('../gsd-core/bin/lib/markdown-sectionizer.cjs');
|
||||
} = require('../msd-core/bin/lib/verify-command-grounding.cjs');
|
||||
const { extractTaggedBlocks } = require('../msd-core/bin/lib/markdown-sectionizer.cjs');
|
||||
|
||||
const KNOWN_STATUSES = new Set([
|
||||
'ok',
|
||||
@@ -113,7 +113,7 @@ function writePhase(root, phaseName, plans) {
|
||||
}
|
||||
|
||||
before(() => {
|
||||
ROOT = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-2401-'));
|
||||
ROOT = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-2401-'));
|
||||
});
|
||||
|
||||
after(() => {
|
||||
@@ -902,7 +902,7 @@ describe('check verify-command-paths verb', () => {
|
||||
const root = fixtureRoot('row44');
|
||||
writeCliPhase(root, '01-test-phase', planWith(['npm test']));
|
||||
|
||||
const result = runGsdTools(['check', 'verify-command-paths', '1', '--raw'], root);
|
||||
const result = runMsdTools(['check', 'verify-command-paths', '1', '--raw'], root);
|
||||
assert.ok(result.success, `check verify-command-paths should succeed. stderr: ${result.error}`);
|
||||
|
||||
const payload = JSON.parse(result.output);
|
||||
@@ -921,7 +921,7 @@ describe('check verify-command-paths verb', () => {
|
||||
|
||||
// Capture the result rather than asserting on exit code: an unknown phase
|
||||
// is a degraded-but-valid JSON payload, not necessarily a clean exit.
|
||||
const result = runGsdTools(['check', 'verify-command-paths', '999', '--raw'], root);
|
||||
const result = runMsdTools(['check', 'verify-command-paths', '999', '--raw'], root);
|
||||
const payload = JSON.parse(result.output);
|
||||
assert.deepEqual(payload.commands, []);
|
||||
assert.equal(typeof payload.readError, 'string');
|
||||
|
||||
Reference in New Issue
Block a user