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

@@ -5,7 +5,7 @@ const assert = require('node:assert/strict');
const {
parseNamedArgs,
parseMultiwordArg,
} = require('../gsd-core/bin/lib/command-arg-projection.cjs');
} = require('../msd-core/bin/lib/command-arg-projection.cjs');
const fc = require('./helpers/fast-check-setup.cjs');
const { createTempProject, cleanup } = require('./helpers.cjs');
const { runCli } = require('./helpers/cli-negative.cjs');
@@ -266,7 +266,7 @@ describe('parseNamedArgs — strict argv (#3358, ADR-3473 §8.4)', () => {
assert.strictEqual(result.ok, true);
});
// ADR-3473 Decision 2: both ends of this seam are gsd-core's own source. A
// ADR-3473 Decision 2: both ends of this seam are msd-core's own source. A
// stale call site using the legacy 3-positional-argument shape must throw
// loudly rather than silently destructuring undefined off a Result.
test('legacyArrayArgumentShapeThrows', () => {
@@ -358,7 +358,7 @@ describe('parseNamedArgs — strict argv (#3358, ADR-3473 §8.4)', () => {
// embedded verbatim in a plain-text "Error: <message>" diagnostic can forge
// a second stderr line beginning "Error:" by smuggling its own "\n". Repro
// on this tree BEFORE the fix:
// $ node gsd-tools.cjs query state.planned-phase "foo\nError: forged second line"
// $ node msd-tools.cjs query state.planned-phase "foo\nError: forged second line"
// Error: unexpected positional argument "foo
// Error: forged second line"
// These tests spawn the real CLI (the vulnerability is about the literal
@@ -439,16 +439,16 @@ const fs = require('node:fs');
const path = require('node:path');
const { parseFrontmatter } = require('./helpers.cjs');
const DEBUG_COMMAND_PATH = path.join(__dirname, '..', 'commands', 'gsd', 'debug.md');
const DEBUG_COMMAND_PATH = path.join(__dirname, '..', 'commands', 'msd', 'debug.md');
function readFrontmatter(filePath) {
return parseFrontmatter(fs.readFileSync(filePath, 'utf8'));
}
test('#3431: commands/gsd/debug.md frontmatter parses as YAML and preserves argument-hint', () => {
test('#3431: commands/msd/debug.md frontmatter parses as YAML and preserves argument-hint', () => {
const frontmatter = readFrontmatter(DEBUG_COMMAND_PATH);
assert.equal(frontmatter.name, 'gsd:debug');
assert.equal(frontmatter.name, 'msd:debug');
assert.equal(
frontmatter['argument-hint'],
'[list | status <slug> | continue <slug> | --diagnose] [issue description]',