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:
Jakub Zych
2026-10-06 01:47:40 +02:00
parent fe069b2a56
commit a9a7a328e6
2763 changed files with 78465 additions and 78434 deletions

View File

@@ -19,7 +19,7 @@
* === 'copilot-instructions'` (unique to copilot, so byte-parity).
* 3. bin/install.js's two `skipSharedHooksInstall` checks — folded onto
* `hostBehaviors.skipSharedHooksInstall:true` (copilot's golden has
* only hooks/gsd-session.json, no shared gsd-*.js scripts).
* only hooks/msd-session.json, no shared msd-*.js scripts).
* 4. bin/install.js's dead legacy agent-converter dispatch arm in the
* inline agent-copy loop — unreachable because copilot is a member of
* `_DESCRIPTOR_AGENTS_RUNTIMES` (installRuntimeArtifacts already wrote
@@ -29,7 +29,7 @@
* tests/declarative-reference-codebuddy.test.cjs: it (1) classifies
* Copilot's profile via profileOf, (2) confirms the public declarative
* adapter classifies it as declarative, (3) round-trips a real install
* proving a gsd agent/skill surface is emitted, (4) proves negotiation
* proving a msd agent/skill 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
* `isCopilot` branches (AC2).
@@ -51,9 +51,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');
@@ -85,19 +85,19 @@ test('the public declarative adapter classifies Copilot as a declarative host',
assert.equal(typeof adapter.uninstall, 'function');
});
test('a real Copilot install emits a gsd agent/skill surface (invocable)', () => {
test('a real Copilot install emits a msd agent/skill surface (invocable)', () => {
const { configDir, root } = runMinimalInstall({ runtime: 'copilot', scope: 'global' });
try {
const files = walk(configDir);
assert.ok(files.length > 0, 'install must emit artifacts');
const gsdSurface = files.filter((f) => /gsd/i.test(path.relative(configDir, f)));
assert.ok(gsdSurface.length > 0,
'install must emit a gsd agent/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 agent/skill surface (declarative reference)');
const agentsDir = path.join(configDir, 'agents');
assert.ok(fs.existsSync(agentsDir), 'agents/ directory must exist');
const agentFiles = fs.readdirSync(agentsDir)
.filter((f) => f.startsWith('gsd-') && f.endsWith('.agent.md'));
assert.ok(agentFiles.length > 0, 'agents/ must contain gsd-*.agent.md files');
.filter((f) => f.startsWith('msd-') && f.endsWith('.agent.md'));
assert.ok(agentFiles.length > 0, 'agents/ must contain msd-*.agent.md files');
const skillsDir = path.join(configDir, 'skills');
assert.ok(fs.existsSync(skillsDir), 'skills/ directory must exist');
} finally {