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:
@@ -15,13 +15,13 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const ROOT = path.join(__dirname, '..');
|
||||
const GATES_REF = path.join(ROOT, 'gsd-core', 'references', 'gates.md');
|
||||
const GATES_REF = path.join(ROOT, 'msd-core', 'references', 'gates.md');
|
||||
|
||||
describe('gates taxonomy (#1715)', () => {
|
||||
test('reference file exists', () => {
|
||||
assert.ok(
|
||||
fs.existsSync(GATES_REF),
|
||||
'gsd-core/references/gates.md must exist'
|
||||
'msd-core/references/gates.md must exist'
|
||||
);
|
||||
});
|
||||
|
||||
@@ -74,7 +74,7 @@ describe('gates taxonomy (#1715)', () => {
|
||||
});
|
||||
|
||||
test('plan-phase.md references gates.md', () => {
|
||||
const planPhase = path.join(ROOT, 'gsd-core', 'workflows', 'plan-phase.md');
|
||||
const planPhase = path.join(ROOT, 'msd-core', 'workflows', 'plan-phase.md');
|
||||
const content = fs.readFileSync(planPhase, 'utf-8');
|
||||
assert.ok(
|
||||
content.includes('references/gates.md'),
|
||||
@@ -83,7 +83,7 @@ describe('gates taxonomy (#1715)', () => {
|
||||
});
|
||||
|
||||
test('execute-phase.md references gates.md', () => {
|
||||
const execPhase = path.join(ROOT, 'gsd-core', 'workflows', 'execute-phase.md');
|
||||
const execPhase = path.join(ROOT, 'msd-core', 'workflows', 'execute-phase.md');
|
||||
const content = fs.readFileSync(execPhase, 'utf-8');
|
||||
assert.ok(
|
||||
content.includes('references/gates.md'),
|
||||
@@ -91,33 +91,33 @@ describe('gates taxonomy (#1715)', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('gsd-plan-checker.md references gates.md in required_reading block', () => {
|
||||
const planChecker = path.join(ROOT, 'agents', 'gsd-plan-checker.md');
|
||||
test('msd-plan-checker.md references gates.md in required_reading block', () => {
|
||||
const planChecker = path.join(ROOT, 'agents', 'msd-plan-checker.md');
|
||||
const content = fs.readFileSync(planChecker, 'utf-8');
|
||||
// eslint-disable-next-line local/no-unbounded-quantifier -- parses this repo's own agent .md content, fixed-size author-controlled content
|
||||
const match = content.match(/<required_reading>\r?\n([\s\S]*?)\r?\n<\/required_reading>/);
|
||||
assert.ok(
|
||||
match,
|
||||
'gsd-plan-checker.md must have a <required_reading> block'
|
||||
'msd-plan-checker.md must have a <required_reading> block'
|
||||
);
|
||||
assert.ok(
|
||||
match[1].includes('references/gates.md'),
|
||||
'gsd-plan-checker.md must reference gates.md inside <required_reading>'
|
||||
'msd-plan-checker.md must reference gates.md inside <required_reading>'
|
||||
);
|
||||
});
|
||||
|
||||
test('gsd-verifier.md references gates.md in required_reading block', () => {
|
||||
const verifier = path.join(ROOT, 'agents', 'gsd-verifier.md');
|
||||
test('msd-verifier.md references gates.md in required_reading block', () => {
|
||||
const verifier = path.join(ROOT, 'agents', 'msd-verifier.md');
|
||||
const content = fs.readFileSync(verifier, 'utf-8');
|
||||
// eslint-disable-next-line local/no-unbounded-quantifier -- parses this repo's own agent .md content, fixed-size author-controlled content
|
||||
const match = content.match(/<required_reading>\r?\n([\s\S]*?)\r?\n<\/required_reading>/);
|
||||
assert.ok(
|
||||
match,
|
||||
'gsd-verifier.md must have a <required_reading> block'
|
||||
'msd-verifier.md must have a <required_reading> block'
|
||||
);
|
||||
assert.ok(
|
||||
match[1].includes('references/gates.md'),
|
||||
'gsd-verifier.md must reference gates.md inside <required_reading>'
|
||||
'msd-verifier.md must reference gates.md inside <required_reading>'
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user