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:
@@ -10,22 +10,22 @@ const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const ROOT = process.cwd();
|
||||
const AGENT = path.join(ROOT, 'agents/gsd-debugger.md');
|
||||
const SESSION_MGR = path.join(ROOT, 'agents/gsd-debug-session-manager.md');
|
||||
const REFERENCE = path.join(ROOT, 'gsd-core/references/debugger-fix-acceptance.md');
|
||||
const DEBUG_TEMPLATE = path.join(ROOT, 'gsd-core/templates/DEBUG.md');
|
||||
const AGENT = path.join(ROOT, 'agents/msd-debugger.md');
|
||||
const SESSION_MGR = path.join(ROOT, 'agents/msd-debug-session-manager.md');
|
||||
const REFERENCE = path.join(ROOT, 'msd-core/references/debugger-fix-acceptance.md');
|
||||
const DEBUG_TEMPLATE = path.join(ROOT, 'msd-core/templates/DEBUG.md');
|
||||
|
||||
describe('fix-acceptance guardrail (#1958, epic #1957 Phase 1A)', () => {
|
||||
describe('reference extract exists and is wired into the agent', () => {
|
||||
test('gsd-core/references/debugger-fix-acceptance.md exists', () => {
|
||||
test('msd-core/references/debugger-fix-acceptance.md exists', () => {
|
||||
assert.ok(fs.existsSync(REFERENCE), 'debugger-fix-acceptance.md reference must exist');
|
||||
});
|
||||
|
||||
test('gsd-debugger.md @-includes the fix-acceptance reference', () => {
|
||||
test('msd-debugger.md @-includes the fix-acceptance reference', () => {
|
||||
const content = fs.readFileSync(AGENT, 'utf8');
|
||||
assert.ok(
|
||||
content.includes('@~/.claude/gsd-core/references/debugger-fix-acceptance.md'),
|
||||
'gsd-debugger.md must @-include the fix-acceptance reference'
|
||||
content.includes('@~/.claude/msd-core/references/debugger-fix-acceptance.md'),
|
||||
'msd-debugger.md must @-include the fix-acceptance reference'
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -64,13 +64,13 @@ describe('fix-acceptance guardrail (#1958, epic #1957 Phase 1A)', () => {
|
||||
});
|
||||
|
||||
describe('FIX REJECTED BY GUARDRAIL return path (independence — any signal can reject)', () => {
|
||||
test('gsd-debugger.md defines the FIX REJECTED BY GUARDRAIL structured return', () => {
|
||||
test('msd-debugger.md defines the FIX REJECTED BY GUARDRAIL structured return', () => {
|
||||
const content = fs.readFileSync(AGENT, 'utf8');
|
||||
assert.ok(content.includes('FIX REJECTED BY GUARDRAIL'),
|
||||
'gsd-debugger.md must define the guardrail-rejection structured return');
|
||||
'msd-debugger.md must define the guardrail-rejection structured return');
|
||||
});
|
||||
|
||||
test('gsd-debug-session-manager.md handles the guardrail-rejection return', () => {
|
||||
test('msd-debug-session-manager.md handles the guardrail-rejection return', () => {
|
||||
const content = fs.readFileSync(SESSION_MGR, 'utf8');
|
||||
assert.ok(content.includes('FIX REJECTED BY GUARDRAIL'),
|
||||
'session-manager must handle the FIX REJECTED BY GUARDRAIL return in its continuation loop');
|
||||
|
||||
Reference in New Issue
Block a user