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,21 +10,21 @@ 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-prevention.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-prevention.md');
|
||||
|
||||
describe('prevention / blameless-postmortem output (#1963, epic #1957 Phase 3B)', () => {
|
||||
describe('reference extract exists and is wired into archive_session', () => {
|
||||
test('gsd-core/references/debugger-prevention.md exists', () => {
|
||||
test('msd-core/references/debugger-prevention.md exists', () => {
|
||||
assert.ok(fs.existsSync(REFERENCE), 'debugger-prevention.md reference must exist');
|
||||
});
|
||||
|
||||
test('gsd-debugger.md @-includes the prevention reference', () => {
|
||||
test('msd-debugger.md @-includes the prevention reference', () => {
|
||||
const content = fs.readFileSync(AGENT, 'utf8');
|
||||
assert.ok(
|
||||
content.includes('@~/.claude/gsd-core/references/debugger-prevention.md'),
|
||||
'gsd-debugger.md must @-include the prevention reference from archive_session'
|
||||
content.includes('@~/.claude/msd-core/references/debugger-prevention.md'),
|
||||
'msd-debugger.md must @-include the prevention reference from archive_session'
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -59,7 +59,7 @@ describe('prevention / blameless-postmortem output (#1963, epic #1957 Phase 3B)'
|
||||
});
|
||||
|
||||
describe('knowledge-base entry stores the prevention fields (criterion 2)', () => {
|
||||
test('KB entry format in gsd-debugger.md includes why_not_caught + recurrence_guard', () => {
|
||||
test('KB entry format in msd-debugger.md includes why_not_caught + recurrence_guard', () => {
|
||||
const content = fs.readFileSync(AGENT, 'utf8');
|
||||
assert.ok(/why.not.caught/i.test(content), 'KB entry format must include a why_not_caught field');
|
||||
assert.ok(/recurrence.guard/i.test(content), 'KB entry format must include a recurrence_guard field');
|
||||
@@ -73,7 +73,7 @@ describe('prevention / blameless-postmortem output (#1963, epic #1957 Phase 3B)'
|
||||
});
|
||||
|
||||
describe('session-manager compact return surfaces the prevention summary (criterion 3)', () => {
|
||||
test('gsd-debug-session-manager.md compact summary includes a prevention line', () => {
|
||||
test('msd-debug-session-manager.md compact summary includes a prevention line', () => {
|
||||
const content = fs.readFileSync(SESSION_MGR, 'utf8');
|
||||
assert.ok(/prevention|recurrence guard|why not caught/i.test(content),
|
||||
'session-manager compact summary must surface the prevention summary (recurrence guard / why-not-caught)');
|
||||
|
||||
Reference in New Issue
Block a user