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:
@@ -17,7 +17,7 @@ const { describe, test } = require('node:test');
|
||||
const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
const { createTempProject, cleanup, runGsdTools } = require('./helpers.cjs');
|
||||
const { createTempProject, cleanup, runMsdTools } = require('./helpers.cjs');
|
||||
|
||||
const ROOT = path.resolve(__dirname, '..');
|
||||
const PHASE_DIR_REL = path.join('.planning', 'phases', '01-foundation');
|
||||
@@ -48,7 +48,7 @@ function writeSummary(tmpDir, frontmatterBodyLines) {
|
||||
}
|
||||
|
||||
function classify(tmpDir, rel) {
|
||||
const result = runGsdTools(`uat classify-coverage --summary ${rel}`, tmpDir);
|
||||
const result = runMsdTools(`uat classify-coverage --summary ${rel}`, tmpDir);
|
||||
assert.ok(result.success, `command should succeed: ${result.error || result.output}`);
|
||||
return JSON.parse(result.output);
|
||||
}
|
||||
@@ -141,7 +141,7 @@ describe('verify-work coverage consumption — issue scenarios (behavioral, via
|
||||
});
|
||||
|
||||
describe('verify-work.md is wired to the deterministic classifier (deployed contract)', () => {
|
||||
const VERIFY_WORK = fs.readFileSync(path.join(ROOT, 'gsd-core', 'workflows', 'verify-work.md'), 'utf-8');
|
||||
const VERIFY_WORK = fs.readFileSync(path.join(ROOT, 'msd-core', 'workflows', 'verify-work.md'), 'utf-8');
|
||||
|
||||
test('extract_tests invokes the deterministic classify-coverage verb', () => {
|
||||
assert.ok(
|
||||
@@ -166,7 +166,7 @@ describe('verify-work.md is wired to the deterministic classifier (deployed cont
|
||||
});
|
||||
|
||||
describe('execute-plan.md create_summary populates the coverage block (deployed contract)', () => {
|
||||
const EXECUTE_PLAN = fs.readFileSync(path.join(ROOT, 'gsd-core', 'workflows', 'execute-plan.md'), 'utf-8');
|
||||
const EXECUTE_PLAN = fs.readFileSync(path.join(ROOT, 'msd-core', 'workflows', 'execute-plan.md'), 'utf-8');
|
||||
|
||||
test('create_summary documents coverage population with the fail-safe default', () => {
|
||||
assert.ok(EXECUTE_PLAN.includes('coverage'), 'create_summary must mention the coverage block');
|
||||
@@ -179,10 +179,10 @@ describe('execute-plan.md create_summary populates the coverage block (deployed
|
||||
|
||||
describe('SUMMARY templates carry the coverage field (deployed contract)', () => {
|
||||
const templates = {
|
||||
main: fs.readFileSync(path.join(ROOT, 'gsd-core', 'templates', 'summary.md'), 'utf-8'),
|
||||
standard: fs.readFileSync(path.join(ROOT, 'gsd-core', 'templates', 'summary-standard.md'), 'utf-8'),
|
||||
complex: fs.readFileSync(path.join(ROOT, 'gsd-core', 'templates', 'summary-complex.md'), 'utf-8'),
|
||||
minimal: fs.readFileSync(path.join(ROOT, 'gsd-core', 'templates', 'summary-minimal.md'), 'utf-8'),
|
||||
main: fs.readFileSync(path.join(ROOT, 'msd-core', 'templates', 'summary.md'), 'utf-8'),
|
||||
standard: fs.readFileSync(path.join(ROOT, 'msd-core', 'templates', 'summary-standard.md'), 'utf-8'),
|
||||
complex: fs.readFileSync(path.join(ROOT, 'msd-core', 'templates', 'summary-complex.md'), 'utf-8'),
|
||||
minimal: fs.readFileSync(path.join(ROOT, 'msd-core', 'templates', 'summary-minimal.md'), 'utf-8'),
|
||||
};
|
||||
|
||||
test('the main template documents the coverage schema and field semantics', () => {
|
||||
|
||||
Reference in New Issue
Block a user