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:
@@ -13,7 +13,7 @@
|
||||
* wires all four — `SubagentStop`/`Stop`/`PreCompact`/`SubagentStart` —
|
||||
* into `extendedHookEvents` (mirrors qwen #2092 / kimi exactly — same 4
|
||||
* events), so a live install registers all four as hooks in settings.json
|
||||
* routed through gsd-context-monitor.js, giving CodeBuddy the
|
||||
* routed through msd-context-monitor.js, giving CodeBuddy the
|
||||
* subagent-lifecycle + stop/compact hooks it previously lacked.
|
||||
*
|
||||
* UPGRADE 2 — dispatch.background: CodeBuddy's capability.json already
|
||||
@@ -38,7 +38,7 @@ const {
|
||||
profileOf,
|
||||
negotiateHostCapabilities,
|
||||
PROFILE_BASELINES,
|
||||
} = require('../gsd-core/bin/lib/host-integration.cjs');
|
||||
} = require('../msd-core/bin/lib/host-integration.cjs');
|
||||
|
||||
const CODEBUDDY_CAP = JSON.parse(
|
||||
fs.readFileSync(path.join(__dirname, '..', 'capabilities', 'codebuddy', 'capability.json'), 'utf8'),
|
||||
@@ -55,7 +55,7 @@ test('capabilities/codebuddy/capability.json extendedHookEvents contains exactly
|
||||
assert.equal(events.length, 4);
|
||||
});
|
||||
|
||||
test('codebuddy --global: settings.json wires all 4 newly-added extended hook events to the GSD context-monitor hook (UPGRADE 1)', (t) => {
|
||||
test('codebuddy --global: settings.json wires all 4 newly-added extended hook events to the MSD context-monitor hook (UPGRADE 1)', (t) => {
|
||||
const { configDir, root } = runMinimalInstall({ runtime: 'codebuddy', scope: 'global' });
|
||||
t.after(() => cleanup(root));
|
||||
|
||||
@@ -72,8 +72,8 @@ test('codebuddy --global: settings.json wires all 4 newly-added extended hook ev
|
||||
assert.ok(Array.isArray(eventHooks) && eventHooks.length > 0,
|
||||
`settings.hooks.${eventName} must exist and be non-empty`);
|
||||
const entry = eventHooks[0].hooks[0];
|
||||
assert.ok(entry.command.includes('gsd-context-monitor'),
|
||||
`${eventName} command must reference gsd-context-monitor.js, got: ${entry.command}`);
|
||||
assert.ok(entry.command.includes('msd-context-monitor'),
|
||||
`${eventName} command must reference msd-context-monitor.js, got: ${entry.command}`);
|
||||
assert.equal(entry.timeout, 10, `${eventName} entry must have timeout 10`);
|
||||
return entry;
|
||||
});
|
||||
@@ -81,7 +81,7 @@ test('codebuddy --global: settings.json wires all 4 newly-added extended hook ev
|
||||
const [stopEntry, ...restEntries] = entries;
|
||||
for (const entry of restEntries) {
|
||||
assert.equal(entry.command, stopEntry.command,
|
||||
'all 4 newly-wired extended events must wire the same gsd-context-monitor command');
|
||||
'all 4 newly-wired extended events must wire the same msd-context-monitor command');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user