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:
@@ -1,5 +1,5 @@
|
||||
// allow-test-rule: source-text-is-the-product (see #3149)
|
||||
// gsd-core/workflows/debug.md is shipped prompt content: the text IS what the
|
||||
// msd-core/workflows/debug.md is shipped prompt content: the text IS what the
|
||||
// runtime loads, so its Step 0 contract can only be asserted against the text.
|
||||
// The behavioral half of this change lives in tests/init-debug.test.cjs, which
|
||||
// carries no exemption.
|
||||
@@ -9,7 +9,7 @@
|
||||
/**
|
||||
* `debug.md` Step 0 contract after the `init.debug` consolidation (#3149).
|
||||
*
|
||||
* Matrix: `.gsd/phase/feat-3149-cmdinitdebug/50-test-matrix.md` group F.
|
||||
* Matrix: `.msd/phase/feat-3149-cmdinitdebug/50-test-matrix.md` group F.
|
||||
*
|
||||
* Guards the four ways this consolidation can silently regress:
|
||||
* F1/F2 — a replaced round-trip creeping back, or the new one being lost.
|
||||
@@ -26,12 +26,12 @@ const assert = require('node:assert/strict');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const WORKFLOW_PATH = path.join(__dirname, '..', 'gsd-core', 'workflows', 'debug.md');
|
||||
const WORKFLOW_PATH = path.join(__dirname, '..', 'msd-core', 'workflows', 'debug.md');
|
||||
const workflow = fs.readFileSync(WORKFLOW_PATH, 'utf-8');
|
||||
|
||||
/** Every `gsd_run query <name>` invocation in the workflow, in document order. */
|
||||
/** Every `msd_run query <name>` invocation in the workflow, in document order. */
|
||||
function queryInvocations(text) {
|
||||
return [...text.matchAll(/gsd_run query ([\w.-]+)/g)].map((m) => m[1]);
|
||||
return [...text.matchAll(/msd_run query ([\w.-]+)/g)].map((m) => m[1]);
|
||||
}
|
||||
|
||||
describe('debug.md Step 0 init contract (#3149, matrix §F)', () => {
|
||||
@@ -45,7 +45,7 @@ describe('debug.md Step 0 init contract (#3149, matrix §F)', () => {
|
||||
|
||||
assert.equal(queries.includes('state.load'), false, 'state.load is replaced by init.debug');
|
||||
assert.equal(
|
||||
workflow.includes('resolve-model gsd-debugger'),
|
||||
workflow.includes('resolve-model msd-debugger'),
|
||||
false,
|
||||
'debugger_model now rides the init bundle'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user