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:
@@ -25,12 +25,12 @@ const { execFileSync } = require('node:child_process');
|
||||
|
||||
const TIMEOUT = 5000;
|
||||
|
||||
const CODE_REVIEW = path.join(__dirname, '..', 'gsd-core', 'workflows', 'code-review.md');
|
||||
const CODE_REVIEW_FIX = path.join(__dirname, '..', 'gsd-core', 'workflows', 'code-review-fix.md');
|
||||
const CODE_FIXER = path.join(__dirname, '..', 'agents', 'gsd-code-fixer.md');
|
||||
const CODE_FIXER_COMPACT = path.join(__dirname, '..', 'agents', 'gsd-code-fixer.compact.md');
|
||||
const EXECUTE_PLAN = path.join(__dirname, '..', 'gsd-core', 'workflows', 'execute-plan.md');
|
||||
const PLAN_PHASE = path.join(__dirname, '..', 'gsd-core', 'workflows', 'plan-phase.md');
|
||||
const CODE_REVIEW = path.join(__dirname, '..', 'msd-core', 'workflows', 'code-review.md');
|
||||
const CODE_REVIEW_FIX = path.join(__dirname, '..', 'msd-core', 'workflows', 'code-review-fix.md');
|
||||
const CODE_FIXER = path.join(__dirname, '..', 'agents', 'msd-code-fixer.md');
|
||||
const CODE_FIXER_COMPACT = path.join(__dirname, '..', 'agents', 'msd-code-fixer.compact.md');
|
||||
const EXECUTE_PLAN = path.join(__dirname, '..', 'msd-core', 'workflows', 'execute-plan.md');
|
||||
const PLAN_PHASE = path.join(__dirname, '..', 'msd-core', 'workflows', 'plan-phase.md');
|
||||
|
||||
/**
|
||||
* Pure: find the line containing `anchor` and pull the regex substring
|
||||
@@ -76,8 +76,8 @@ describe('#4568 — validating sites accept N-segment phase ids and still reject
|
||||
const sites = [
|
||||
{ name: 'code-review.md', file: CODE_REVIEW, anchor: 'if ! [[ "$PADDED_PHASE" =~ ' },
|
||||
{ name: 'code-review-fix.md', file: CODE_REVIEW_FIX, anchor: 'if ! [[ "$PADDED_PHASE" =~ ' },
|
||||
{ name: 'gsd-code-fixer.md', file: CODE_FIXER, anchor: 'if ! [[ "$padded_phase" =~ ' },
|
||||
{ name: 'gsd-code-fixer.compact.md', file: CODE_FIXER_COMPACT, anchor: 'if ! [[ "$padded_phase" =~ ' },
|
||||
{ name: 'msd-code-fixer.md', file: CODE_FIXER, anchor: 'if ! [[ "$padded_phase" =~ ' },
|
||||
{ name: 'msd-code-fixer.compact.md', file: CODE_FIXER_COMPACT, anchor: 'if ! [[ "$padded_phase" =~ ' },
|
||||
];
|
||||
|
||||
for (const site of sites) {
|
||||
@@ -190,8 +190,8 @@ describe('#4568 — plan-phase.md captures the full N-segment --research-phase v
|
||||
|
||||
// The canonical grammar is read from the committed bin/lib mirror the other
|
||||
// grammar tests use (shell cannot import it; the test can).
|
||||
const { PHASE_NUMBER_TOKEN_SOURCE } = require('../gsd-core/bin/lib/phase-id.cjs');
|
||||
const { splitLines } = require('../gsd-core/bin/lib/text-lines.cjs');
|
||||
const { PHASE_NUMBER_TOKEN_SOURCE } = require('../msd-core/bin/lib/phase-id.cjs');
|
||||
const { splitLines } = require('../msd-core/bin/lib/text-lines.cjs');
|
||||
const CANONICAL_ANCHORED = new RegExp('^(?:' + PHASE_NUMBER_TOKEN_SOURCE + ')$');
|
||||
|
||||
// Inputs the canonical grammar ACCEPTS. `03A` is what `normalizePhaseName('3A')`
|
||||
@@ -221,8 +221,8 @@ describe('#4660 — validating sites agree with the canonical grammar on the let
|
||||
const sites = [
|
||||
{ name: 'code-review.md', file: CODE_REVIEW, anchor: 'if ! [[ "$PADDED_PHASE" =~ ' },
|
||||
{ name: 'code-review-fix.md', file: CODE_REVIEW_FIX, anchor: 'if ! [[ "$PADDED_PHASE" =~ ' },
|
||||
{ name: 'gsd-code-fixer.md', file: CODE_FIXER, anchor: 'if ! [[ "$padded_phase" =~ ' },
|
||||
{ name: 'gsd-code-fixer.compact.md', file: CODE_FIXER_COMPACT, anchor: 'if ! [[ "$padded_phase" =~ ' },
|
||||
{ name: 'msd-code-fixer.md', file: CODE_FIXER, anchor: 'if ! [[ "$padded_phase" =~ ' },
|
||||
{ name: 'msd-code-fixer.compact.md', file: CODE_FIXER_COMPACT, anchor: 'if ! [[ "$padded_phase" =~ ' },
|
||||
];
|
||||
|
||||
for (const site of sites) {
|
||||
@@ -332,17 +332,17 @@ describe('#4660 — plan-phase.md captures the full letter-suffixed --research-p
|
||||
// and executed in a real bash subprocess.
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
const EXECUTE_PHASE = path.join(__dirname, '..', 'gsd-core', 'workflows', 'execute-phase.md');
|
||||
const EXECUTE_PHASE = path.join(__dirname, '..', 'msd-core', 'workflows', 'execute-phase.md');
|
||||
const COMPLETION_RECONCILIATION = path.join(
|
||||
__dirname, '..', 'gsd-core', 'workflows', 'execute-phase', 'steps', 'completion-reconciliation.md',
|
||||
__dirname, '..', 'msd-core', 'workflows', 'execute-phase', 'steps', 'completion-reconciliation.md',
|
||||
);
|
||||
const CODE_REVIEW_DISPOSITION = path.join(
|
||||
__dirname, '..', 'gsd-core', 'workflows', 'execute-phase', 'steps', 'code-review-disposition.md',
|
||||
__dirname, '..', 'msd-core', 'workflows', 'execute-phase', 'steps', 'code-review-disposition.md',
|
||||
);
|
||||
const TDD_REF = path.join(__dirname, '..', 'gsd-core', 'references', 'tdd.md');
|
||||
const AUTONOMOUS = path.join(__dirname, '..', 'gsd-core', 'workflows', 'autonomous.md');
|
||||
const PLAN_REVIEW_CONVERGENCE = path.join(__dirname, '..', 'gsd-core', 'workflows', 'plan-review-convergence.md');
|
||||
const PHASE_ARGUMENT_PARSING = path.join(__dirname, '..', 'gsd-core', 'references', 'phase-argument-parsing.md');
|
||||
const TDD_REF = path.join(__dirname, '..', 'msd-core', 'references', 'tdd.md');
|
||||
const AUTONOMOUS = path.join(__dirname, '..', 'msd-core', 'workflows', 'autonomous.md');
|
||||
const PLAN_REVIEW_CONVERGENCE = path.join(__dirname, '..', 'msd-core', 'workflows', 'plan-review-convergence.md');
|
||||
const PHASE_ARGUMENT_PARSING = path.join(__dirname, '..', 'msd-core', 'references', 'phase-argument-parsing.md');
|
||||
|
||||
/**
|
||||
* Pure: the indexes of every line containing `anchor`. Asserts the count so a
|
||||
@@ -512,7 +512,7 @@ describe('#4748 — the code-review gate resolves the REVIEW.md path from a lett
|
||||
// could be static because the property was a literal binding of init's own `{padded_phase}`;
|
||||
// here the step derives the value, so the property is behavioural and only execution can hold
|
||||
// it. Runs the SHIPPED derivation slice of BOTH fences against the canonical normalizer.
|
||||
const { normalizePhaseName } = require('../gsd-core/bin/lib/phase-id.cjs');
|
||||
const { normalizePhaseName } = require('../msd-core/bin/lib/phase-id.cjs');
|
||||
const starts = [];
|
||||
stepLines.forEach((l, n) => { if (l.includes('_pd="${PHASE_DIR:-}"')) starts.push(n); });
|
||||
assert.equal(starts.length, lookupIdx.length, 'each lookup must have its own derivation slice');
|
||||
|
||||
Reference in New Issue
Block a user