chore(M001): auto-commit after validate-milestone
This commit is contained in:
parent
6f156ed053
commit
dff941b1dc
3 changed files with 5 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ import { tmpdir } from 'node:os';
|
|||
|
||||
import { openDatabase, closeDatabase, getMilestone, getMilestoneSlices } from '../gsd-db.ts';
|
||||
import { handlePlanMilestone } from '../tools/plan-milestone.ts';
|
||||
import { parseRoadmap } from '../files.ts';
|
||||
import { parseRoadmap } from '../parsers-legacy.ts';
|
||||
|
||||
function makeTmpBase(): string {
|
||||
const base = mkdtempSync(join(tmpdir(), 'gsd-plan-milestone-'));
|
||||
|
|
@ -94,7 +94,7 @@ test('handlePlanMilestone writes milestone and slice planning state and renders
|
|||
assert.match(roadmap, /# M001: DB-backed planning/);
|
||||
assert.match(roadmap, /\*\*Vision:\*\* Make planning write through the database\./);
|
||||
assert.match(roadmap, /- \[ \] \*\*S01: Tool wiring\*\* `risk:medium` `depends:\[\]`/);
|
||||
assert.match(roadmap, /- \[ \] \*\*S02: Prompt migration\*\* `risk:low` `depends:\["S01"\]`/);
|
||||
assert.match(roadmap, /- \[ \] \*\*S02: Prompt migration\*\* `risk:low` `depends:\[S01\]`/);
|
||||
} finally {
|
||||
cleanup(base);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@ import { tmpdir } from 'node:os';
|
|||
|
||||
import { openDatabase, closeDatabase, insertMilestone, insertSlice, getSlice, getSliceTasks, getTask } from '../gsd-db.ts';
|
||||
import { handlePlanSlice } from '../tools/plan-slice.ts';
|
||||
import { parsePlan, parseTaskPlanFile } from '../files.ts';
|
||||
import { parsePlan } from '../parsers-legacy.ts';
|
||||
import { parseTaskPlanFile } from '../files.ts';
|
||||
|
||||
function makeTmpBase(): string {
|
||||
const base = mkdtempSync(join(tmpdir(), 'gsd-plan-slice-'));
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import {
|
|||
_getAdapter,
|
||||
} from '../gsd-db.ts';
|
||||
import { handleReplanSlice } from '../tools/replan-slice.ts';
|
||||
import { parsePlan } from '../files.ts';
|
||||
import { parsePlan } from '../parsers-legacy.ts';
|
||||
|
||||
function makeTmpBase(): string {
|
||||
const base = mkdtempSync(join(tmpdir(), 'gsd-replan-'));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue