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:
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
process.env.GSD_TEST_MODE = '1';
|
||||
process.env.MSD_TEST_MODE = '1';
|
||||
|
||||
// F2 below reads gsd-core/workflows/mvp-phase.md and regex-tests its shell
|
||||
// F2 below reads msd-core/workflows/mvp-phase.md and regex-tests its shell
|
||||
// content for the disk-strict OR removal (Decision 4(d)). A workflow .md
|
||||
// file's text IS the deployed prompt-layer artifact the runtime executes —
|
||||
// there is no runtime API that "runs" mvp-phase.md to observe its shell
|
||||
@@ -10,7 +10,7 @@ process.env.GSD_TEST_MODE = '1';
|
||||
|
||||
/**
|
||||
* Phase-completion single-owner tests (epic #3180, issue #3186, ADR-3180
|
||||
* §7.4, disk-strict per #2957). Covers `.gsd/phase/refactor-3186-phase-
|
||||
* §7.4, disk-strict per #2957). Covers `.msd/phase/refactor-3186-phase-
|
||||
* completion-predicate/50-test-matrix.md` sections A-F:
|
||||
*
|
||||
* A — the predicate itself (`src/verification.cts` · `isPhaseComplete`)
|
||||
@@ -40,11 +40,11 @@ const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const { isPhaseComplete } = require('../gsd-core/bin/lib/verification.cjs');
|
||||
const { SCOPE } = require('../gsd-core/bin/lib/planning-scope.cjs');
|
||||
const { scanPhasePlans } = require('../gsd-core/bin/lib/plan-scan.cjs');
|
||||
const { buildWorkstreamInventory } = require('../gsd-core/bin/lib/workstream-inventory-builder.cjs');
|
||||
const { runGsdTools, createTempDir, createTempProject, cleanup } = require('./helpers.cjs');
|
||||
const { isPhaseComplete } = require('../msd-core/bin/lib/verification.cjs');
|
||||
const { SCOPE } = require('../msd-core/bin/lib/planning-scope.cjs');
|
||||
const { scanPhasePlans } = require('../msd-core/bin/lib/plan-scan.cjs');
|
||||
const { buildWorkstreamInventory } = require('../msd-core/bin/lib/workstream-inventory-builder.cjs');
|
||||
const { runMsdTools, createTempDir, createTempProject, cleanup } = require('./helpers.cjs');
|
||||
|
||||
// ─── Fixture helpers ────────────────────────────────────────────────────────
|
||||
|
||||
@@ -58,7 +58,7 @@ function writeRoadmap(tmpDir, phases) {
|
||||
const mark = p.complete ? 'x' : ' ';
|
||||
return `- [${mark}] **Phase ${p.number}: ${p.name}**`;
|
||||
}).join('\n');
|
||||
// A real Progress TABLE (gsd-core/templates/roadmap.md shape), not just the
|
||||
// A real Progress TABLE (msd-core/templates/roadmap.md shape), not just the
|
||||
// checklist — cmdRoadmapUpdatePlanProgress writes into this table via the
|
||||
// markdown-table seam (editProgressTableSlice/updateTableCell), which no-ops
|
||||
// when no table with these columns exists. G2 (#3186) needs a real table to
|
||||
@@ -106,7 +106,7 @@ function writeVerification(phaseDir, padded, status, filenameOverride) {
|
||||
|
||||
describe('A — isPhaseComplete: disk-strict, unconditional readVerificationStatus', () => {
|
||||
test('A1 (#3168 regression): zero plans + passing *-VERIFICATION.md -> complete', (t) => {
|
||||
const dir = createTempDir('gsd-phase-complete-a1-');
|
||||
const dir = createTempDir('msd-phase-complete-a1-');
|
||||
t.after(() => cleanup(dir));
|
||||
writeVerification(dir, '01', 'passed');
|
||||
|
||||
@@ -117,7 +117,7 @@ describe('A — isPhaseComplete: disk-strict, unconditional readVerificationStat
|
||||
});
|
||||
|
||||
test('A2: plans present, all summarized, passing verification -> complete', (t) => {
|
||||
const dir = createTempDir('gsd-phase-complete-a2-');
|
||||
const dir = createTempDir('msd-phase-complete-a2-');
|
||||
t.after(() => cleanup(dir));
|
||||
fs.writeFileSync(path.join(dir, '01-01-PLAN.md'), '# Plan');
|
||||
fs.writeFileSync(path.join(dir, '01-01-SUMMARY.md'), '# Summary');
|
||||
@@ -128,7 +128,7 @@ describe('A — isPhaseComplete: disk-strict, unconditional readVerificationStat
|
||||
});
|
||||
|
||||
test('A3: plans present, all summarized, NO verification -> not complete', (t) => {
|
||||
const dir = createTempDir('gsd-phase-complete-a3-');
|
||||
const dir = createTempDir('msd-phase-complete-a3-');
|
||||
t.after(() => cleanup(dir));
|
||||
fs.writeFileSync(path.join(dir, '01-01-PLAN.md'), '# Plan');
|
||||
fs.writeFileSync(path.join(dir, '01-01-SUMMARY.md'), '# Summary');
|
||||
@@ -139,7 +139,7 @@ describe('A — isPhaseComplete: disk-strict, unconditional readVerificationStat
|
||||
});
|
||||
|
||||
test('A4: verification present but FAILING -> not complete, distinguishable from absent', (t) => {
|
||||
const dir = createTempDir('gsd-phase-complete-a4-');
|
||||
const dir = createTempDir('msd-phase-complete-a4-');
|
||||
t.after(() => cleanup(dir));
|
||||
writeVerification(dir, '01', 'gaps_found');
|
||||
|
||||
@@ -150,7 +150,7 @@ describe('A — isPhaseComplete: disk-strict, unconditional readVerificationStat
|
||||
});
|
||||
|
||||
test('A5: zero plans, NO verification -> not complete', (t) => {
|
||||
const dir = createTempDir('gsd-phase-complete-a5-');
|
||||
const dir = createTempDir('msd-phase-complete-a5-');
|
||||
t.after(() => cleanup(dir));
|
||||
|
||||
const result = isPhaseComplete(dir);
|
||||
@@ -160,7 +160,7 @@ describe('A — isPhaseComplete: disk-strict, unconditional readVerificationStat
|
||||
|
||||
test('A6: plan count boundary 0/1/2 with passing verification -> complete at every count', (t) => {
|
||||
for (const planCount of [0, 1, 2]) {
|
||||
const dir = createTempDir(`gsd-phase-complete-a6-${planCount}-`);
|
||||
const dir = createTempDir(`msd-phase-complete-a6-${planCount}-`);
|
||||
t.after(() => cleanup(dir));
|
||||
for (let i = 1; i <= planCount; i++) {
|
||||
fs.writeFileSync(path.join(dir, `01-0${i}-PLAN.md`), `# Plan ${i}`);
|
||||
@@ -174,7 +174,7 @@ describe('A — isPhaseComplete: disk-strict, unconditional readVerificationStat
|
||||
});
|
||||
|
||||
test('A7: phase dir unreadable -> non-COMPLETE scope, not a false "incomplete"', (t) => {
|
||||
const dir = createTempDir('gsd-phase-complete-a7-');
|
||||
const dir = createTempDir('msd-phase-complete-a7-');
|
||||
t.after(() => cleanup(dir));
|
||||
// Injected via a fake `deps.fs` (method monkeypatching through the
|
||||
// function's own dependency-injection seam) rather than chmod 0o000 —
|
||||
@@ -194,7 +194,7 @@ describe('A — isPhaseComplete: disk-strict, unconditional readVerificationStat
|
||||
});
|
||||
|
||||
test('A8: multiple *-VERIFICATION.md files, one passing one failing -> defined, documented verdict', (t) => {
|
||||
const dir = createTempDir('gsd-phase-complete-a8-');
|
||||
const dir = createTempDir('msd-phase-complete-a8-');
|
||||
t.after(() => cleanup(dir));
|
||||
// readVerificationStatus (which isPhaseComplete wraps) takes the
|
||||
// lexicographically-FIRST matching filename (`.sort()[0]`) — pin that
|
||||
@@ -208,8 +208,8 @@ describe('A — isPhaseComplete: disk-strict, unconditional readVerificationStat
|
||||
});
|
||||
|
||||
test('A9: CRLF in the verification file -> identical to LF', (t) => {
|
||||
const dirLf = createTempDir('gsd-phase-complete-a9-lf-');
|
||||
const dirCrlf = createTempDir('gsd-phase-complete-a9-crlf-');
|
||||
const dirLf = createTempDir('msd-phase-complete-a9-lf-');
|
||||
const dirCrlf = createTempDir('msd-phase-complete-a9-crlf-');
|
||||
t.after(() => {
|
||||
cleanup(dirLf);
|
||||
cleanup(dirCrlf);
|
||||
@@ -242,7 +242,7 @@ describe('B — disk-strict: ROADMAP checkbox carries no machine authority', ()
|
||||
const tmpDir = createTempProject();
|
||||
try {
|
||||
fixture(tmpDir, { checked: true, plans: 2, summaries: 0 });
|
||||
const result = runGsdTools('roadmap analyze --raw', tmpDir);
|
||||
const result = runMsdTools('roadmap analyze --raw', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const analyzed = JSON.parse(result.output);
|
||||
// 2 plans, 0 summaries -> 'planned' (disk_status's own taxonomy: no
|
||||
@@ -260,7 +260,7 @@ describe('B — disk-strict: ROADMAP checkbox carries no machine authority', ()
|
||||
const tmpDir = createTempProject();
|
||||
try {
|
||||
fixture(tmpDir, { checked: true, plans: 1, summaries: 1, verificationStatus: 'passed' });
|
||||
const result = runGsdTools('roadmap analyze --raw', tmpDir);
|
||||
const result = runMsdTools('roadmap analyze --raw', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const analyzed = JSON.parse(result.output);
|
||||
assert.strictEqual(analyzed.phases[0].disk_status, 'complete');
|
||||
@@ -273,7 +273,7 @@ describe('B — disk-strict: ROADMAP checkbox carries no machine authority', ()
|
||||
const tmpDir = createTempProject();
|
||||
try {
|
||||
fixture(tmpDir, { checked: false, plans: 1, summaries: 1, verificationStatus: 'passed' });
|
||||
const result = runGsdTools('roadmap analyze --raw', tmpDir);
|
||||
const result = runMsdTools('roadmap analyze --raw', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const analyzed = JSON.parse(result.output);
|
||||
assert.strictEqual(analyzed.phases[0].disk_status, 'complete');
|
||||
@@ -287,7 +287,7 @@ describe('B — disk-strict: ROADMAP checkbox carries no machine authority', ()
|
||||
const tmpDir = createTempProject();
|
||||
try {
|
||||
fixture(tmpDir, { checked: true, plans: 1, summaries: 1, verificationStatus: 'gaps_found' });
|
||||
const result = runGsdTools('roadmap analyze --raw', tmpDir);
|
||||
const result = runMsdTools('roadmap analyze --raw', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const analyzed = JSON.parse(result.output);
|
||||
assert.notStrictEqual(analyzed.phases[0].disk_status, 'complete');
|
||||
@@ -297,7 +297,7 @@ describe('B — disk-strict: ROADMAP checkbox carries no machine authority', ()
|
||||
});
|
||||
|
||||
test('B5: ROADMAP.md absent entirely -> the predicate itself is unaffected (isPhaseComplete never reads it)', (t) => {
|
||||
const dir = createTempDir('gsd-phase-complete-b5-');
|
||||
const dir = createTempDir('msd-phase-complete-b5-');
|
||||
t.after(() => cleanup(dir));
|
||||
writeVerification(dir, '01', 'passed');
|
||||
// No ROADMAP.md anywhere near `dir` — isPhaseComplete takes a phase
|
||||
@@ -313,7 +313,7 @@ describe('B — disk-strict: ROADMAP checkbox carries no machine authority', ()
|
||||
const before = fs.readFileSync(path.join(tmpDir, '.planning', 'ROADMAP.md'), 'utf-8');
|
||||
assert.ok(before.includes('[x] **Phase 1'), 'fixture sanity: checkbox starts ticked');
|
||||
|
||||
const result = runGsdTools('roadmap analyze --raw', tmpDir);
|
||||
const result = runMsdTools('roadmap analyze --raw', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
|
||||
const after = fs.readFileSync(path.join(tmpDir, '.planning', 'ROADMAP.md'), 'utf-8');
|
||||
@@ -338,7 +338,7 @@ describe('C — consumer identity: every reader of "is phase P complete?" agrees
|
||||
const dir = scaffoldPhase(tmpDir, 1, { slug: 'foo' }); // zero plans
|
||||
writeVerification(dir, '01', 'passed');
|
||||
|
||||
const result = runGsdTools('init manager --raw', tmpDir);
|
||||
const result = runMsdTools('init manager --raw', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const output = JSON.parse(result.output);
|
||||
const phase1 = output.phases.find((p) => p.number === '1' || p.number === '01');
|
||||
@@ -359,7 +359,7 @@ describe('C — consumer identity: every reader of "is phase P complete?" agrees
|
||||
writeVerification(dir, '01', 'passed');
|
||||
|
||||
const owner = isPhaseComplete(dir);
|
||||
const result = runGsdTools('roadmap analyze --raw', tmpDir);
|
||||
const result = runMsdTools('roadmap analyze --raw', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const analyzed = JSON.parse(result.output);
|
||||
assert.strictEqual(analyzed.phases[0].disk_status === 'complete', owner.value.complete);
|
||||
@@ -379,7 +379,7 @@ describe('C — consumer identity: every reader of "is phase P complete?" agrees
|
||||
const owner = isPhaseComplete(dir);
|
||||
assert.strictEqual(owner.value.complete, true);
|
||||
|
||||
const result = runGsdTools('phase complete 1 --raw', tmpDir);
|
||||
const result = runMsdTools('phase complete 1 --raw', tmpDir);
|
||||
assert.ok(result.success, `phase complete must succeed when the owner reports complete: ${result.error}`);
|
||||
} finally {
|
||||
cleanup(tmpDir);
|
||||
@@ -402,7 +402,7 @@ describe('C — consumer identity: every reader of "is phase P complete?" agrees
|
||||
// would switch this to plain text instead of JSON (unlike roadmap
|
||||
// analyze / init manager, whose output() calls pass rawValue:
|
||||
// undefined and always emit JSON regardless of --raw).
|
||||
const result = runGsdTools('roadmap update-plan-progress 1', tmpDir);
|
||||
const result = runMsdTools('roadmap update-plan-progress 1', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const output = JSON.parse(result.output);
|
||||
assert.strictEqual(output.complete, owner.value.complete);
|
||||
@@ -419,8 +419,8 @@ describe('C — consumer identity: every reader of "is phase P complete?" agrees
|
||||
const dir = scaffoldPhase(tmpDir, 1, { slug: 'foo' }); // zero plans
|
||||
writeVerification(dir, '01', 'passed');
|
||||
|
||||
const initResult = runGsdTools('init manager --raw', tmpDir);
|
||||
const roadmapResult = runGsdTools('roadmap analyze --raw', tmpDir);
|
||||
const initResult = runMsdTools('init manager --raw', tmpDir);
|
||||
const roadmapResult = runMsdTools('roadmap analyze --raw', tmpDir);
|
||||
assert.ok(initResult.success, initResult.error);
|
||||
assert.ok(roadmapResult.success, roadmapResult.error);
|
||||
|
||||
@@ -442,12 +442,12 @@ describe('C — consumer identity: every reader of "is phase P complete?" agrees
|
||||
const dir = scaffoldPhase(tmpDir, 1, { slug: 'foo' });
|
||||
writeVerification(dir, '01', 'passed');
|
||||
|
||||
const initResult = runGsdTools('init manager --raw', tmpDir);
|
||||
const initResult = runMsdTools('init manager --raw', tmpDir);
|
||||
assert.ok(initResult.success, initResult.error);
|
||||
const initPhase = JSON.parse(initResult.output).phases.find((p) => p.number === '1' || p.number === '01');
|
||||
assert.strictEqual(initPhase.phase_complete, true);
|
||||
|
||||
const completeResult = runGsdTools('phase complete 1 --raw', tmpDir);
|
||||
const completeResult = runMsdTools('phase complete 1 --raw', tmpDir);
|
||||
assert.ok(completeResult.success, `phase complete must succeed to agree with init manager: ${completeResult.error}`);
|
||||
} finally {
|
||||
cleanup(tmpDir);
|
||||
@@ -461,12 +461,12 @@ describe('C — consumer identity: every reader of "is phase P complete?" agrees
|
||||
writeRoadmap(tmpDir, [{ number: '1', name: 'Foo' }]);
|
||||
scaffoldPhase(tmpDir, 1, { slug: 'foo', plans: 1, summaries: 1 }); // no *-VERIFICATION.md written
|
||||
|
||||
const initResult = runGsdTools('init manager --raw', tmpDir);
|
||||
const initResult = runMsdTools('init manager --raw', tmpDir);
|
||||
assert.ok(initResult.success, initResult.error);
|
||||
const initPhase = JSON.parse(initResult.output).phases.find((p) => p.number === '1' || p.number === '01');
|
||||
assert.strictEqual(initPhase.phase_complete, false);
|
||||
|
||||
const completeResult = runGsdTools('phase complete 1 --raw', tmpDir);
|
||||
const completeResult = runMsdTools('phase complete 1 --raw', tmpDir);
|
||||
assert.strictEqual(completeResult.success, false, 'phase complete must be BLOCKED to agree with init manager reporting incomplete');
|
||||
} finally {
|
||||
cleanup(tmpDir);
|
||||
@@ -483,7 +483,7 @@ describe('D — the 0.x split: "are plans summarized" stays a different, legitim
|
||||
function buildD1Fixture(t) {
|
||||
// All plans summarized, but NO *-VERIFICATION.md — the exact fixture
|
||||
// the design's "0.x split" section names as the trap.
|
||||
const dir = createTempDir('gsd-phase-completion-d1-');
|
||||
const dir = createTempDir('msd-phase-completion-d1-');
|
||||
t.after(() => cleanup(dir));
|
||||
fs.writeFileSync(path.join(dir, '01-01-PLAN.md'), '# Plan');
|
||||
fs.writeFileSync(path.join(dir, '01-01-SUMMARY.md'), '# Summary');
|
||||
@@ -553,7 +553,7 @@ describe('D — the 0.x split: "are plans summarized" stays a different, legitim
|
||||
});
|
||||
|
||||
test('D5: buildWorkstreamInventory reports complete for a zero-plan phase when the caller supplies a true owner verdict (#3168 parity)', (t) => {
|
||||
const dir = createTempDir('gsd-phase-completion-d5-');
|
||||
const dir = createTempDir('msd-phase-completion-d5-');
|
||||
t.after(() => cleanup(dir));
|
||||
writeVerification(dir, '01', 'passed');
|
||||
const owner = isPhaseComplete(dir);
|
||||
@@ -597,7 +597,7 @@ describe('F — Tier-2 regression surface', () => {
|
||||
writeRoadmap(tmpDir, [{ number: '1', name: 'Foo', complete: true }]);
|
||||
scaffoldPhase(tmpDir, 1, { slug: 'foo', plans: 3, summaries: 0 });
|
||||
|
||||
const result = runGsdTools('roadmap analyze --raw', tmpDir);
|
||||
const result = runMsdTools('roadmap analyze --raw', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const analyzed = JSON.parse(result.output);
|
||||
assert.notStrictEqual(analyzed.phases[0].disk_status, 'complete');
|
||||
@@ -606,9 +606,9 @@ describe('F — Tier-2 regression surface', () => {
|
||||
}
|
||||
});
|
||||
|
||||
test('F2: gsd-core/workflows/mvp-phase.md no longer ORs PHASE_COMPLETE with disk status', () => {
|
||||
test('F2: msd-core/workflows/mvp-phase.md no longer ORs PHASE_COMPLETE with disk status', () => {
|
||||
const content = fs.readFileSync(
|
||||
path.join(__dirname, '..', 'gsd-core', 'workflows', 'mvp-phase.md'),
|
||||
path.join(__dirname, '..', 'msd-core', 'workflows', 'mvp-phase.md'),
|
||||
'utf-8',
|
||||
);
|
||||
assert.ok(
|
||||
@@ -628,7 +628,7 @@ describe('F — Tier-2 regression surface', () => {
|
||||
writeRoadmap(tmpDir, [{ number: '1', name: 'Foo' }]);
|
||||
scaffoldPhase(tmpDir, 1, { slug: 'foo' }); // zero plans, no verification either
|
||||
|
||||
const result = runGsdTools('init manager --raw', tmpDir);
|
||||
const result = runMsdTools('init manager --raw', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const output = JSON.parse(result.output);
|
||||
const phase1 = output.phases.find((p) => p.number === '1' || p.number === '01');
|
||||
@@ -654,7 +654,7 @@ describe('F — Tier-2 regression surface', () => {
|
||||
|
||||
describe('G — write-path plan-coverage gate: a plan added after a still-fresh passing verification', () => {
|
||||
test('G1: the OWNER (isPhaseComplete) reports complete — no plan-count precondition, by design', () => {
|
||||
const dir = createTempDir('gsd-phase-completion-g1-');
|
||||
const dir = createTempDir('msd-phase-completion-g1-');
|
||||
try {
|
||||
fs.writeFileSync(path.join(dir, '01-01-PLAN.md'), '# Plan 1');
|
||||
fs.writeFileSync(path.join(dir, '01-01-SUMMARY.md'), '# Summary 1');
|
||||
@@ -684,7 +684,7 @@ describe('G — write-path plan-coverage gate: a plan added after a still-fresh
|
||||
|
||||
const roadmapBefore = fs.readFileSync(path.join(tmpDir, '.planning', 'ROADMAP.md'), 'utf-8');
|
||||
|
||||
const result = runGsdTools('roadmap update-plan-progress 1', tmpDir);
|
||||
const result = runMsdTools('roadmap update-plan-progress 1', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const output = JSON.parse(result.output);
|
||||
assert.strictEqual(output.complete, false, 'the write site must refuse — an outstanding plan has no completion record (#2648 precedent)');
|
||||
@@ -707,11 +707,11 @@ describe('G — write-path plan-coverage gate: a plan added after a still-fresh
|
||||
writeVerification(dir, '01', 'passed');
|
||||
fs.writeFileSync(path.join(dir, '01-02-PLAN.md'), '# Plan 2');
|
||||
|
||||
const updateResult = runGsdTools('roadmap update-plan-progress 1', tmpDir);
|
||||
const updateResult = runMsdTools('roadmap update-plan-progress 1', tmpDir);
|
||||
assert.ok(updateResult.success, updateResult.error);
|
||||
const updateOutput = JSON.parse(updateResult.output);
|
||||
|
||||
const completeResult = runGsdTools('phase complete 1 --raw', tmpDir);
|
||||
const completeResult = runMsdTools('phase complete 1 --raw', tmpDir);
|
||||
assert.strictEqual(completeResult.success, false, 'phase complete must refuse (its own #2648 gate)');
|
||||
assert.strictEqual(updateOutput.complete, false, 'both write paths agree: incomplete');
|
||||
} finally {
|
||||
@@ -727,7 +727,7 @@ describe('G — write-path plan-coverage gate: a plan added after a still-fresh
|
||||
const dir = scaffoldPhase(tmpDir, 1, { slug: 'foo', plans: 2, summaries: 2 });
|
||||
writeVerification(dir, '01', 'passed');
|
||||
|
||||
const result = runGsdTools('roadmap update-plan-progress 1', tmpDir);
|
||||
const result = runMsdTools('roadmap update-plan-progress 1', tmpDir);
|
||||
assert.ok(result.success, result.error);
|
||||
const output = JSON.parse(result.output);
|
||||
assert.strictEqual(output.complete, true, 'no outstanding plan — the gate does not withhold completion');
|
||||
|
||||
Reference in New Issue
Block a user