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:
@@ -16,17 +16,17 @@ const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const { createTempProject, cleanup, runGsdTools } = require('./helpers.cjs');
|
||||
const { createTempProject, cleanup, runMsdTools } = require('./helpers.cjs');
|
||||
|
||||
function runAuditOpen(cwd) {
|
||||
const r = runGsdTools(['audit-open', '--json'], cwd);
|
||||
const r = runMsdTools(['audit-open', '--json'], cwd);
|
||||
assert.ok(r.success, r.error);
|
||||
return JSON.parse(r.output);
|
||||
}
|
||||
|
||||
describe('#3817: audit-open counts include the truncation remainder', () => {
|
||||
test('#3817: more than 5 todo files → counts.todos counts every pending file', (t) => {
|
||||
const tmpDir = createTempProject('gsd-3817-many-');
|
||||
const tmpDir = createTempProject('msd-3817-many-');
|
||||
t.after(() => cleanup(tmpDir));
|
||||
const pendingDir = path.join(tmpDir, '.planning', 'todos', 'pending');
|
||||
fs.mkdirSync(pendingDir, { recursive: true });
|
||||
@@ -66,7 +66,7 @@ describe('#3817: audit-open counts include the truncation remainder', () => {
|
||||
});
|
||||
|
||||
test('#3817 boundary: exactly 5 files → no marker, counts exact; 6 files → remainder 1', (t) => {
|
||||
const tmpDir = createTempProject('gsd-3817-boundary-');
|
||||
const tmpDir = createTempProject('msd-3817-boundary-');
|
||||
t.after(() => cleanup(tmpDir));
|
||||
const pendingDir = path.join(tmpDir, '.planning', 'todos', 'pending');
|
||||
fs.mkdirSync(pendingDir, { recursive: true });
|
||||
@@ -96,7 +96,7 @@ describe('#3817: audit-open counts include the truncation remainder', () => {
|
||||
});
|
||||
|
||||
test('#3817 control: 5 or fewer todo files → counts unchanged', (t) => {
|
||||
const tmpDir = createTempProject('gsd-3817-few-');
|
||||
const tmpDir = createTempProject('msd-3817-few-');
|
||||
t.after(() => cleanup(tmpDir));
|
||||
const pendingDir = path.join(tmpDir, '.planning', 'todos', 'pending');
|
||||
fs.mkdirSync(pendingDir, { recursive: true });
|
||||
|
||||
Reference in New Issue
Block a user