@jwilger/pi-development-system 0.68.0 → 0.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -54,4 +54,4 @@ Use `devsys_work_item` for the backlog. It reads `[tracker] kind` from `.develop
|
|
|
54
54
|
|
|
55
55
|
## Handing off
|
|
56
56
|
|
|
57
|
-
`/devsys-plan <slug>` writes `docs/plan/<slug>.md` in this structure and, when a goal tool is available
|
|
57
|
+
`/devsys-plan <slug>` writes `docs/plan/<slug>.md` in this structure and checks every task record. Then it stops for the user to review the plan. Only after they approve does it start a goal to complete the plan, when a goal tool is available: a goal can begin implementing on its own, so it must not exist before the review.
|
|
@@ -176,7 +176,7 @@ function problemsOf(markdown: string, split: Sections): string[] {
|
|
|
176
176
|
}
|
|
177
177
|
const missing = SECTIONS.filter((s) => got(sections, s) === "");
|
|
178
178
|
if (missing.length > 0) problems.push(`missing section: ${missing.join(", ")}`);
|
|
179
|
-
if (/\bTBD\b
|
|
179
|
+
if (/\bTBD\b/i.test(markdown)) problems.push("contains TBD; decide it or split the task");
|
|
180
180
|
const steps = stepsOf(get(sections, "Steps"));
|
|
181
181
|
if (!missing.includes("Steps") && (steps.length < STEPS_MIN || steps.length > STEPS_MAX)) {
|
|
182
182
|
problems.push(`Steps must be ${STEPS_MIN}-${STEPS_MAX} steps, found ${steps.length}`);
|