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:
@@ -1,4 +1,4 @@
|
||||
// ~/.gsd/defaults.json is machine-wide. The `runtime` key is host-specific
|
||||
// ~/.msd/defaults.json is machine-wide. The `runtime` key is host-specific
|
||||
// (written by whichever installer ran last). It must NOT be copied into project
|
||||
// configs — on a machine with 2+ runtimes, it poisons every new project.
|
||||
|
||||
@@ -8,7 +8,7 @@ const { describe, test, beforeEach, afterEach } = require('node:test');
|
||||
const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
const { runGsdTools, createTempDir, cleanup } = require('./helpers.cjs');
|
||||
const { runMsdTools, createTempDir, cleanup } = require('./helpers.cjs');
|
||||
|
||||
describe('#2840 — runtime from defaults.json must not poison project config', () => {
|
||||
let tmpDir;
|
||||
@@ -23,14 +23,14 @@ describe('#2840 — runtime from defaults.json must not poison project config',
|
||||
});
|
||||
|
||||
test('runtime key in defaults.json is NOT copied into the new project config', () => {
|
||||
// Create ~/.gsd/defaults.json with a runtime key + a legitimate key
|
||||
fs.mkdirSync(path.join(tmpDir, '.gsd'), { recursive: true });
|
||||
// Create ~/.msd/defaults.json with a runtime key + a legitimate key
|
||||
fs.mkdirSync(path.join(tmpDir, '.msd'), { recursive: true });
|
||||
fs.writeFileSync(
|
||||
path.join(tmpDir, '.gsd', 'defaults.json'),
|
||||
path.join(tmpDir, '.msd', 'defaults.json'),
|
||||
JSON.stringify({ runtime: 'codex', model_profile: 'opus' }),
|
||||
);
|
||||
|
||||
const result = runGsdTools('config-ensure-section', tmpDir, {
|
||||
const result = runMsdTools('config-ensure-section', tmpDir, {
|
||||
HOME: tmpDir,
|
||||
USERPROFILE: tmpDir,
|
||||
});
|
||||
@@ -53,13 +53,13 @@ describe('#2840 — runtime from defaults.json must not poison project config',
|
||||
});
|
||||
|
||||
test('defaults.json without a runtime key works normally', () => {
|
||||
fs.mkdirSync(path.join(tmpDir, '.gsd'), { recursive: true });
|
||||
fs.mkdirSync(path.join(tmpDir, '.msd'), { recursive: true });
|
||||
fs.writeFileSync(
|
||||
path.join(tmpDir, '.gsd', 'defaults.json'),
|
||||
path.join(tmpDir, '.msd', 'defaults.json'),
|
||||
JSON.stringify({ model_profile: 'haiku' }),
|
||||
);
|
||||
|
||||
const result = runGsdTools('config-ensure-section', tmpDir, {
|
||||
const result = runMsdTools('config-ensure-section', tmpDir, {
|
||||
HOME: tmpDir,
|
||||
USERPROFILE: tmpDir,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user