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,15 +2,15 @@
|
||||
/**
|
||||
* Failing-first (RED) tests for #2554 — path-scoped code-review depth overrides.
|
||||
*
|
||||
* Binds to the not-yet-built module `gsd-core/bin/lib/code-review-depth.cjs`
|
||||
* (see .gsd/phase/feat-2554-support-path-scoped-code-review-depth-ov/40-design.md
|
||||
* for the behavior table and .gsd/phase/.../50-test-matrix.md for the case
|
||||
* Binds to the not-yet-built module `msd-core/bin/lib/code-review-depth.cjs`
|
||||
* (see .msd/phase/feat-2554-support-path-scoped-code-review-depth-ov/40-design.md
|
||||
* for the behavior table and .msd/phase/.../50-test-matrix.md for the case
|
||||
* matrix these tests are numbered against). The module does not exist yet —
|
||||
* this file is expected to fail until it is built.
|
||||
*
|
||||
* Rows 1-41 and 44-45 (matrix numbering) are pure-function unit tests against
|
||||
* the resolver directly — no fs, no clock, no subprocess. Rows 42-43 are CLI
|
||||
* integration tests through the real `gsd-tools` binary (via runGsdTools),
|
||||
* integration tests through the real `msd-tools` binary (via runMsdTools),
|
||||
* because CONTRIBUTING names the CLI round-trip as the only non-source-grep
|
||||
* way to prove a config key is registered and survives a load. Row 44 has no
|
||||
* quoted "Test name" in the matrix (asserted structurally by construction: every
|
||||
@@ -29,8 +29,8 @@ const {
|
||||
ruleMatchesFile,
|
||||
resolveCodeReviewDepth,
|
||||
normalizeRelPath,
|
||||
} = require('../gsd-core/bin/lib/code-review-depth.cjs');
|
||||
const { runGsdTools, createTempProject, cleanup } = require('./helpers.cjs');
|
||||
} = require('../msd-core/bin/lib/code-review-depth.cjs');
|
||||
const { runMsdTools, createTempProject, cleanup } = require('./helpers.cjs');
|
||||
|
||||
// ─── enum lock ────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -881,14 +881,14 @@ describe('workflow.code_review_depth_overrides — config registration', () => {
|
||||
t.after(() => cleanup(cwd));
|
||||
|
||||
const value = JSON.stringify([{ paths: ['src/auth'], depth: 'deep' }]);
|
||||
const setResult = runGsdTools(
|
||||
const setResult = runMsdTools(
|
||||
['config-set', 'workflow.code_review_depth_overrides', value, '--raw'],
|
||||
cwd,
|
||||
{ HOME: cwd },
|
||||
);
|
||||
assert.strictEqual(setResult.success, true, `config-set failed: ${setResult.error}`);
|
||||
|
||||
const getResult = runGsdTools(
|
||||
const getResult = runMsdTools(
|
||||
['config-get', 'workflow.code_review_depth_overrides'],
|
||||
cwd,
|
||||
{ HOME: cwd },
|
||||
@@ -901,7 +901,7 @@ describe('workflow.code_review_depth_overrides — config registration', () => {
|
||||
const cwd = createTempProject();
|
||||
t.after(() => cleanup(cwd));
|
||||
|
||||
const ensureResult = runGsdTools('config-ensure-section', cwd, { HOME: cwd });
|
||||
const ensureResult = runMsdTools('config-ensure-section', cwd, { HOME: cwd });
|
||||
assert.strictEqual(ensureResult.success, true, `config-ensure-section failed: ${ensureResult.error}`);
|
||||
|
||||
const configPath = path.join(cwd, '.planning', 'config.json');
|
||||
@@ -910,7 +910,7 @@ describe('workflow.code_review_depth_overrides — config registration', () => {
|
||||
config.workflow.code_review_depth_overrides = [{ paths: ['src/billing'], depth: 'quick' }];
|
||||
fs.writeFileSync(configPath, JSON.stringify(config, null, 2), 'utf-8');
|
||||
|
||||
const getResult = runGsdTools(
|
||||
const getResult = runMsdTools(
|
||||
['config-get', 'workflow.code_review_depth_overrides'],
|
||||
cwd,
|
||||
{ HOME: cwd },
|
||||
|
||||
Reference in New Issue
Block a user