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:
@@ -18,14 +18,14 @@
|
||||
* Builds the emitted manifest set (19 real installer spawns) and the workflow/agent size
|
||||
* maps for the tree at `--dir <path>` (default: THIS script's own checkout — i.e.
|
||||
* whatever commit is currently checked out where `gen-emitted-baseline.cjs` itself
|
||||
* lives). Writes the result to `--out <path>` (default `.gsd-cache/emitted-baseline.json`).
|
||||
* lives). Writes the result to `--out <path>` (default `.msd-cache/emitted-baseline.json`).
|
||||
*
|
||||
* `--dir` decouples "which copy of this script runs" from "which tree gets measured"
|
||||
* (#2767). The MEASUREMENT SCHEMA — this script, and the `currentManifests`/
|
||||
* `currentSizes`/`buildParityManifest` functions it calls — always comes from wherever
|
||||
* `gen-emitted-baseline.cjs` itself is being run from (relative `require`s resolve
|
||||
* there); only the tree being measured (which `bin/install.js` gets spawned, which
|
||||
* `hooks/`/`gsd-core/workflows/`/`agents/` get read) moves to `--dir`. That is what lets
|
||||
* `hooks/`/`msd-core/workflows/`/`agents/` get read) moves to `--dir`. That is what lets
|
||||
* a differential apply ONE definition of "the emitted manifest" to two different
|
||||
* commits and stay comparable even as that definition evolves — see
|
||||
* `tests/helpers/emitted-runtime.cjs`'s `buildBaselineAtRef` for the caller that
|
||||
@@ -36,7 +36,7 @@
|
||||
* ## Callers
|
||||
*
|
||||
* 1. CI's push-to-`next` job runs this straight after `next` advances (no `--dir`,
|
||||
* measuring its own checkout), then uploads `.gsd-cache/emitted-baseline.json` as a
|
||||
* measuring its own checkout), then uploads `.msd-cache/emitted-baseline.json` as a
|
||||
* cache entry keyed on the merge sha (.github/workflows/test.yml,
|
||||
* `publish-emitted-baseline` job).
|
||||
* 2. `tests/emitted-attribution.test.cjs`'s real-tree test passes
|
||||
@@ -45,7 +45,7 @@
|
||||
* `git worktree`, symlinks in `node_modules` and runs `npm run build:lib` there
|
||||
* (this script and the test helpers are Node-builtins-only per CONTRIBUTING.md's
|
||||
* "No external dependencies in core", but `tests/helpers/install-shared.cjs`
|
||||
* requires the TSC-compiled, gitignored `gsd-core/bin/lib/*.cjs`, so that one build
|
||||
* requires the TSC-compiled, gitignored `msd-core/bin/lib/*.cjs`, so that one build
|
||||
* step is unavoidable), then spawns THIS repo's OWN `gen-emitted-baseline.cjs`
|
||||
* with `--dir <worktree> --out <tmp>` and reads the artifact back.
|
||||
*
|
||||
@@ -63,7 +63,7 @@ const { currentManifests, currentSizes, git } = require('../tests/helpers/emitte
|
||||
const { BASELINE_VERSION } = require('../tests/helpers/emitted-baseline.cjs');
|
||||
|
||||
const REPO_ROOT = path.join(__dirname, '..');
|
||||
const DEFAULT_OUT = path.join(REPO_ROOT, '.gsd-cache', 'emitted-baseline.json');
|
||||
const DEFAULT_OUT = path.join(REPO_ROOT, '.msd-cache', 'emitted-baseline.json');
|
||||
|
||||
// Reuses emitted-runtime.cjs's `git()` (not a local execFileSync) so the
|
||||
// `-c safe.directory=<dir>` fix for the remote runner's dubious-ownership
|
||||
|
||||
Reference in New Issue
Block a user