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

@@ -8,7 +8,7 @@ const path = require('path');
const {
discoverInstallerMigrations,
planInstallerMigrations,
} = require('../gsd-core/bin/lib/installer-migrations.cjs');
} = require('../msd-core/bin/lib/installer-migrations.cjs');
const { cleanup, createTempDir } = require('./helpers.cjs');
function writeMigration(dir, fileName, source) {
@@ -29,7 +29,7 @@ function completeMigrationRecord(overrides = {}) {
}
test('rejects discovered migration records missing required authoring metadata', (t) => {
const migrationsDir = createTempDir('gsd-migration-authoring-');
const migrationsDir = createTempDir('msd-migration-authoring-');
t.after(() => cleanup(migrationsDir));
writeMigration(
@@ -54,11 +54,11 @@ module.exports = {
});
test('rejects direct migration records missing required authoring metadata during planning', (t) => {
const configDir = createTempDir('gsd-migration-authoring-plan-');
const configDir = createTempDir('msd-migration-authoring-plan-');
t.after(() => cleanup(configDir));
fs.writeFileSync(
path.join(configDir, 'gsd-file-manifest.json'),
path.join(configDir, 'msd-file-manifest.json'),
JSON.stringify({ version: '1.50.0', timestamp: '2026-05-11T00:00:00.000Z', mode: 'full', files: {} }),
'utf8'
);
@@ -82,11 +82,11 @@ test('rejects direct migration records missing required authoring metadata durin
});
test('rejects migration records without explicit install scopes', (t) => {
const configDir = createTempDir('gsd-migration-authoring-scope-');
const configDir = createTempDir('msd-migration-authoring-scope-');
t.after(() => cleanup(configDir));
fs.writeFileSync(
path.join(configDir, 'gsd-file-manifest.json'),
path.join(configDir, 'msd-file-manifest.json'),
JSON.stringify({ version: '1.50.0', timestamp: '2026-05-11T00:00:00.000Z', mode: 'full', files: {} }),
'utf8'
);
@@ -110,11 +110,11 @@ test('rejects migration records without explicit install scopes', (t) => {
});
test('rejects destructive migration actions without ownership evidence', (t) => {
const configDir = createTempDir('gsd-migration-authoring-action-');
const configDir = createTempDir('msd-migration-authoring-action-');
t.after(() => cleanup(configDir));
fs.writeFileSync(
path.join(configDir, 'gsd-file-manifest.json'),
path.join(configDir, 'msd-file-manifest.json'),
JSON.stringify({
version: '1.50.0',
timestamp: '2026-05-11T00:00:00.000Z',
@@ -145,11 +145,11 @@ test('rejects destructive migration actions without ownership evidence', (t) =>
});
test('rejects remove-empty-dir actions without ownership evidence (same bar as remove-managed)', (t) => {
const configDir = createTempDir('gsd-migration-authoring-dir-action-');
const configDir = createTempDir('msd-migration-authoring-dir-action-');
t.after(() => cleanup(configDir));
fs.writeFileSync(
path.join(configDir, 'gsd-file-manifest.json'),
path.join(configDir, 'msd-file-manifest.json'),
JSON.stringify({
version: '1.50.0',
timestamp: '2026-05-11T00:00:00.000Z',
@@ -180,11 +180,11 @@ test('rejects remove-empty-dir actions without ownership evidence (same bar as r
});
test('rejects migration actions with absolute or traversal relPaths', (t) => {
const configDir = createTempDir('gsd-migration-authoring-relpath-');
const configDir = createTempDir('msd-migration-authoring-relpath-');
t.after(() => cleanup(configDir));
fs.writeFileSync(
path.join(configDir, 'gsd-file-manifest.json'),
path.join(configDir, 'msd-file-manifest.json'),
JSON.stringify({ version: '1.50.0', timestamp: '2026-05-11T00:00:00.000Z', mode: 'full', files: {} }),
'utf8'
);
@@ -213,11 +213,11 @@ test('rejects migration actions with absolute or traversal relPaths', (t) => {
});
test('rejects runtime config rewrites without a runtime contract citation', (t) => {
const configDir = createTempDir('gsd-migration-authoring-runtime-');
const configDir = createTempDir('msd-migration-authoring-runtime-');
t.after(() => cleanup(configDir));
fs.writeFileSync(
path.join(configDir, 'gsd-file-manifest.json'),
path.join(configDir, 'msd-file-manifest.json'),
JSON.stringify({ version: '1.50.0', timestamp: '2026-05-11T00:00:00.000Z', mode: 'full', files: {} }),
'utf8'
);
@@ -237,7 +237,7 @@ test('rejects runtime config rewrites without a runtime contract citation', (t)
value: {},
deleteIfEmpty: true,
reason: 'retired generated Codex hook registration',
ownershipEvidence: 'matches generated GSD hook command path',
ownershipEvidence: 'matches generated MSD hook command path',
},
],
}),