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:
Jakub Zych
2026-10-06 01:47:40 +02:00
parent fe069b2a56
commit a9a7a328e6
2763 changed files with 78465 additions and 78434 deletions

View File

@@ -13,8 +13,8 @@ const fs = require('node:fs');
const path = require('node:path');
const fc = require('fast-check');
const { REVIEWER_LANES } = require('../gsd-core/bin/lib/review-lane-descriptor.cjs');
const { resolveLanePlan, resolveLaneEffort, LANE_UNAVAILABLE } = require('../gsd-core/bin/lib/review-lane-invocation.cjs');
const { REVIEWER_LANES } = require('../msd-core/bin/lib/review-lane-descriptor.cjs');
const { resolveLanePlan, resolveLaneEffort, LANE_UNAVAILABLE } = require('../msd-core/bin/lib/review-lane-invocation.cjs');
const {
checkEgressHost,
probeLane,
@@ -33,9 +33,9 @@ const {
resolveSpawnModel,
BANNER_SCAN_LINES,
MODEL_VALUE_MAX,
} = require('../gsd-core/bin/lib/review-lane-runner.cjs');
} = require('../msd-core/bin/lib/review-lane-runner.cjs');
const REVIEW_MD = path.join(__dirname, '..', 'gsd-core', 'workflows', 'review.md');
const REVIEW_MD = path.join(__dirname, '..', 'msd-core', 'workflows', 'review.md');
const RUN = '/run';
const ROOT = '/repo';
@@ -217,7 +217,7 @@ describe('runner — empty-output policy (#2494 / #2605 / #2794)', () => {
test('empty output writes a stub carrying the captured stderr', () => {
const p = plan('cursor');
const d = deps({ files: { [`${RUN}/gsd-review-cursor.err`]: 'auth failed' } });
const d = deps({ files: { [`${RUN}/msd-review-cursor.err`]: 'auth failed' } });
const r = writeReviewOrStub(p, '', d);
assert.equal(r.stubbed, true);
assert.ok(d.files[p.reviewPath].includes('failed or returned empty output'));
@@ -753,7 +753,7 @@ describe('runner — orchestration', () => {
// (#1698); a stdout redirect would append that to a non-empty file and slip past the guard.
const p = plan('codex');
const d = deps({
files: { [`${RUN}/gsd-review-codex.md`]: 'FROM FILE' },
files: { [`${RUN}/msd-review-codex.md`]: 'FROM FILE' },
spawn: () => ({ status: 0, stdout: 'TEARDOWN NOISE', stderr: '' }),
});
await runLane(p, d, { repoRoot: ROOT });
@@ -771,7 +771,7 @@ describe('runner — orchestration', () => {
test('the prompt reaches stdin for a stdin lane', async () => {
const p = plan('qwen');
const d = deps({
files: { [`${RUN}/gsd-review-prompt.md`]: 'THE PLAN' },
files: { [`${RUN}/msd-review-prompt.md`]: 'THE PLAN' },
spawn: (b, a, o) => { d.spawns.push({ b, a, o }); return { status: 0, stdout: 'R', stderr: '' }; },
});
await runLane(p, d, { repoRoot: ROOT });
@@ -781,7 +781,7 @@ describe('runner — orchestration', () => {
test('a prompt-less lane is fed nothing', async () => {
const p = plan('coderabbit');
const d = deps({
files: { [`${RUN}/gsd-review-prompt.md`]: 'THE PLAN' },
files: { [`${RUN}/msd-review-prompt.md`]: 'THE PLAN' },
spawn: (b, a, o) => { d.spawns.push({ b, a, o }); return { status: 0, stdout: 'R', stderr: '' }; },
});
await runLane(p, d, { repoRoot: ROOT });
@@ -974,7 +974,7 @@ describe('#2605 local OpenAI-compatible lanes produce diagnosable output', () =>
: (typeof chatResponse === 'function' ? chatResponse(url, opts) : chatResponse);
}
function deps(httpJson, files = { [`${RUN}/gsd-review-prompt.md`]: 'PLAN' }) {
function deps(httpJson, files = { [`${RUN}/msd-review-prompt.md`]: 'PLAN' }) {
const warnings = [];
return {
files,
@@ -1152,7 +1152,7 @@ describe('#2794 qwen reviewer stderr capture', () => {
// invocation obliged grounding and nothing verified it, so measured plan-only reviews (zero real
// file:line citations, invented PLAN-line references) rode the declared class at full consensus
// weight — the weakest review getting the strongest weight, silently. The fix stamps a
// down-weight marker onto a citation-free review BEFORE it reaches {run_dir}/gsd-review-<slug>.md,
// down-weight marker onto a citation-free review BEFORE it reaches {run_dir}/msd-review-<slug>.md,
// and the Consensus Summary step recognizes the marker exactly as it already recognizes
// [reviewed-without-repo-access] (#2176).
describe('#3194 — evidence grounding is verified from review output, not declared', () => {
@@ -1223,7 +1223,7 @@ describe('#3194 — evidence grounding is verified from review output, not decla
});
});
describe('runLane — the stamp reaches {run_dir}/gsd-review-<slug>.md', () => {
describe('runLane — the stamp reaches {run_dir}/msd-review-<slug>.md', () => {
test('cursor: zero citations → the review file carries the down-weight marker', async () => {
const p = plan('cursor');
const d = deps({ spawn: () => ({ status: 0, stdout: PLAN_ONLY, stderr: '' }) });