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:
@@ -4,7 +4,7 @@
|
||||
// Per CONTRIBUTING.md exception matrix.
|
||||
|
||||
/**
|
||||
* GSD Tools Tests - autonomous --interactive flag
|
||||
* MSD Tools Tests - autonomous --interactive flag
|
||||
*
|
||||
* Validates that the autonomous workflow and command definition
|
||||
* correctly document and support the --interactive flag.
|
||||
@@ -18,8 +18,8 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
describe('autonomous --interactive flag (#1413)', () => {
|
||||
const workflowPath = path.join(__dirname, '..', 'gsd-core', 'workflows', 'autonomous.md');
|
||||
const commandPath = path.join(__dirname, '..', 'commands', 'gsd', 'autonomous.md');
|
||||
const workflowPath = path.join(__dirname, '..', 'msd-core', 'workflows', 'autonomous.md');
|
||||
const commandPath = path.join(__dirname, '..', 'commands', 'msd', 'autonomous.md');
|
||||
|
||||
test('command definition includes --interactive in argument-hint', () => {
|
||||
const content = fs.readFileSync(commandPath, 'utf8');
|
||||
@@ -43,12 +43,12 @@ describe('autonomous --interactive flag (#1413)', () => {
|
||||
});
|
||||
|
||||
test('workflow uses discuss-phase skill in interactive mode', () => {
|
||||
// Per #2697 the user-facing form is the hyphen invariant gsd-discuss-phase;
|
||||
// Per #2697 the user-facing form is the hyphen invariant msd-discuss-phase;
|
||||
// the colon form was retired and is enforced absent by bug-2543 tests.
|
||||
//
|
||||
// Don't `.includes()` against the full file — both tokens could appear in
|
||||
// unrelated sections (e.g. INTERACTIVE="" initialization + a stray
|
||||
// gsd-discuss-phase mention in prose) and falsely pass. Instead, isolate
|
||||
// msd-discuss-phase mention in prose) and falsely pass. Instead, isolate
|
||||
// the structural region that gates on INTERACTIVE and assert the Skill
|
||||
// invocation lives inside it.
|
||||
const content = fs.readFileSync(workflowPath, 'utf8');
|
||||
@@ -73,10 +73,10 @@ describe('autonomous --interactive flag (#1413)', () => {
|
||||
|
||||
// The branch must invoke the hyphen-form Skill. Tolerate whitespace
|
||||
// around `(`, `skill`, and `=` so harmless reformatting doesn't break this.
|
||||
const skillCall = /Skill\(\s*skill\s*=\s*['"]gsd-discuss-phase['"]/.test(branch);
|
||||
const skillCall = /Skill\(\s*skill\s*=\s*['"]msd-discuss-phase['"]/.test(branch);
|
||||
assert.ok(
|
||||
skillCall,
|
||||
`INTERACTIVE branch must invoke Skill(skill="gsd-discuss-phase"). Got branch:\n${branch}`,
|
||||
`INTERACTIVE branch must invoke Skill(skill="msd-discuss-phase"). Got branch:\n${branch}`,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user