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 @@
/**
* stryker.config.mjs
*
* Mutation testing configuration for gsd-core.
* Mutation testing configuration for msd-core.
*
* Test runner: 'tap' (@stryker-mutator/tap-runner)
* Runs: node --test-reporter=tap over each per-shard test file (tap.testFiles,
@@ -51,18 +51,18 @@ const { resolveMutationBreak, resolveMutationTestFiles } = _require('./scripts/m
// never delete an entry without that coverage (it will only produce survived
// mutants and trip the break threshold).
const UNMUTATED = [
'!gsd-core/bin/lib/command-aliases.cjs',
'!gsd-core/bin/lib/commands.cjs',
'!gsd-core/bin/lib/core.cjs',
'!gsd-core/bin/lib/install-profiles.cjs',
'!gsd-core/bin/lib/installer-migrations.cjs',
'!gsd-core/bin/lib/phase.cjs',
'!gsd-core/bin/lib/profile-output.cjs',
'!gsd-core/bin/lib/state.cjs',
'!gsd-core/bin/lib/verify.cjs',
'!gsd-core/bin/lib/init.cjs',
'!gsd-core/bin/lib/audit.cjs',
'!gsd-core/bin/lib/gsd2-import.cjs',
'!msd-core/bin/lib/command-aliases.cjs',
'!msd-core/bin/lib/commands.cjs',
'!msd-core/bin/lib/core.cjs',
'!msd-core/bin/lib/install-profiles.cjs',
'!msd-core/bin/lib/installer-migrations.cjs',
'!msd-core/bin/lib/phase.cjs',
'!msd-core/bin/lib/profile-output.cjs',
'!msd-core/bin/lib/state.cjs',
'!msd-core/bin/lib/verify.cjs',
'!msd-core/bin/lib/init.cjs',
'!msd-core/bin/lib/audit.cjs',
'!msd-core/bin/lib/gsd2-import.cjs',
];
/** @type {import('@stryker-mutator/core').PartialStrykerOptions} */
@@ -73,8 +73,8 @@ export default {
testFiles: resolveMutationTestFiles(process.env.MUTATION_TEST_FILES),
// forceBail is OFF (MEASURED, #3915): a structural AST audit of all 26 shard test
// files found 3 that spawn subprocesses — tests/config-schema.property.test.cjs
// (6 runGsdTools calls), tests/core-utils.test.cjs (1), and
// tests/feat-3881-yaml-parser-consequences.test.cjs (2 runGsdTools + 2 runNode).
// (6 runMsdTools calls), tests/core-utils.test.cjs (1), and
// tests/feat-3881-yaml-parser-consequences.test.cjs (2 runMsdTools + 2 runNode).
// @stryker-mutator/tap-runner's docs warn that with forceBail on, a runner that
// spawns child processes can be terminated prematurely — bail fires on every KILLED
// mutant (i.e. most of them), so leaving it on would kill hundreds of processes
@@ -85,7 +85,7 @@ export default {
forceBail: false,
// No nodeArgs, and no top-level buildCommand (ADR-457): the plugin's default argv,
// ["--test-reporter=tap", "-r", "{{hookFile}}", "{{testFile}}"], contains no build
// step, and ADR-457 requires Stryker to test the ALREADY-BUILT gsd-core/bin/lib/*.cjs
// step, and ADR-457 requires Stryker to test the ALREADY-BUILT msd-core/bin/lib/*.cjs
// artifacts with no rebuild between mutation and test.
},
@@ -93,8 +93,8 @@ export default {
// The built bin/lib/*.cjs artifacts (ADR-457). CI overrides this with
// --mutate <changed, covered modules> computed in mutation.yml.
mutate: [
'gsd-core/bin/lib/**/*.cjs',
'!gsd-core/bin/lib/**/*.test.cjs',
'msd-core/bin/lib/**/*.cjs',
'!msd-core/bin/lib/**/*.test.cjs',
...UNMUTATED,
],