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

@@ -17,7 +17,7 @@ const { spawnSync } = require('node:child_process');
const { createTempDir, cleanup } = require('./helpers.cjs');
const { copyScriptWithDeps } = require('./helpers/copy-script-fixture.cjs');
const { findTableWithColumns } = require('../gsd-core/bin/lib/markdown-table.cjs');
const { findTableWithColumns } = require('../msd-core/bin/lib/markdown-table.cjs');
const { GENERATOR_SCRIPT_TIMEOUT_MS } = require('./helpers/timeouts.cjs');
const REPO_ROOT = path.resolve(__dirname, '..');
@@ -35,7 +35,7 @@ const END = '<!-- ADR-INDEX:END -->';
*/
function makeRepo(t, files) {
// helpers.cleanup (not raw fs.rmSync) carries the Windows-EBUSY retry budget.
const root = createTempDir('gsd-adr-index-');
const root = createTempDir('msd-adr-index-');
t.after(() => cleanup(root));
fs.mkdirSync(path.join(root, 'docs', 'adr'), { recursive: true });
@@ -818,7 +818,7 @@ describe('#2705: legacy ADR range single-sourced and accurate', () => {
// on stdout, gate-verdict tests below bind to this typed report via
// `runJson`, not stderr prose (REASON is the frozen enum of violation kinds).
//
// Two altitudes, per .gsd/phase/feat-2704-adr-gate-link-resolution/50-test-matrix.md:
// Two altitudes, per .msd/phase/feat-2704-adr-gate-link-resolution/50-test-matrix.md:
// IR altitude — require the real script from REPO_ROOT and assert on
// extractLinks/maskCode's typed return values.
// Gate-verdict altitude — run(root, ['--check']) and assert on exit status +
@@ -1558,7 +1558,7 @@ describe('symlink escape guard (F1/F2)', () => {
}
test('a link traversing a symlink out of the repository is rejected', (t) => {
const outside = createTempDir('gsd-adr-index-outside-');
const outside = createTempDir('msd-adr-index-outside-');
t.after(() => cleanup(outside));
fs.writeFileSync(path.join(outside, 'secret.txt'), 'do not leak me\n');
@@ -1580,7 +1580,7 @@ describe('symlink escape guard (F1/F2)', () => {
});
test('a symlink out of the repository never leaks a filename hint', (t) => {
const outside = createTempDir('gsd-adr-index-outside-');
const outside = createTempDir('msd-adr-index-outside-');
t.after(() => cleanup(outside));
fs.writeFileSync(path.join(outside, 'secret.txt'), 'do not leak me\n');
@@ -1631,7 +1631,7 @@ describe('symlink escape guard (F1/F2)', () => {
// public stderr on a fork PR.
test('an ADR file that is a symlink out of the repository is not read', (t) => {
const outside = createTempDir('gsd-adr-index-outside-');
const outside = createTempDir('msd-adr-index-outside-');
t.after(() => cleanup(outside));
fs.writeFileSync(
path.join(outside, 'evil-source.md'),