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:
@@ -3,8 +3,8 @@
|
||||
/**
|
||||
* tests/compact-content-template-variant-parity.test.cjs — ADR-4139, epic #4139, Phase 6 (#4406).
|
||||
*
|
||||
* Check 5 of `.gsd/phase/enhance-4406-lazy-remainder/40-design.md`'s variant-pair checklist:
|
||||
* template consumer parity. Only two `gsd-core/templates/**` files got a `.compact.md` variant
|
||||
* Check 5 of `.msd/phase/enhance-4406-lazy-remainder/40-design.md`'s variant-pair checklist:
|
||||
* template consumer parity. Only two `msd-core/templates/**` files got a `.compact.md` variant
|
||||
* wired to a genuine runtime `Read` this phase — `summary.md` and `user-setup.md` (see
|
||||
* `40-design.md`'s "a size-only candidate list was also the wrong test here" for why `spec.md`
|
||||
* was dropped and why `summary.md`'s wiring is scoped to one call site only).
|
||||
@@ -17,7 +17,7 @@
|
||||
* and compact only the surrounding illustrative material (examples, guidelines prose). This test
|
||||
* proves that invariant directly, rather than assuming it from the authoring process, and then
|
||||
* proves the shared contract really is what the one real deterministic consumer
|
||||
* (`gsd-core/bin/lib/coverage.cjs`'s `classifyContent`, backing `gsd-tools uat classify-coverage`)
|
||||
* (`msd-core/bin/lib/coverage.cjs`'s `classifyContent`, backing `msd-tools uat classify-coverage`)
|
||||
* accepts and classifies correctly.
|
||||
*
|
||||
* `user-setup.md` has no deterministic content parser anywhere in this repo (confirmed by
|
||||
@@ -33,7 +33,7 @@ const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const ROOT = path.join(__dirname, '..');
|
||||
const { classifyContent } = require(path.join(ROOT, 'gsd-core', 'bin', 'lib', 'coverage.cjs'));
|
||||
const { classifyContent } = require(path.join(ROOT, 'msd-core', 'bin', 'lib', 'coverage.cjs'));
|
||||
|
||||
/**
|
||||
* Extract the fenced code block immediately following a `## File Template` heading.
|
||||
@@ -55,8 +55,8 @@ function extractFileTemplateBlock(content) {
|
||||
|
||||
describe('template consumer parity — File Template contract identity', () => {
|
||||
test('summary.md and summary.compact.md share a byte-identical File Template block', () => {
|
||||
const canonical = fs.readFileSync(path.join(ROOT, 'gsd-core', 'templates', 'summary.md'), 'utf8');
|
||||
const compact = fs.readFileSync(path.join(ROOT, 'gsd-core', 'templates', 'summary.compact.md'), 'utf8');
|
||||
const canonical = fs.readFileSync(path.join(ROOT, 'msd-core', 'templates', 'summary.md'), 'utf8');
|
||||
const compact = fs.readFileSync(path.join(ROOT, 'msd-core', 'templates', 'summary.compact.md'), 'utf8');
|
||||
const canonicalBlock = extractFileTemplateBlock(canonical);
|
||||
const compactBlock = extractFileTemplateBlock(compact);
|
||||
assert.ok(canonicalBlock, 'canonical summary.md must have an extractable File Template block');
|
||||
@@ -69,8 +69,8 @@ describe('template consumer parity — File Template contract identity', () => {
|
||||
});
|
||||
|
||||
test('user-setup.md and user-setup.compact.md share a byte-identical File Template block', () => {
|
||||
const canonical = fs.readFileSync(path.join(ROOT, 'gsd-core', 'templates', 'user-setup.md'), 'utf8');
|
||||
const compact = fs.readFileSync(path.join(ROOT, 'gsd-core', 'templates', 'user-setup.compact.md'), 'utf8');
|
||||
const canonical = fs.readFileSync(path.join(ROOT, 'msd-core', 'templates', 'user-setup.md'), 'utf8');
|
||||
const compact = fs.readFileSync(path.join(ROOT, 'msd-core', 'templates', 'user-setup.compact.md'), 'utf8');
|
||||
const canonicalBlock = extractFileTemplateBlock(canonical);
|
||||
const compactBlock = extractFileTemplateBlock(compact);
|
||||
assert.ok(canonicalBlock, 'canonical user-setup.md must have an extractable File Template block');
|
||||
|
||||
Reference in New Issue
Block a user