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

@@ -3,8 +3,8 @@
/**
* Benchmarks the token-count effect of every registered variant-swap pair
* (ADR-4139, Phase 6 #4406 — `gsd-core/workflows/<name>/{modes,steps,templates}/*.compact.md`
* and `gsd-core/templates/**\/*.compact.md`). Sibling to
* (ADR-4139, Phase 6 #4406 — `msd-core/workflows/<name>/{modes,steps,templates}/*.compact.md`
* and `msd-core/templates/**\/*.compact.md`). Sibling to
* `scripts/benchmark-compact-content.cjs` (Phase 3's spine/detail benchmark) rather than an
* extension of it — the two are different data shapes (a variant pair is two independent,
* deliberately-overlapping complete files; a spine/detail split is one document partitioned in
@@ -14,7 +14,7 @@
* For every registered pair it reports the "off" token count (the canonical file — what
* `workflow.compact_content=false`, the default, pays at that call site) against the "on" token
* count (the `.compact.md` sibling — what `workflow.compact_content=true` pays once the gate
* resolves to it). See `gsd-core/references/compact-content-gate.md` §"Streams 1b and 4" for the
* resolves to it). See `msd-core/references/compact-content-gate.md` §"Streams 1b and 4" for the
* resolution rule this measures.
*
* PROXY-TOKENIZER CAVEAT: same as the sibling script — `gpt-tokenizer` is a stand-in tokenizer;
@@ -50,8 +50,8 @@ const ROOT = path.resolve(__dirname, '..');
// (cmdAgentSkills), not a markdown literal reference, but token accounting
// doesn't care how a pair is reached — only that it's registered.
const VARIANT_ROOTS = [
path.join(ROOT, 'gsd-core', 'workflows'),
path.join(ROOT, 'gsd-core', 'templates'),
path.join(ROOT, 'msd-core', 'workflows'),
path.join(ROOT, 'msd-core', 'templates'),
path.join(ROOT, 'agents'),
];
const BASELINE_PATH = path.join(ROOT, 'tests', 'fixtures', 'compact-content-variant-benchmark-baseline.json');