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:
@@ -3,14 +3,14 @@
|
||||
* not reconciled — SUMMARY + matching commits present yet closed as turn_aborted.
|
||||
*
|
||||
* The supervision contract lives in shipped workflow text
|
||||
* (gsd-core/workflows/execute-phase.md + its completion-reconciliation step
|
||||
* (msd-core/workflows/execute-phase.md + its completion-reconciliation step
|
||||
* fragment), which is the instruction the orchestrator executes at runtime.
|
||||
* Reading the .md and asserting on its clauses tests the deployed contract
|
||||
* (the source-text-is-the-product category; .md reads are outside
|
||||
* no-source-grep's .cjs-only scope).
|
||||
*
|
||||
* Red on `next` before the fix: rows 1-7 of
|
||||
* .gsd/bug/fix-4217-codex-artifact-complete-reconcile/50-test-matrix.md.
|
||||
* .msd/bug/fix-4217-codex-artifact-complete-reconcile/50-test-matrix.md.
|
||||
*/
|
||||
|
||||
const { describe, test } = require('node:test');
|
||||
@@ -18,9 +18,9 @@ const assert = require('node:assert/strict');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const WORKFLOW_PATH = path.join(__dirname, '..', 'gsd-core', 'workflows', 'execute-phase.md');
|
||||
const WORKFLOW_PATH = path.join(__dirname, '..', 'msd-core', 'workflows', 'execute-phase.md');
|
||||
const FRAGMENT_PATH = path.join(
|
||||
__dirname, '..', 'gsd-core', 'workflows', 'execute-phase', 'steps', 'completion-reconciliation.md'
|
||||
__dirname, '..', 'msd-core', 'workflows', 'execute-phase', 'steps', 'completion-reconciliation.md'
|
||||
);
|
||||
|
||||
function readWorkflow() {
|
||||
@@ -85,7 +85,7 @@ describe('execute-phase completion reconciliation (#4217 — split A of #3754)',
|
||||
const content = readWorkflow();
|
||||
const from = content.indexOf('7. **Handle failures:**');
|
||||
assert.ok(from !== -1, 'execute-phase.md must contain the step-7 failure handler');
|
||||
const step7 = content.slice(from, content.indexOf('@~/.claude/gsd-core/references/execute-phase-quota-recovery.md', from));
|
||||
const step7 = content.slice(from, content.indexOf('@~/.claude/msd-core/references/execute-phase-quota-recovery.md', from));
|
||||
assert.match(
|
||||
step7,
|
||||
/reconcil[\s\S]{0,200}BEFORE classifying|BEFORE classifying[\s\S]{0,200}reconcil/i,
|
||||
@@ -136,7 +136,7 @@ describe('execute-phase completion reconciliation (#4217 — split A of #3754)',
|
||||
test('step 4 names the completion-reconciliation fragment by exact path', () => {
|
||||
const region = waitStepRegion(readWorkflow());
|
||||
assert.ok(
|
||||
region.includes('gsd-core/workflows/execute-phase/steps/completion-reconciliation.md'),
|
||||
region.includes('msd-core/workflows/execute-phase/steps/completion-reconciliation.md'),
|
||||
'step 4 must direct the orchestrator to the reconciliation fragment by exact path (also proves response-language inheritance)'
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user