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

@@ -16,9 +16,9 @@ const assert = require('node:assert/strict');
const fs = require('fs');
const path = require('path');
const { escapeRegex: escapeRe } = require('../gsd-core/bin/lib/pattern.cjs');
const { escapeRegex: escapeRe } = require('../msd-core/bin/lib/pattern.cjs');
const WORKFLOWS_DIR = path.join(__dirname, '..', 'gsd-core', 'workflows');
const WORKFLOWS_DIR = path.join(__dirname, '..', 'msd-core', 'workflows');
// Workflow file -> EVERY subagent type it spawns and must inject skills for.
// A workflow can spawn more than one agent type: code-review-fix.md spawns the
@@ -26,9 +26,9 @@ const WORKFLOWS_DIR = path.join(__dirname, '..', 'gsd-core', 'workflows');
// inject skills for BOTH. Listing every spawned type here is what catches a
// partially-fixed workflow (the gap Codex flagged on the first pass at #991).
const REVIEW_FAMILY = [
{ file: 'code-review.md', agentTypes: ['gsd-code-reviewer'] },
{ file: 'code-review-fix.md', agentTypes: ['gsd-code-fixer', 'gsd-code-reviewer'] },
{ file: 'eval-review.md', agentTypes: ['gsd-eval-auditor'] },
{ file: 'code-review.md', agentTypes: ['msd-code-reviewer'] },
{ file: 'code-review-fix.md', agentTypes: ['msd-code-fixer', 'msd-code-reviewer'] },
{ file: 'eval-review.md', agentTypes: ['msd-eval-auditor'] },
];
const cases = REVIEW_FAMILY.flatMap(({ file, agentTypes }) =>
@@ -41,15 +41,15 @@ describe('agent_skills injection — review-family workflows (#991)', () => {
const content = fs.readFileSync(path.join(WORKFLOWS_DIR, file), 'utf8');
// 1. Must query the project-configured skills for this agent type, using
// the same `gsd_run query agent-skills <type>` idiom as the ~20
// the same `msd_run query agent-skills <type>` idiom as the ~20
// sibling workflows (plan-phase, execute-phase, secure-phase, ...).
const assignRe = new RegExp(
'([A-Z][A-Z0-9_]*)=\\$\\(\\s*gsd_run query agent-skills ' + escapeRe(agentType) + '\\s*\\)',
'([A-Z][A-Z0-9_]*)=\\$\\(\\s*msd_run query agent-skills ' + escapeRe(agentType) + '\\s*\\)',
);
const m = content.match(assignRe);
assert.ok(
m,
`${file}: missing \`VAR=$(gsd_run query agent-skills ${agentType})\` — configured agent_skills are never queried (#991)`,
`${file}: missing \`VAR=$(msd_run query agent-skills ${agentType})\` — configured agent_skills are never queried (#991)`,
);
const varName = m[1];