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

@@ -3,7 +3,7 @@
// runtime loads — testing text content tests the deployed contract.
/**
* GSD Agent Required Reading Consistency Tests
* MSD Agent Required Reading Consistency Tests
*
* Validates that all agent .md files use the standardized <required_reading>
* pattern and that no legacy <files_to_read> blocks remain.
@@ -110,10 +110,10 @@ const fs = require('fs');
const path = require('path');
const REFERENCE_PATH = path.join(
__dirname, '..', 'gsd-core', 'references', 'common-bug-patterns.md'
__dirname, '..', 'msd-core', 'references', 'common-bug-patterns.md'
);
const DEBUGGER_AGENT_PATH = path.join(
__dirname, '..', 'agents', 'gsd-debugger.md'
__dirname, '..', 'agents', 'msd-debugger.md'
);
const EXPECTED_CATEGORIES = [
@@ -178,14 +178,14 @@ describe('common-bug-patterns.md reference', () => {
});
describe('debugger agent references bug patterns', () => {
test('gsd-debugger.md exists', () => {
test('msd-debugger.md exists', () => {
assert.ok(
fs.existsSync(DEBUGGER_AGENT_PATH),
`Expected debugger agent at ${DEBUGGER_AGENT_PATH}`
);
});
test('gsd-debugger.md references common-bug-patterns.md', () => {
test('msd-debugger.md references common-bug-patterns.md', () => {
const content = fs.readFileSync(DEBUGGER_AGENT_PATH, 'utf-8');
assert.ok(
content.includes('common-bug-patterns.md'),
@@ -211,7 +211,7 @@ describe('debugger agent references bug patterns', () => {
// The agent-side ban above is half the retirement. Spawner workflows and
// commands must not EMIT the legacy tag either: a <files_to_read> block sent to
// an agent whose gate reads <required_reading> never fires the MUST-Read clause
// (the ui-review → gsd-ui-auditor instance: a score produced against a baseline
// (the ui-review → msd-ui-auditor instance: a score produced against a baseline
// the auditor was never required to open). This sweep pins the workflow-side
// emit tag to the agent-side gate tag — the two vocabularies cannot drift again.
@@ -227,10 +227,10 @@ function listMarkdownRecursive(dir) {
describe('READING: no legacy <files_to_read> blocks in spawner surfaces', () => {
const SPAWNER_DIRS = [
path.join(__dirname, '..', 'gsd-core', 'workflows'),
path.join(__dirname, '..', 'msd-core', 'workflows'),
path.join(__dirname, '..', 'commands'),
path.join(__dirname, '..', 'gsd-core', 'references'),
path.join(__dirname, '..', 'gsd-core', 'templates'),
path.join(__dirname, '..', 'msd-core', 'references'),
path.join(__dirname, '..', 'msd-core', 'templates'),
path.join(__dirname, '..', 'capabilities'), // fragments emit spawn blocks too (#3423 blocker)
];
const files = SPAWNER_DIRS.flatMap((d) => listMarkdownRecursive(d)).sort();