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

@@ -2,7 +2,7 @@
'use strict';
/**
* lint-portable-grep.cjs — ban GNU-only `grep -P`/`--perl-regexp` in gsd
* lint-portable-grep.cjs — ban GNU-only `grep -P`/`--perl-regexp` in msd
* workflow / agent / reference / command markdown (#4112 macOS regression).
*
* ## Why
@@ -13,7 +13,7 @@
* `... | grep -oP '...' || true` swallows that error and silently resolves to
* an empty string instead of failing loudly.
*
* This is exactly what happened in `gsd-core/workflows/pause-work.md`'s
* This is exactly what happened in `msd-core/workflows/pause-work.md`'s
* Context Detection step (#4112, merged as #4140): the fix for the `$((`
* shell-syntax bug left `grep -oP 'phases/\K[^/]+'` in place. That construct
* had never been exercised on macOS before (the syntax error masked it), so
@@ -22,7 +22,7 @@
* which the PR's own new regression test then caught, but only in the
* post-merge `full test (macos-latest, ...)` matrix. That lane runs on push
* to the base branch, not on the pull_request event, so nothing pre-merge
* (gsd-test's Linux-only benches included) could have caught it before `next`
* (msd-test's Linux-only benches included) could have caught it before `next`
* went red.
*
* This is the same class of defect `lint-portable-timeout.cjs` (#2351) exists
@@ -70,7 +70,7 @@ const ROOT = path.join(__dirname, '..');
// Surfaces whose markdown carries agent-executed bash. Mirrors
// lint-portable-timeout.cjs's roots — the same files that can ship shell
// snippets which a bash/zsh host on macOS actually executes.
const DEFAULT_ROOTS = ['gsd-core/workflows', 'gsd-core/references', 'agents', 'commands'];
const DEFAULT_ROOTS = ['msd-core/workflows', 'msd-core/references', 'agents', 'commands'];
// A `grep`/`egrep`/`fgrep` token, anchored to a command position (line start,
// right after `| & ; ( \` {`, or right after a shell keyword that opens a new
@@ -153,7 +153,7 @@ function scan(roots = DEFAULT_ROOTS) {
}
function main() {
const rootsEnv = process.env.GSD_LINT_PORTABLE_GREP_ROOTS;
const rootsEnv = process.env.MSD_LINT_PORTABLE_GREP_ROOTS;
const roots = rootsEnv ? rootsEnv.split(path.delimiter).filter(Boolean) : DEFAULT_ROOTS;
const offenders = scan(roots);
if (offenders.length > 0) {