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,7 +1,7 @@
|
||||
// allow-test-rule: source-text-is-the-product
|
||||
// Tests that every GSD workflow that spawns a subagent carries the liveness phrase
|
||||
// Tests that every MSD workflow that spawns a subagent carries the liveness phrase
|
||||
// "runs in a subagent" on its spawn announcement lines.
|
||||
// Canonical phrase defined in gsd-core/references/ui-brand.md § Spawning Indicators.
|
||||
// Canonical phrase defined in msd-core/references/ui-brand.md § Spawning Indicators.
|
||||
// Regression test for https://github.com/open-gsd/gsd-core/issues/558.
|
||||
//
|
||||
// TEST STRATEGY: Two complementary assertions.
|
||||
@@ -28,7 +28,7 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
const { readWorkflowCombined } = require('./helpers.cjs');
|
||||
|
||||
const WORKFLOWS_DIR = path.join(__dirname, '..', 'gsd-core', 'workflows');
|
||||
const WORKFLOWS_DIR = path.join(__dirname, '..', 'msd-core', 'workflows');
|
||||
const LIVENESS_PHRASE = 'runs in a subagent';
|
||||
|
||||
// Matches any ◆ line that contains "spawn" or "spawning" (case-insensitive, word anywhere).
|
||||
@@ -77,7 +77,7 @@ describe('spawn-liveness-banner', () => {
|
||||
[],
|
||||
`The following ◆ spawn announcement lines are missing the liveness phrase "${LIVENESS_PHRASE}":\n` +
|
||||
bannerViolations.map(v => ` - ${v}`).join('\n') +
|
||||
'\n\nPer gsd-core/references/ui-brand.md § "Spawning Indicators":\n' +
|
||||
'\n\nPer msd-core/references/ui-brand.md § "Spawning Indicators":\n' +
|
||||
'every ◆ spawn announcement must carry "runs in a subagent" so users know\n' +
|
||||
'that silence during a subagent run is expected and do not kill a healthy agent.\n' +
|
||||
'See https://github.com/open-gsd/gsd-core/issues/558'
|
||||
@@ -85,7 +85,7 @@ describe('spawn-liveness-banner', () => {
|
||||
});
|
||||
|
||||
test('every workflow that dispatches a subagent contains the liveness phrase somewhere', () => {
|
||||
// #2994: scoped to HOST workflow files only (top-level gsd-core/workflows/*.md),
|
||||
// #2994: scoped to HOST workflow files only (top-level msd-core/workflows/*.md),
|
||||
// each read via readWorkflowCombined (host + its workflows/<wf>/steps/*.md
|
||||
// fragments). The fragment model can move a subagent dispatch site into a step
|
||||
// file while the host still carries the liveness phrase elsewhere for its other
|
||||
@@ -115,7 +115,7 @@ describe('spawn-liveness-banner', () => {
|
||||
[],
|
||||
`The following workflow files contain "subagent_type" but are missing the liveness phrase "${LIVENESS_PHRASE}" anywhere in the file:\n` +
|
||||
presenceViolations.map(f => ` - ${f}`).join('\n') +
|
||||
'\n\nPer gsd-core/references/ui-brand.md § "Spawning Indicators":\n' +
|
||||
'\n\nPer msd-core/references/ui-brand.md § "Spawning Indicators":\n' +
|
||||
'every workflow that spawns a subagent must carry "runs in a subagent" so users know\n' +
|
||||
'that silence during a subagent run is expected and do not kill a healthy agent.\n' +
|
||||
'See https://github.com/open-gsd/gsd-core/issues/558'
|
||||
|
||||
Reference in New Issue
Block a user