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:
@@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Tests for scripts/gen-state-md-docs.cjs — the generator half of ADR-3473
|
||||
* §8.8 / issue #3873 Phase 3 (`.gsd/phase/feat-3873-state-md-schema/`).
|
||||
* §8.8 / issue #3873 Phase 3 (`.msd/phase/feat-3873-state-md-schema/`).
|
||||
*
|
||||
* Covers test-matrix rows 10-22 and 27 (`50-test-matrix.md`). Rows 12, 13 and
|
||||
* 19 are about the LOCALE-PARITY behavior itself (structural, never
|
||||
@@ -29,7 +29,7 @@ const { createTempDir, cleanup } = require('./helpers.cjs');
|
||||
const { runNode } = require('./helpers/process-seam.cjs');
|
||||
const { GENERATOR_SCRIPT_TIMEOUT_MS } = require('./helpers/timeouts.cjs');
|
||||
const gen = require('../scripts/gen-state-md-docs.cjs');
|
||||
const { splitLines, detectEol, joinLines } = require('../gsd-core/bin/lib/text-lines.cjs');
|
||||
const { splitLines, detectEol, joinLines } = require('../msd-core/bin/lib/text-lines.cjs');
|
||||
|
||||
const ROOT = path.resolve(__dirname, '..');
|
||||
const SCRIPT = path.join(ROOT, 'scripts', 'gen-state-md-docs.cjs');
|
||||
@@ -318,7 +318,7 @@ describe('gen-state-md-docs.cjs generated template validity (#3873 row 27)', ()
|
||||
// and `tests/state.test.cjs`'s `readShippedStateTemplateBody` use: find
|
||||
// the first ```markdown ... ``` fence by raw regex and assert directly on
|
||||
// its content, exactly as an external consumer (an AI agent creating
|
||||
// .planning/STATE.md, or gsd-tools reading the shipped template) would.
|
||||
// .planning/STATE.md, or msd-tools reading the shipped template) would.
|
||||
// Deliberately independent of markdown-sectionizer — this guards the #3873
|
||||
// regression class (a defect IN the generator's own fence-handling), so it
|
||||
// must not share the same seam the generator uses.
|
||||
@@ -348,7 +348,7 @@ describe('gen-state-md-docs.cjs generated template validity (#3873 row 27)', ()
|
||||
if (colonIdx > 0) keys.add(trimmed.slice(0, colonIdx).trim());
|
||||
}
|
||||
|
||||
assert.ok(keys.has('gsd_state_version'), `frontmatter must include 'gsd_state_version', found: ${[...keys].join(', ')}`);
|
||||
assert.ok(keys.has('msd_state_version'), `frontmatter must include 'msd_state_version', found: ${[...keys].join(', ')}`);
|
||||
assert.ok(keys.has('status'), `frontmatter must include 'status', found: ${[...keys].join(', ')}`);
|
||||
assert.ok(keys.has('progress'), `frontmatter must include 'progress', found: ${[...keys].join(', ')}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user