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

@@ -1,11 +1,11 @@
'use strict';
/**
* #3637 — the orchestrator-worktree process spawn must carry the gsd-executor
* #3637 — the orchestrator-worktree process spawn must carry the msd-executor
* identity and execution contract, not a short objective-only prompt.
*
* The process-spawned child has NO host subagent machinery: nothing loads the
* gsd-executor agent definition or the execute-plan workflow unless the
* msd-executor agent definition or the execute-plan workflow unless the
* EXECUTOR_PROMPT carries them. A short prompt forced both reporters' executors
* to reconstruct their role from repository search AND left them unaware of the
* gitignored-planning skip semantics — so they force-staged gitignored
@@ -23,7 +23,7 @@ const fs = require('node:fs');
const path = require('node:path');
const FRAGMENT = path.join(
__dirname, '..', 'gsd-core', 'workflows', 'execute-phase', 'steps', 'executor-isolation-dispatch.md',
__dirname, '..', 'msd-core', 'workflows', 'execute-phase', 'steps', 'executor-isolation-dispatch.md',
);
// allow-test-rule: source-text-is-the-product the dispatch fragment is runtime-loaded workflow text (#3637)
const content = fs.readFileSync(FRAGMENT, 'utf8');
@@ -102,14 +102,14 @@ test('#4266: embed PERFORMANCE is gated — an un-substituted TDD_APPLICABLE mar
);
});
test('#3637: the gsd-executor ROLE DEFINITION is a mandatory embed with provenance', () => {
test('#3637: the msd-executor ROLE DEFINITION is a mandatory embed with provenance', () => {
// The agent-skills query alone is conditional (its block is a skills list
// whenever the project configures agent_skills; only unconfigured
// non-Claude projects get the full agent file via the #2454 fallback).
// The child has no host subagent machinery — the role definition itself
// must ride the prompt (#3637 acceptance bullets 1 and 5).
const body = promptBody();
assert.match(body, /agents\/gsd-executor\.md/, 'the role definition file must be named as an embedded source');
assert.match(body, /agents\/msd-executor\.md/, 'the role definition file must be named as an embedded source');
assert.match(body, /steps\s*0\/0a\/0b/, 'the per-commit HEAD/cwd-drift/path-guard discipline must be pointed at');
});
@@ -119,7 +119,7 @@ test('#3637: prior-wave summaries are required reading (parallel waves must not
});
test('#3637: the persona rides the prompt (${AGENT_SKILLS}), same as the harness path', () => {
assert.match(promptBody(), /\$\{AGENT_SKILLS\}/, 'the gsd-executor persona variable must be spliced into the prompt');
assert.match(promptBody(), /\$\{AGENT_SKILLS\}/, 'the msd-executor persona variable must be spliced into the prompt');
});
test('#3637: the prompt body contains no single-quote character (single-quoted assignment)', () => {