@specatlas/core 0.1.3 → 0.1.4
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/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1059,7 +1059,7 @@ function deriveState(input) {
|
|
|
1059
1059
|
blockedBy.push(`evidencia ${scenariosEvidenced}/${deltaScenarios.length}`);
|
|
1060
1060
|
return { state: "built", blockedBy, nextAction: next(`satlas verify ${change.slug}`, "Registrar evidencia por escenario"), progress };
|
|
1061
1061
|
}
|
|
1062
|
-
if (lane === "full" && cfg.gates.review.mode === "blocking" && !change.
|
|
1062
|
+
if (lane === "full" && cfg.gates.review.mode === "blocking" && !change.reviewPath) {
|
|
1063
1063
|
blockedBy.push("review pendiente");
|
|
1064
1064
|
return { state: "verified", blockedBy, nextAction: next(`/satlas.review ${change.slug}`, "Revisi\xF3n de c\xF3digo", true), progress };
|
|
1065
1065
|
}
|
|
@@ -1278,6 +1278,8 @@ async function loadChange(root, slug, relDir) {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
const planFile = path4.join(dir, "plan.md");
|
|
1280
1280
|
if (await exists(planFile)) change.planPath = planFile;
|
|
1281
|
+
const reviewFile = path4.join(dir, "review.md");
|
|
1282
|
+
if (await exists(reviewFile)) change.reviewPath = reviewFile;
|
|
1281
1283
|
const tasksFile = path4.join(dir, "tasks.md");
|
|
1282
1284
|
const tasksRaw = await readTextIfExists(tasksFile);
|
|
1283
1285
|
if (tasksRaw !== void 0) {
|