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

@@ -19,11 +19,11 @@ const { cleanup } = require('./helpers.cjs');
/** Write a synthetic commands dir; returns its absolute path. */
function fixture(commands) {
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-4394-'));
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-4394-'));
for (const [stem, tools] of Object.entries(commands)) {
const frontmatter = tools === null
? ['---', `name: gsd:${stem}`, '---', '']
: ['---', `name: gsd:${stem}`, 'allowed-tools:', ...tools.map((t) => ` - ${t}`), 'requires: []', '---', ''];
? ['---', `name: msd:${stem}`, '---', '']
: ['---', `name: msd:${stem}`, 'allowed-tools:', ...tools.map((t) => ` - ${t}`), 'requires: []', '---', ''];
fs.writeFileSync(path.join(dir, `${stem}.md`), `${frontmatter.join('\n')}\nbody\n`);
}
return dir;
@@ -31,7 +31,7 @@ function fixture(commands) {
describe('#4394 parseAllowedTools', () => {
test('reads a YAML block sequence', () => {
const text = ['---', 'name: gsd:x', 'allowed-tools:', ' - Read', ' - Bash', 'requires: []', '---'].join('\n');
const text = ['---', 'name: msd:x', 'allowed-tools:', ' - Read', ' - Bash', 'requires: []', '---'].join('\n');
assert.deepEqual(parseAllowedTools(text), ['Read', 'Bash']);
});
@@ -56,7 +56,7 @@ describe('#4394 parseAllowedTools', () => {
// Absent is NOT a violation: a command with no allowed-tools declares no
// Bash either, so the rule has nothing to say about it. Returning [] here
// would be indistinguishable from "declared, but empty".
assert.equal(parseAllowedTools('---\nname: gsd:x\n---\n'), null);
assert.equal(parseAllowedTools('---\nname: msd:x\n---\n'), null);
});
});