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:
@@ -12,9 +12,9 @@ const { readFileNormalized } = require('./helpers.cjs');
|
||||
|
||||
const ROOT = path.join(__dirname, '..');
|
||||
const AGENTS_DIR = path.join(ROOT, 'agents');
|
||||
const MANAGER = path.join(AGENTS_DIR, 'gsd-debug-session-manager.md');
|
||||
const MANAGER_COMPACT = path.join(AGENTS_DIR, 'gsd-debug-session-manager.compact.md');
|
||||
const DEBUG_WORKFLOW = path.join(ROOT, 'gsd-core', 'workflows', 'debug.md');
|
||||
const MANAGER = path.join(AGENTS_DIR, 'msd-debug-session-manager.md');
|
||||
const MANAGER_COMPACT = path.join(AGENTS_DIR, 'msd-debug-session-manager.compact.md');
|
||||
const DEBUG_WORKFLOW = path.join(ROOT, 'msd-core', 'workflows', 'debug.md');
|
||||
|
||||
// Pull out each `Agent( … )` call literally, so a row asserts against the
|
||||
// shipped spawn rather than against a pattern retyped from the fix.
|
||||
@@ -34,15 +34,15 @@ function agentSpawnBlocks(content) {
|
||||
}
|
||||
|
||||
function debuggerSpawn(content, label) {
|
||||
const matches = agentSpawnBlocks(content).filter((b) => b.includes('subagent_type="gsd-debugger"'));
|
||||
assert.equal(matches.length, 1, `${label}: expected exactly one gsd-debugger spawn block`);
|
||||
const matches = agentSpawnBlocks(content).filter((b) => b.includes('subagent_type="msd-debugger"'));
|
||||
assert.equal(matches.length, 1, `${label}: expected exactly one msd-debugger spawn block`);
|
||||
return matches[0];
|
||||
}
|
||||
|
||||
describe('debug session manager: the debugger spawn must block (#4395)', () => {
|
||||
// ROW 1 + 2 — the reported defect, in both shipped variants.
|
||||
for (const [label, file] of [['full', MANAGER], ['compact', MANAGER_COMPACT]]) {
|
||||
test(`${label} variant spawns gsd-debugger with run_in_background: false`, () => {
|
||||
test(`${label} variant spawns msd-debugger with run_in_background: false`, () => {
|
||||
const spawn = debuggerSpawn(readFileNormalized(file), `${label} variant`);
|
||||
// Claude Code backgrounds subagents by DEFAULT — debug.md:209 (#2196) says
|
||||
// so outright. Without the flag the manager's Step 3 ("Handle Agent
|
||||
|
||||
Reference in New Issue
Block a user