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

@@ -5,15 +5,15 @@
* Complexity-triggered refactor extension point — analyzer, evaluator, and
* baseline-persistence behavioral + property tests.
*
* Module: gsd-core/bin/lib/complexity-trigger.cjs (compiled from
* Module: msd-core/bin/lib/complexity-trigger.cjs (compiled from
* src/complexity-trigger.cts — deliberately absent; this file is
* written failing-first per issue #1953's TDD directive).
*
* Spec sources (authoritative, do not drift from these without a design
* change):
* - .gsd/phase/feat-1953-complexity-triggered-refactor/41-api-contract.md
* - .gsd/phase/feat-1953-complexity-triggered-refactor/50-test-matrix.md
* - .gsd/phase/feat-1953-complexity-triggered-refactor/40-design.md
* - .msd/phase/feat-1953-complexity-triggered-refactor/41-api-contract.md
* - .msd/phase/feat-1953-complexity-triggered-refactor/50-test-matrix.md
* - .msd/phase/feat-1953-complexity-triggered-refactor/40-design.md
*
* Coverage map — test matrix rows 1-54 (analyzer counting, the literal-strip
* leak surface, CRLF/empty/size bounds, properties, file selection,
@@ -23,7 +23,7 @@
*
* Hermetic: every temp dir via createTempDir + t.after(cleanup); every fs
* mock via mock.method(fs, ...) restored via t.after(...mock.restore()).
* No shared module-level fixture state (matrix row 91). Ambient GSD_* env
* No shared module-level fixture state (matrix row 91). Ambient MSD_* env
* is not touched by this file — every fixture here is either pure in-memory
* input or an isolated tmpdir (matrix row 92 is structural, not exercised
* by this leaf-module suite).
@@ -53,7 +53,7 @@ const {
reanchorBaseline,
readBaseline,
writeBaseline,
} = require('../gsd-core/bin/lib/complexity-trigger.cjs');
} = require('../msd-core/bin/lib/complexity-trigger.cjs');
// ---------------------------------------------------------------------------
// Analyzer — counting (matrix rows 1-10)
@@ -544,8 +544,8 @@ describe('complexity-trigger: file selection', () => {
});
test('excludesGeneratedLibPathsExplicitly', () => {
assert.equal(isAnalyzablePath('gsd-core/bin/lib/foo.cjs'), false);
assert.equal(isAnalyzablePath('gsd-core\\bin\\lib\\foo.cjs'), false);
assert.equal(isAnalyzablePath('msd-core/bin/lib/foo.cjs'), false);
assert.equal(isAnalyzablePath('msd-core\\bin\\lib\\foo.cjs'), false);
});
});
@@ -962,7 +962,7 @@ describe('complexity-trigger: typed surface', () => {
describe('complexity-trigger: proposal fence-width tolerant read (#3657)', () => {
test('parseProposal accepts a formatter-narrowed 3-backtick fence (#3657)', () => {
const { renderProposal, parseProposal } = require('../gsd-core/bin/lib/complexity-trigger.cjs');
const { renderProposal, parseProposal } = require('../msd-core/bin/lib/complexity-trigger.cjs');
const proposal = {
schema_version: 1,
status: 'proposed',