@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 CHANGED
@@ -202,6 +202,7 @@ interface Change {
202
202
  verify?: VerifyFile;
203
203
  fix?: VerifyFile;
204
204
  planPath?: string;
205
+ reviewPath?: string;
205
206
  mockupManifestPath?: string;
206
207
  diagnostics: Diagnostic[];
207
208
  }
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.verify) {
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@specatlas/core",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Kernel determinista de SpecAtlas: parsing, validación, trazabilidad, olas y ciclo de vida",
5
5
  "license": "MIT",
6
6
  "type": "module",