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:
@@ -5,8 +5,8 @@ const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
const root = path.join(__dirname, '..');
|
||||
const workflow = fs.readFileSync(path.join(root, 'gsd-core/workflows/plan-phase.md'), 'utf8');
|
||||
const recovery = fs.readFileSync(path.join(root, 'gsd-core/workflows/plan-phase/steps/agent-recovery-and-timing.md'), 'utf8');
|
||||
const workflow = fs.readFileSync(path.join(root, 'msd-core/workflows/plan-phase.md'), 'utf8');
|
||||
const recovery = fs.readFileSync(path.join(root, 'msd-core/workflows/plan-phase/steps/agent-recovery-and-timing.md'), 'utf8');
|
||||
|
||||
describe('plan-phase agent recovery and timing', () => {
|
||||
test('classifies quota failures and forbids immediate retry', () => {
|
||||
@@ -21,8 +21,8 @@ describe('plan-phase agent recovery and timing', () => {
|
||||
assert.match(recovery, /stop this stale planning run immediately/);
|
||||
});
|
||||
test('times all three agent stages and quota exits', () => {
|
||||
for (const stage of ['planner', 'checker', 'revision']) assert.match(workflow, new RegExp(`gsd_plan_stage_start ${stage}`));
|
||||
assert.match(recovery, /gsd_plan_stage_end quota-exceeded/);
|
||||
for (const stage of ['planner', 'checker', 'revision']) assert.match(workflow, new RegExp(`msd_plan_stage_start ${stage}`));
|
||||
assert.match(recovery, /msd_plan_stage_end quota-exceeded/);
|
||||
assert.match(recovery, /plan-phase total/);
|
||||
});
|
||||
test('existing plans resume directly at verification', () => {
|
||||
|
||||
Reference in New Issue
Block a user