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:
@@ -14,12 +14,12 @@ const { describe, test } = require('node:test');
|
||||
const assert = require('node:assert/strict');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const { createTempProject, cleanup, runGsdTools } = require('./helpers.cjs');
|
||||
const { createTempProject, cleanup, runMsdTools } = require('./helpers.cjs');
|
||||
|
||||
const CONFIG_CJS_PATH = path.join(__dirname, '..', 'gsd-core', 'bin', 'lib', 'config.cjs');
|
||||
const SHIP_MD_PATH = path.join(__dirname, '..', 'gsd-core', 'workflows', 'ship.md');
|
||||
const CODE_REVIEW_COMMAND_MD_PATH = path.join(__dirname, '..', 'commands', 'gsd', 'code-review.md');
|
||||
const CONFIG_TEMPLATE_PATH = path.join(__dirname, '..', 'gsd-core', 'templates', 'config.json');
|
||||
const CONFIG_CJS_PATH = path.join(__dirname, '..', 'msd-core', 'bin', 'lib', 'config.cjs');
|
||||
const SHIP_MD_PATH = path.join(__dirname, '..', 'msd-core', 'workflows', 'ship.md');
|
||||
const CODE_REVIEW_COMMAND_MD_PATH = path.join(__dirname, '..', 'commands', 'msd', 'code-review.md');
|
||||
const CONFIG_TEMPLATE_PATH = path.join(__dirname, '..', 'msd-core', 'templates', 'config.json');
|
||||
|
||||
describe('code_review_command config key', () => {
|
||||
test('workflow.code_review_command is in VALID_CONFIG_KEYS', () => {
|
||||
@@ -40,7 +40,7 @@ describe('code_review_command config key', () => {
|
||||
JSON.stringify({ workflow: {} }, null, 2)
|
||||
);
|
||||
|
||||
const result = runGsdTools(
|
||||
const result = runMsdTools(
|
||||
['config-set', 'workflow.code_review_command', 'my-review-tool --review'],
|
||||
tmpDir,
|
||||
{ HOME: tmpDir }
|
||||
@@ -145,21 +145,21 @@ describe('ship workflow code_review_command integration', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('#4209 optional source-reviewer flags (commands/gsd/code-review.md)', () => {
|
||||
describe('#4209 optional source-reviewer flags (commands/msd/code-review.md)', () => {
|
||||
const commandContent = fs.readFileSync(CODE_REVIEW_COMMAND_MD_PATH, 'utf-8');
|
||||
|
||||
test('code-review.md command references the canonical reviewer-lane roster, not a static flag list', () => {
|
||||
assert.ok(
|
||||
commandContent.includes('review-lane flags'),
|
||||
'commands/gsd/code-review.md must derive optional reviewer-lane flags from `gsd_run review-lane flags` (DOCS-03), not a hand-maintained list'
|
||||
'commands/msd/code-review.md must derive optional reviewer-lane flags from `msd_run review-lane flags` (DOCS-03), not a hand-maintained list'
|
||||
);
|
||||
});
|
||||
|
||||
test('code-review.md command documents that reviewer-lane findings are corroborating evidence only', () => {
|
||||
assert.ok(
|
||||
/gsd-code-reviewer/.test(commandContent) &&
|
||||
/msd-code-reviewer/.test(commandContent) &&
|
||||
(commandContent.includes('internal') || commandContent.includes('verifies')),
|
||||
'commands/gsd/code-review.md must document that the internal gsd-code-reviewer agent alone verifies and writes REVIEW.md (CONS-01..03)'
|
||||
'commands/msd/code-review.md must document that the internal msd-code-reviewer agent alone verifies and writes REVIEW.md (CONS-01..03)'
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user