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

@@ -10,11 +10,11 @@
* #2790 precedent (see `tests/planning-inspect.unit.test.cjs`), this is a
* dedicated, spawn-free, in-process unit file rather than pointing the shard
* at an integration test — `tests/model-resolver.test.cjs` uses
* `runGsdTools` heavily and would hit the same 15-minute shard-cap cancel
* `runMsdTools` heavily and would hit the same 15-minute shard-cap cancel
* that #2790 documented (one `node --test <file>` invocation costs whatever
* its slowest case costs, per mutant).
*
* NEVER spawn a child process here — no `runGsdTools`, `spawnSync`,
* NEVER spawn a child process here — no `runMsdTools`, `spawnSync`,
* `execFileSync`, or CLI invocation of any kind, and no filesystem writes.
* Every case below requires the BUILT `.cjs` artifact directly and calls its
* exports in-process.
@@ -28,7 +28,7 @@
const { test, describe } = require('node:test');
const assert = require('node:assert/strict');
const catalog = require('../gsd-core/bin/lib/model-catalog.cjs');
const catalog = require('../msd-core/bin/lib/model-catalog.cjs');
const {
VALID_TIERS,
@@ -142,8 +142,8 @@ describe('model-catalog: getAgentToModelMapForProfile / formatAgentToModelMapAsT
for (const profile of ['quality', 'balanced', 'budget', 'adaptive']) {
test(`profile '${profile}' returns the expected tier for known agents`, () => {
const map = getAgentToModelMapForProfile(profile);
assert.equal(map['gsd-planner'], EXPECTED_PLANNER_TIER[profile]);
assert.equal(map['gsd-codebase-mapper'], EXPECTED_MAPPER_TIER[profile]);
assert.equal(map['msd-planner'], EXPECTED_PLANNER_TIER[profile]);
assert.equal(map['msd-codebase-mapper'], EXPECTED_MAPPER_TIER[profile]);
assert.ok(Object.keys(map).length > 0);
for (const value of Object.values(map)) {
assert.equal(typeof value, 'string');
@@ -416,13 +416,13 @@ describe('model-catalog: module load shape (#3915)', () => {
describe('model-catalog: AGENT_TO_PHASE_TYPE / AGENT_DEFAULT_TIERS (#3915)', () => {
test('AGENT_TO_PHASE_TYPE maps a known agent to its exact catalog phaseType', () => {
assert.equal(AGENT_TO_PHASE_TYPE['gsd-planner'], 'planning');
assert.equal(AGENT_TO_PHASE_TYPE['gsd-verifier'], 'verification');
assert.equal(AGENT_TO_PHASE_TYPE['msd-planner'], 'planning');
assert.equal(AGENT_TO_PHASE_TYPE['msd-verifier'], 'verification');
});
test('AGENT_DEFAULT_TIERS maps a known agent to its exact catalog routingTier', () => {
assert.equal(AGENT_DEFAULT_TIERS['gsd-planner'], 'heavy');
assert.equal(AGENT_DEFAULT_TIERS['gsd-codebase-mapper'], 'light');
assert.equal(AGENT_DEFAULT_TIERS['msd-planner'], 'heavy');
assert.equal(AGENT_DEFAULT_TIERS['msd-codebase-mapper'], 'light');
});
});