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:
@@ -24,7 +24,7 @@
|
||||
* tests/declarative-reference-antigravity.test.cjs: it (1) classifies
|
||||
* CodeBuddy's profile via profileOf, (2) confirms the public declarative
|
||||
* adapter classifies it as declarative, (3) round-trips a real install
|
||||
* proving a gsd command surface is emitted, (4) proves negotiation fails
|
||||
* proving a msd command surface is emitted, (4) proves negotiation fails
|
||||
* CLOSED on a corrupted descriptor, (5) proves the validator accepts the
|
||||
* descriptor, and (6) source-greps the folded modules for the retired
|
||||
* `isCodebuddy` branches (AC2).
|
||||
@@ -46,9 +46,9 @@ const {
|
||||
negotiateHostCapabilities,
|
||||
PROFILE_BASELINES,
|
||||
UNDOCUMENTED,
|
||||
} = require('../gsd-core/bin/lib/host-integration.cjs');
|
||||
const { validateCapability } = require('../gsd-core/bin/lib/capability-validator.cjs');
|
||||
const { createDeclarativeAdapter } = require('../gsd-core/bin/lib/adapter-declarative.cjs');
|
||||
} = require('../msd-core/bin/lib/host-integration.cjs');
|
||||
const { validateCapability } = require('../msd-core/bin/lib/capability-validator.cjs');
|
||||
const { createDeclarativeAdapter } = require('../msd-core/bin/lib/adapter-declarative.cjs');
|
||||
const { cleanup } = require('./helpers.cjs');
|
||||
const { walk, runMinimalInstall, BUILD_SCRIPT } = require('./helpers/install-shared.cjs');
|
||||
|
||||
@@ -84,22 +84,22 @@ test('the public declarative adapter classifies CodeBuddy as a declarative host'
|
||||
assert.equal(typeof adapter.uninstall, 'function');
|
||||
});
|
||||
|
||||
test('a real CodeBuddy install emits a gsd command/skill surface (invocable)', () => {
|
||||
test('a real CodeBuddy install emits a msd command/skill surface (invocable)', () => {
|
||||
const { configDir, root } = runMinimalInstall({ runtime: 'codebuddy', scope: 'global' });
|
||||
try {
|
||||
const files = walk(configDir);
|
||||
assert.ok(files.length > 0, 'install must emit artifacts');
|
||||
// CodeBuddy uses a flat commands/gsd-*.md slash-command surface
|
||||
// CodeBuddy uses a flat commands/msd-*.md slash-command surface
|
||||
// (CONTEXT.md installer module; capabilities/codebuddy/capability.json
|
||||
// artifactLayout `kind: "commands"`).
|
||||
const gsdSurface = files.filter((f) => /gsd/i.test(path.relative(configDir, f)));
|
||||
assert.ok(gsdSurface.length > 0,
|
||||
'install must emit a gsd command/skill surface (declarative reference)');
|
||||
const msdSurface = files.filter((f) => /msd/i.test(path.relative(configDir, f)));
|
||||
assert.ok(msdSurface.length > 0,
|
||||
'install must emit a msd command/skill surface (declarative reference)');
|
||||
const commandsDir = path.join(configDir, 'commands');
|
||||
assert.ok(fs.existsSync(commandsDir), 'commands/ directory must exist');
|
||||
const cmdFiles = fs.readdirSync(commandsDir)
|
||||
.filter((f) => f.startsWith('gsd-') && f.endsWith('.md'));
|
||||
assert.ok(cmdFiles.length > 0, 'commands/ must contain gsd-*.md slash commands');
|
||||
.filter((f) => f.startsWith('msd-') && f.endsWith('.md'));
|
||||
assert.ok(cmdFiles.length > 0, 'commands/ must contain msd-*.md slash commands');
|
||||
} finally {
|
||||
cleanup(root);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user