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:
@@ -6,15 +6,15 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
process.env.GSD_TEST_MODE = '1';
|
||||
process.env.MSD_TEST_MODE = '1';
|
||||
|
||||
const { test } = require('node:test');
|
||||
const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const PLAN_PHASE_PATH = path.join(__dirname, '..', 'gsd-core', 'workflows', 'plan-phase.md');
|
||||
const PROMPT_PATH = path.join(__dirname, '..', 'gsd-core', 'templates', 'planner-subagent-prompt.md');
|
||||
const PLAN_PHASE_PATH = path.join(__dirname, '..', 'msd-core', 'workflows', 'plan-phase.md');
|
||||
const PROMPT_PATH = path.join(__dirname, '..', 'msd-core', 'templates', 'planner-subagent-prompt.md');
|
||||
|
||||
function readPlanPhase() {
|
||||
return fs.readFileSync(PLAN_PHASE_PATH, 'utf8');
|
||||
@@ -23,7 +23,7 @@ function readPlanPhase() {
|
||||
// Extract the planner <downstream_consumer> block from plan-phase.md. The runtime planner is
|
||||
// spawned from plan-phase.md's own inline <planning_context>/<downstream_consumer>, so the
|
||||
// load-bearing lift instruction must live here — NOT in templates/planner-subagent-prompt.md,
|
||||
// which nothing loads at runtime (no @-import in agents/gsd-planner.md, no read in plan-phase.md).
|
||||
// which nothing loads at runtime (no @-import in agents/msd-planner.md, no read in plan-phase.md).
|
||||
function extractDownstreamConsumerBlock(content) {
|
||||
const start = content.indexOf('<downstream_consumer>');
|
||||
if (start === -1) return '';
|
||||
|
||||
Reference in New Issue
Block a user