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:
@@ -13,7 +13,7 @@
|
||||
/**
|
||||
* prompt-budget-cli.test.cjs
|
||||
*
|
||||
* Integration tests for the `gsd-tools prompt-budget` CLI subcommand.
|
||||
* Integration tests for the `msd-tools prompt-budget` CLI subcommand.
|
||||
* Covers the 5 specified scenarios:
|
||||
* 1. Happy path: budget forces trim (research dropped)
|
||||
* 2. No-trim path: huge budget, metadata shows no omissions
|
||||
@@ -27,7 +27,7 @@ const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const { createTempDir, cleanup, runGsdTools } = require('./helpers.cjs');
|
||||
const { createTempDir, cleanup, runMsdTools } = require('./helpers.cjs');
|
||||
|
||||
const TEST_INSTRUCTIONS = [
|
||||
'# Cross-AI Plan Review Request',
|
||||
@@ -55,11 +55,11 @@ const TEST_PLAN = [
|
||||
const TEST_RESEARCH = 'a'.repeat(8000); // ~2000 tokens — large enough to force trimming
|
||||
|
||||
/**
|
||||
* Run gsd-tools with args as an array (safe for paths with spaces/dollars).
|
||||
* Run msd-tools with args as an array (safe for paths with spaces/dollars).
|
||||
* Returns { exitCode, stdout, stderr }.
|
||||
*/
|
||||
function runCli(args, cwd) {
|
||||
const result = runGsdTools(args, cwd);
|
||||
const result = runMsdTools(args, cwd);
|
||||
return {
|
||||
exitCode: result.exitCode ?? (result.success ? 0 : 1),
|
||||
stdout: result.output ?? '',
|
||||
|
||||
Reference in New Issue
Block a user