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

@@ -4,7 +4,7 @@
* live-dom-uat capability — #2856
*
* Enhancement shape approved at triage: browser MCP reach is NOT added to
* agents/gsd-executor.md. Instead a default-off capability owns one boolean
* agents/msd-executor.md. Instead a default-off capability owns one boolean
* config key, one purpose-built agent that carries the browser globs in its
* OWN tools: line, and one additive step hook at execute:wave:post.
*
@@ -24,27 +24,27 @@ const assert = require('node:assert/strict');
const fs = require('node:fs');
const path = require('node:path');
const fc = require('./helpers/fast-check-setup.cjs');
const { createTempProject, cleanup, runGsdTools } = require('./helpers.cjs');
const { createTempProject, cleanup, runMsdTools } = require('./helpers.cjs');
const realRegistry = require('../gsd-core/bin/lib/capability-registry.cjs');
const { resolveLoopHooks } = require('../gsd-core/bin/lib/loop-resolver.cjs');
const { isValidConfigKey } = require('../gsd-core/bin/lib/config-schema.cjs');
const { loadConfig } = require('../gsd-core/bin/lib/config-loader.cjs');
const realRegistry = require('../msd-core/bin/lib/capability-registry.cjs');
const { resolveLoopHooks } = require('../msd-core/bin/lib/loop-resolver.cjs');
const { isValidConfigKey } = require('../msd-core/bin/lib/config-schema.cjs');
const { loadConfig } = require('../msd-core/bin/lib/config-loader.cjs');
const REPO_ROOT = path.join(__dirname, '..');
const CAP_ID = 'live-dom-uat';
const KEY = 'workflow.live_dom_uat';
const AGENT = 'gsd-dom-verifier';
const AGENT = 'msd-dom-verifier';
const POINT = 'execute:wave:post';
/** The browser MCP families this capability grants — the single source of truth. */
const BROWSER_GLOBS = ['mcp__chrome-devtools__*', 'mcp__claude-in-chrome__*'];
const AGENT_PATH = path.join(REPO_ROOT, 'agents', `${AGENT}.md`);
const EXECUTOR_PATH = path.join(REPO_ROOT, 'agents', 'gsd-executor.md');
const EXECUTOR_PATH = path.join(REPO_ROOT, 'agents', 'msd-executor.md');
const UI_VERIFY_PATH = path.join(
REPO_ROOT, 'gsd-core', 'workflows', 'verify-work', 'steps', 'automated-ui-verification.md',
REPO_ROOT, 'msd-core', 'workflows', 'verify-work', 'steps', 'automated-ui-verification.md',
);
const MANIFEST_PATH = path.join(REPO_ROOT, 'capabilities', CAP_ID, 'capability.json');
@@ -121,10 +121,10 @@ function browserGlobsOf(agentPath) {
*/
function liveDomBlock() {
const src = fs.readFileSync(UI_VERIFY_PATH, 'utf8');
const open = src.indexOf('<!-- gsd:live-dom-families -->');
const close = src.indexOf('<!-- /gsd:live-dom-families -->');
assert.ok(open !== -1, 'automated-ui-verification.md must open a gsd:live-dom-families block');
assert.ok(close > open, 'automated-ui-verification.md must close the gsd:live-dom-families block');
const open = src.indexOf('<!-- msd:live-dom-families -->');
const close = src.indexOf('<!-- /msd:live-dom-families -->');
assert.ok(open !== -1, 'automated-ui-verification.md must open a msd:live-dom-families block');
assert.ok(close > open, 'automated-ui-verification.md must close the msd:live-dom-families block');
return src.slice(open, close);
}
@@ -282,7 +282,7 @@ describe('live-dom-uat: config key acceptance and coercion', () => {
const tmpDir = createTempProject();
t.after(() => cleanup(tmpDir));
const result = runGsdTools(`config-set ${KEY} true`, tmpDir);
const result = runMsdTools(`config-set ${KEY} true`, tmpDir);
assert.ok(result.success, `config-set must accept ${KEY}: ${result.error}`);
const cfg = JSON.parse(fs.readFileSync(path.join(tmpDir, '.planning', 'config.json'), 'utf8'));
@@ -293,7 +293,7 @@ describe('live-dom-uat: config key acceptance and coercion', () => {
const tmpDir = createTempProject();
t.after(() => cleanup(tmpDir));
const result = runGsdTools(`config-set ${KEY} false`, tmpDir);
const result = runMsdTools(`config-set ${KEY} false`, tmpDir);
assert.ok(result.success, `config-set must accept false: ${result.error}`);
const cfg = JSON.parse(fs.readFileSync(path.join(tmpDir, '.planning', 'config.json'), 'utf8'));
assert.strictEqual(cfg.workflow?.live_dom_uat, false);
@@ -303,7 +303,7 @@ describe('live-dom-uat: config key acceptance and coercion', () => {
const tmpDir = createTempProject();
t.after(() => cleanup(tmpDir));
const result = runGsdTools(`config-set ${KEY} banana`, tmpDir);
const result = runMsdTools(`config-set ${KEY} banana`, tmpDir);
assert.ok(!result.success, 'config-set must reject a non-boolean for a boolean slice');
});
@@ -407,10 +407,10 @@ describe('live-dom-uat: shipped agent and workflow text', () => {
const tools = agentTools(EXECUTOR_PATH);
for (const glob of BROWSER_GLOBS) {
assert.ok(!tools.includes(glob),
`gsd-executor must never carry ${glob} — triage refused widening its surface`);
`msd-executor must never carry ${glob} — triage refused widening its surface`);
}
assert.ok(!tools.some((t) => t.startsWith('mcp__') && !t.includes('context7')),
'gsd-executor may carry no MCP family beyond context7');
'msd-executor may carry no MCP family beyond context7');
});
test('browserGlobParityAcrossAgentAndWorkflowSurfaces', () => {