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

@@ -15,8 +15,8 @@ const _require: NodeRequire = require;
// Resolve model-catalog.json via a prioritised candidate list so the module
// works in every layout:
//
// 1. Co-located install path — gsd-core/bin/shared/model-catalog.json
// 2. GSD_MODEL_CATALOG env override
// 1. Co-located install path — msd-core/bin/shared/model-catalog.json
// 2. MSD_MODEL_CATALOG env override
//
// A third candidate — `sdk/shared/model-catalog.json`, three levels up — used to
// sit between them. It was the legacy source-repo path kept as a fallback by the
@@ -29,7 +29,7 @@ const _require: NodeRequire = require;
// implies a package boundary this repo no longer has.
const _catalogCandidates: string[] = [
path.resolve(__dirname, '..', 'shared', 'model-catalog.json'),
...(process.env['GSD_MODEL_CATALOG'] ? [path.resolve(process.env['GSD_MODEL_CATALOG'])] : []),
...(process.env['MSD_MODEL_CATALOG'] ? [path.resolve(process.env['MSD_MODEL_CATALOG'])] : []),
];
/** Typed tier entry from model-catalog.json (model + optional reasoning_effort). */
@@ -148,7 +148,7 @@ export const PROVIDER_PRESETS: Record<string, Record<string, Record<string, Tier
// ─── #3007 — Codex per-model effort capability ───────────────────────────────
//
// Codex's own `models.json` publishes `supported_reasoning_levels` per model and
// rejects an unsupported level at request time, so GSD must be conservative
// rejects an unsupported level at request time, so MSD must be conservative
// about what it sends: read the ceiling as DATA from the catalog (never
// branch on model id in code) and fall back to the family baseline for any
// model the catalog doesn't know about.
@@ -198,7 +198,7 @@ export const KNOWN_PROVIDERS: Set<string> = new Set(
// ─── #3241 — Anthropic-flavored model detection ──────────────────────────────
//
// Moved here from src/model-resolver.cts (the "seam decision" in
// .gsd/phase/feat-3241-codex-omit-model-by-default/40-design.md): this leaf
// .msd/phase/feat-3241-codex-omit-model-by-default/40-design.md): this leaf
// module is the one common dependency both model-resolver and the (layering-
// restricted) install-time Codex-posture checks can share without pulling
// model-resolver's config-loader dependency chain into a "pure read/verify"
@@ -433,7 +433,7 @@ export function renderEffortForRuntime(runtime: string, universalEffort: string,
if (runtime === 'codex') {
// #2167 — 'ultra' turns on Codex's automatic task delegation, which would
// let Codex spawn agents underneath GSD's own orchestration. GSD rejects
// let Codex spawn agents underneath MSD's own orchestration. MSD rejects
// it unconditionally as a POLICY call, never as a capability clamp — this
// holds even for a model (e.g. gpt-5.6-sol) that DOES advertise 'ultra',
// so it is never softened down to 'max'.
@@ -444,7 +444,7 @@ export function renderEffortForRuntime(runtime: string, universalEffort: string,
channel: null,
requested: 'ultra',
clamped: false,
reason: "'ultra' turns on Codex's automatic task delegation, which would let Codex spawn agents underneath GSD's own orchestration (#2167); GSD rejects it regardless of what the model advertises.",
reason: "'ultra' turns on Codex's automatic task delegation, which would let Codex spawn agents underneath MSD's own orchestration (#2167); MSD rejects it regardless of what the model advertises.",
};
}