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,12 +1,12 @@
|
||||
'use strict';
|
||||
process.env.GSD_TEST_MODE = '1';
|
||||
process.env.MSD_TEST_MODE = '1';
|
||||
|
||||
/**
|
||||
* Default-flip-documentation lint (DEFECT.DEFAULT-FLIP-DOCUMENTATION,
|
||||
* CONTEXT.md).
|
||||
*
|
||||
* scripts/lint-default-flip-documentation.cjs fails a PR that changes an
|
||||
* EXISTING default value in gsd-core/bin/shared/config-defaults.manifest.json
|
||||
* EXISTING default value in msd-core/bin/shared/config-defaults.manifest.json
|
||||
* (the single source `CONFIG_DEFAULTS` loads at runtime) without a
|
||||
* `## Breaking Changes` PR-body section covering the migration semantics
|
||||
* (#3309: the v2 default flip from mid-flight to end-of-phase).
|
||||
@@ -140,7 +140,7 @@ describe('default-flip-documentation lint: main() end-to-end wiring', () => {
|
||||
}
|
||||
|
||||
test('exit 1: a flipped default with no Breaking Changes section in the PR body', (t) => {
|
||||
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-default-flip-e2e-'));
|
||||
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-default-flip-e2e-'));
|
||||
t.after(() => cleanup(tmpDir));
|
||||
const scriptCopy = buildRepo(
|
||||
tmpDir,
|
||||
@@ -153,7 +153,7 @@ describe('default-flip-documentation lint: main() end-to-end wiring', () => {
|
||||
});
|
||||
|
||||
test('exit 0: a flipped default WITH a Breaking Changes section', (t) => {
|
||||
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-default-flip-e2e-doc-'));
|
||||
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-default-flip-e2e-doc-'));
|
||||
t.after(() => cleanup(tmpDir));
|
||||
const scriptCopy = buildRepo(
|
||||
tmpDir,
|
||||
@@ -163,13 +163,13 @@ describe('default-flip-documentation lint: main() end-to-end wiring', () => {
|
||||
const result = runWithPrBody(
|
||||
tmpDir,
|
||||
scriptCopy,
|
||||
'## Breaking Changes\n\nNew default takes effect when config.json is regenerated; opt back in with `gsd config-set workflow.human_verify_mode mid-flight`.',
|
||||
'## Breaking Changes\n\nNew default takes effect when config.json is regenerated; opt back in with `msd config-set workflow.human_verify_mode mid-flight`.',
|
||||
);
|
||||
assert.equal(result.exitCode, 0, `expected exit 0, got ${result.exitCode}: ${result.stderr}`);
|
||||
});
|
||||
|
||||
test('LOOKALIKE: manifest restructured/reformatted with identical resolved values does NOT fail, even with no Breaking Changes section', (t) => {
|
||||
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-default-flip-e2e-reformat-'));
|
||||
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-default-flip-e2e-reformat-'));
|
||||
t.after(() => cleanup(tmpDir));
|
||||
const scriptCopy = buildRepo(
|
||||
tmpDir,
|
||||
@@ -181,7 +181,7 @@ describe('default-flip-documentation lint: main() end-to-end wiring', () => {
|
||||
});
|
||||
|
||||
test('exit 0 and skip when there is no PR event payload (push / local run)', (t) => {
|
||||
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-default-flip-e2e-noevent-'));
|
||||
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-default-flip-e2e-noevent-'));
|
||||
t.after(() => cleanup(tmpDir));
|
||||
const scriptCopy = buildRepo(tmpDir, { a: 1 }, { a: 2 });
|
||||
const result = runNode(
|
||||
|
||||
Reference in New Issue
Block a user