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:
@@ -154,7 +154,7 @@ function compareArchiveVersionDesc(aName: string, bName: string): number {
|
||||
|
||||
function listArchiveVersionDirs(cwd: string, wsOverride?: string | null): ArchiveVersionDir[] {
|
||||
// #3804: enumerate BOTH archive shapes under the CURRENT SCOPE's milestones
|
||||
// tree (planningDir — GSD_WORKSTREAM/GSD_PROJECT-aware, exactly the
|
||||
// tree (planningDir — MSD_WORKSTREAM/MSD_PROJECT-aware, exactly the
|
||||
// #2855 scoping findPhaseInternal and getArchivedPhaseDirs rely on):
|
||||
// flat: <scope>/milestones/vX.Y-phases/<phase-dir>/
|
||||
// workstream archive: <scope>/milestones/ws-<slug>-<date>/phases/<phase-dir>/
|
||||
@@ -365,7 +365,7 @@ function findPhaseInternal(cwd: string, phase: unknown, convention?: string | nu
|
||||
if (current) return current;
|
||||
|
||||
// #2855: scope the archived-milestone fallback to the SAME workstream as the
|
||||
// active-phase search above (planningDir(cwd) resolves GSD_WORKSTREAM/GSD_PROJECT
|
||||
// active-phase search above (planningDir(cwd) resolves MSD_WORKSTREAM/MSD_PROJECT
|
||||
// the identical way both places), not the hardcoded project-root tree. Archived
|
||||
// phases genuinely live under a workstream's own `.planning/workstreams/<ws>/
|
||||
// milestones/` — that is where archivePhaseDirectories (milestone.cts) writes
|
||||
@@ -421,7 +421,7 @@ function findPhaseInternal(cwd: string, phase: unknown, convention?: string | nu
|
||||
*
|
||||
* `opts.ws` is tri-state, matching `planningDir`'s own contract: `undefined`
|
||||
* (the default — do not pass `ws` at all) resolves the AMBIENT workstream
|
||||
* from `GSD_WORKSTREAM`; `null` FORCES the project root regardless of any
|
||||
* from `MSD_WORKSTREAM`; `null` FORCES the project root regardless of any
|
||||
* ambient workstream; a string forces that specific workstream.
|
||||
*/
|
||||
function listMilestonePhaseDirs(
|
||||
|
||||
Reference in New Issue
Block a user