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:
@@ -4,7 +4,7 @@
|
||||
// Per CONTRIBUTING.md exception matrix.
|
||||
|
||||
/**
|
||||
* GSD Audit-Fix Command Tests
|
||||
* MSD Audit-Fix Command Tests
|
||||
*
|
||||
* Validates the autonomous audit-to-fix pipeline:
|
||||
* - Command file exists with correct frontmatter
|
||||
@@ -23,8 +23,8 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const REPO_ROOT = path.join(__dirname, '..');
|
||||
const COMMANDS_DIR = path.join(REPO_ROOT, 'commands', 'gsd');
|
||||
const WORKFLOWS_DIR = path.join(REPO_ROOT, 'gsd-core', 'workflows');
|
||||
const COMMANDS_DIR = path.join(REPO_ROOT, 'commands', 'msd');
|
||||
const WORKFLOWS_DIR = path.join(REPO_ROOT, 'msd-core', 'workflows');
|
||||
|
||||
// ─── 1. Command file — audit-fix.md ──────────────────────────────────────────
|
||||
|
||||
@@ -34,16 +34,16 @@ describe('AUDIT-FIX: command file', () => {
|
||||
test('command file exists', () => {
|
||||
assert.ok(
|
||||
fs.existsSync(cmdPath),
|
||||
'audit-fix.md must exist in commands/gsd/'
|
||||
'audit-fix.md must exist in commands/msd/'
|
||||
);
|
||||
});
|
||||
|
||||
test('has valid frontmatter with name gsd:audit-fix', () => {
|
||||
test('has valid frontmatter with name msd:audit-fix', () => {
|
||||
const content = fs.readFileSync(cmdPath, 'utf-8');
|
||||
const frontmatter = content.split('---')[1] || '';
|
||||
assert.ok(
|
||||
frontmatter.includes('name: gsd:audit-fix'),
|
||||
'name must be gsd:audit-fix'
|
||||
frontmatter.includes('name: msd:audit-fix'),
|
||||
'name must be msd:audit-fix'
|
||||
);
|
||||
});
|
||||
|
||||
@@ -69,12 +69,12 @@ describe('AUDIT-FIX: command file', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('has argument-hint in frontmatter for /gsd-help discoverability', () => {
|
||||
test('has argument-hint in frontmatter for /msd-help discoverability', () => {
|
||||
const content = fs.readFileSync(cmdPath, 'utf-8');
|
||||
const frontmatter = content.split('---')[1] || '';
|
||||
assert.ok(
|
||||
frontmatter.includes('argument-hint:'),
|
||||
'must have argument-hint in frontmatter for /gsd-help discoverability'
|
||||
'must have argument-hint in frontmatter for /msd-help discoverability'
|
||||
);
|
||||
});
|
||||
|
||||
@@ -123,7 +123,7 @@ describe('AUDIT-FIX: workflow file', () => {
|
||||
test('workflow file exists', () => {
|
||||
assert.ok(
|
||||
fs.existsSync(wfPath),
|
||||
'audit-fix.md must exist in gsd-core/workflows/'
|
||||
'audit-fix.md must exist in msd-core/workflows/'
|
||||
);
|
||||
});
|
||||
|
||||
@@ -145,15 +145,15 @@ describe('AUDIT-FIX: workflow file', () => {
|
||||
assert.ok(content.includes('</success_criteria>'), 'must close <success_criteria> section');
|
||||
});
|
||||
|
||||
test('has <available_agent_types> listing gsd-executor', () => {
|
||||
test('has <available_agent_types> listing msd-executor', () => {
|
||||
const content = fs.readFileSync(wfPath, 'utf-8');
|
||||
assert.ok(
|
||||
content.includes('<available_agent_types>'),
|
||||
'must have <available_agent_types> section'
|
||||
);
|
||||
assert.ok(
|
||||
content.includes('gsd-executor'),
|
||||
'must list gsd-executor as available agent type'
|
||||
content.includes('msd-executor'),
|
||||
'must list msd-executor as available agent type'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user