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:
@@ -1,6 +1,6 @@
|
||||
// cursor-workspace.js — shared workspace resolution for Cursor lifecycle hooks (#2587).
|
||||
//
|
||||
// No `gsd-hook-version:` marker, deliberately — matching hooks/lib/git-cmd.js.
|
||||
// No `msd-hook-version:` marker, deliberately — matching hooks/lib/git-cmd.js.
|
||||
// Neither copy path that stages hooks/lib/*.js substitutes the version
|
||||
// placeholder (copyLibDir stamps .sh files only), and the managed-hooks
|
||||
// staleness scan covers top-level hooks/ names, not hooks/lib/. A marker here
|
||||
@@ -16,10 +16,10 @@
|
||||
// the single place that turns that payload into a project root, so the three
|
||||
// hooks cannot drift apart (they previously carried three copies of it).
|
||||
//
|
||||
// Consumers: gsd-cursor-session-start.js, gsd-cursor-stop.js,
|
||||
// gsd-cursor-subagent-start.js. Staged into <config>/hooks/lib/ by
|
||||
// Consumers: msd-cursor-session-start.js, msd-cursor-stop.js,
|
||||
// msd-cursor-subagent-start.js. Staged into <config>/hooks/lib/ by
|
||||
// writeCursorHooksJson (src/runtime-hooks-surface.cts) alongside the scripts
|
||||
// that require it, and registered in the installer's GSD_HOOK_LIB_FILES so
|
||||
// that require it, and registered in the installer's MSD_HOOK_LIB_FILES so
|
||||
// uninstall and the manifest manage it.
|
||||
|
||||
'use strict';
|
||||
@@ -32,7 +32,7 @@ const path = require('path');
|
||||
*
|
||||
* Search order:
|
||||
* 1. Each entry of `workspace_roots` that actually carries .planning/STATE.md
|
||||
* — so a multi-root workspace whose GSD project is not the first root
|
||||
* — so a multi-root workspace whose MSD project is not the first root
|
||||
* still resolves.
|
||||
* 2. process.cwd(), if IT carries .planning/STATE.md. cwd is a CANDIDATE, not
|
||||
* merely the empty-roots fallback: an IDE invocation can supply
|
||||
|
||||
Reference in New Issue
Block a user