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

@@ -91,7 +91,7 @@ export interface SpawnPlan {
*/
model: string | null;
/**
* The reasoning effort GSD ACTUALLY APPLIED to this invocation, or `null` (#2295).
* The reasoning effort MSD ACTUALLY APPLIED to this invocation, or `null` (#2295).
*
* Shares the same applied-not-merely-configured rule `model` above documents. A lane whose
* `effortChannel` is not `argv` receives no effort argument at all — the placeholder's
@@ -108,7 +108,7 @@ export interface SpawnPlan {
*/
promptPath: string;
outputTarget: OutputTarget;
/** Canonical review path: `<runDir>/gsd-review-<slug>.md`. */
/** Canonical review path: `<runDir>/msd-review-<slug>.md`. */
reviewPath: string;
/** stderr sidecar — never `/dev/null` (#2494). */
errPath: string;
@@ -183,7 +183,7 @@ export interface ResolveInput {
/** Effort argv for lanes whose `effortChannel` is `argv`; empty when the host declares none. */
effortArgs?: readonly string[];
/**
* The bare reasoning-effort level (`'low'`) GSD resolved for this lane's host, or `undefined`
* The bare reasoning-effort level (`'low'`) MSD resolved for this lane's host, or `undefined`
* (#2295). The per-host ARGV RENDERING of this same level arrives separately in `effortArgs` —
* `'low'` renders as `--effort low` for one host and `-c model_reasoning_effort=low` for
* another, and the runner needs the bare level (for the recorded model suffix) independently
@@ -279,7 +279,7 @@ export interface LaneEffort {
source: 'config' | 'lane-default' | 'none';
}
/** Levels GSD's effort axis accepts (#3533). `inherit` selects the no-argument path. */
/** Levels MSD's effort axis accepts (#3533). `inherit` selects the no-argument path. */
const EFFORT_LEVELS: ReadonlySet<string> = new Set([
'minimal', 'low', 'medium', 'high', 'xhigh', 'max', 'inherit',
]);
@@ -298,7 +298,7 @@ const EFFORT_LEVELS: ReadonlySet<string> = new Set([
* argument the CLI rejects and kill the lane outright.
*
* What this function deliberately does NOT do is consult any agent's execution settings. Before
* #4255 the level came from `gsd-plan-checker`'s installed frontmatter through a hardcoded agent
* #4255 the level came from `msd-plan-checker`'s installed frontmatter through a hardcoded agent
* id, so every lane ran at a fast structural verifier's `low` — and, because the rendered argument
* is a CLI config override, it silently beat the effort the operator had configured for that CLI
* itself. A value inherited from an unrelated agent is worse than no value at all, which is why
@@ -402,9 +402,9 @@ export function artifactPaths(runDir: string, slug: string): {
} {
const base = String(runDir ?? '').replace(/\/+$/, '');
return {
promptPath: `${base}/gsd-review-prompt.md`,
reviewPath: `${base}/gsd-review-${slug}.md`,
errPath: `${base}/gsd-review-${slug}.err`,
promptPath: `${base}/msd-review-prompt.md`,
reviewPath: `${base}/msd-review-${slug}.md`,
errPath: `${base}/msd-review-${slug}.err`,
};
}
@@ -415,7 +415,7 @@ export function artifactPaths(runDir: string, slug: string): {
* `0` is a legitimate value meaning "do not trim this lane". Treating 0 as unset would silently
* switch a user who deliberately disabled trimming onto the global budget.
*
* Single source of truth: `gsd-core/bin/gsd-tools.cjs`'s `review-lane plan`/`invoke` and
* Single source of truth: `msd-core/bin/msd-tools.cjs`'s `review-lane plan`/`invoke` and
* `src/reviewer-step-dispatch.cts`'s `dispatchReviewerLanes` both resolve a lane's budget through
* this function rather than each carrying their own copy (#4209 R3 — two verbatim copies drift).
*/
@@ -473,13 +473,13 @@ export function resolveLanePlan(input: ResolveInput): ResolveResult {
);
}
// D4 rule 4: an unknown handler FAILS CLOSED. A lane naming imperative code this GSD version does
// D4 rule 4: an unknown handler FAILS CLOSED. A lane naming imperative code this MSD version does
// not have cannot be run "mostly" — the handler is precisely the part data could not express.
const handler: LaneHandler = lane.handler ?? null;
if (handler !== null && !KNOWN_HANDLERS.has(handler)) {
return fail(
LANE_UNAVAILABLE.UNKNOWN_HANDLER,
`lane '${slug}' names handler '${String(handler)}', which this GSD version does not provide`,
`lane '${slug}' names handler '${String(handler)}', which this MSD version does not provide`,
);
}