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

@@ -1,7 +1,7 @@
'use strict';
// allow-test-rule: source-text-is-the-product see #2994 — this file asserts that
// specific prose/resolver LINES remain physically outside a `<!-- gsd:section
// specific prose/resolver LINES remain physically outside a `<!-- msd:section
// -->` marker pair in the HOST workflow .md files. The deployed contract IS
// the exact text and its position relative to the marker boundary (a runtime
// that reads only the gated fragment must still see the flag-absent
@@ -12,7 +12,7 @@
/**
* Inversion-guard tests — #2994 (epic #1671 Phase 6.3) matrix §F, the
* highest-risk edit in the PR (`.gsd/phase/chore-2994-fragment-model-workflows/
* highest-risk edit in the PR (`.msd/phase/chore-2994-fragment-model-workflows/
* 50-test-matrix.md`): gating `discuss-phase-assumptions.md`'s `auto_advance`
* step WHOLE would delete the flag-absent fallback ("End here — confirm_creation
* already ran; do not route back to it."), removing text needed EXACTLY when
@@ -37,9 +37,9 @@ const assert = require('node:assert/strict');
const fs = require('fs');
const path = require('path');
const { parseWorkflowSections } = require('../gsd-core/bin/lib/workflow-fragments.cjs');
const { parseWorkflowSections } = require('../msd-core/bin/lib/workflow-fragments.cjs');
const WORKFLOWS_DIR = path.join(__dirname, '..', 'gsd-core', 'workflows');
const WORKFLOWS_DIR = path.join(__dirname, '..', 'msd-core', 'workflows');
function readWorkflow(name) {
const filePath = path.join(WORKFLOWS_DIR, `${name}.md`);
@@ -62,14 +62,14 @@ function outsideGatedText(sections) {
describe('discuss-phase-assumptions.md: the flag-absent fallback survives exclusion (matrix §F, highest-risk edit)', () => {
const { content } = readWorkflow('discuss-phase-assumptions');
const sections = parseWorkflowSections(content, 'gsd-core/workflows/discuss-phase-assumptions.md');
const sections = parseWorkflowSections(content, 'msd-core/workflows/discuss-phase-assumptions.md');
const GATED_ID = 'auto-advance-dispatch';
const FALLBACK_TEXT = 'End here — `confirm_creation` already ran; do not route back to it.';
const RESOLVER_MARKERS = [
'Parse `--auto` flag from $ARGUMENTS',
'gsd_run query config-set workflow._auto_chain_active',
'AUTO_MODE=$(gsd_run query check auto-mode --pick active',
'msd_run query config-set workflow._auto_chain_active',
'AUTO_MODE=$(msd_run query check auto-mode --pick active',
];
test('the gated section exists and is when="state:auto-advance-active" (sanity)', () => {
@@ -121,7 +121,7 @@ describe('discuss-phase-assumptions.md: the flag-absent fallback survives exclus
describe('verify-work.md: the MVP false-branch note survives exclusion of mvp-uat-framing (same class as §F)', () => {
const { content } = readWorkflow('verify-work');
const sections = parseWorkflowSections(content, 'gsd-core/workflows/verify-work.md');
const sections = parseWorkflowSections(content, 'msd-core/workflows/verify-work.md');
const GATED_ID = 'mvp-uat-framing';
const FALSE_BRANCH_NOTE = 'When `MVP_MODE=false` (mode is null, absent, or the phase has no `**Mode:**` line in ROADMAP.md), fall back to the standard UAT generation path — no behavioral change.';