@pourkit/cli 0.0.0-next-20260613201753 → 0.0.0-next-20260614002607

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.
@@ -429,8 +429,7 @@ var ReviewRefactorLoopStrategySchema = z.object({
429
429
  prdRun: z.object({
430
430
  mode: PrdRunModeSchema.optional(),
431
431
  // Uses promptTemplate (canonical StageAgentConfig field), not prompt as Issue contract may suggest
432
- finalReview: StageAgentConfigSchema,
433
- reconciliation: StageAgentConfigSchema.optional()
432
+ finalReview: StageAgentConfigSchema
434
433
  }).strict().optional()
435
434
  }).strict();
436
435
  var TargetSerenaConfigSchema = z.object({
@@ -665,6 +664,11 @@ function parseConfig(raw) {
665
664
  `targets[${i}].strategy.conflictResolution has been removed; use targets[${i}].strategy.failureResolution`
666
665
  );
667
666
  }
667
+ if (strategy && typeof strategy === "object" && strategy.prdRun && typeof strategy.prdRun === "object" && "reconciliation" in strategy.prdRun) {
668
+ throw new Error(
669
+ `targets[${i}].strategy.prdRun.reconciliation has been removed; PRD Run no longer invokes Architect reconciliation.`
670
+ );
671
+ }
668
672
  }
669
673
  if (config.sandbox && typeof config.sandbox === "object") {
670
674
  assertKnownKeys(config.sandbox, "sandbox", [
@@ -723,8 +727,7 @@ function parseConfig(raw) {
723
727
  ...t.strategy.prdRun ? {
724
728
  prdRun: {
725
729
  ...t.strategy.prdRun.mode ? { mode: t.strategy.prdRun.mode } : {},
726
- finalReview: t.strategy.prdRun.finalReview,
727
- ...t.strategy.prdRun.reconciliation ? { reconciliation: t.strategy.prdRun.reconciliation } : {}
730
+ finalReview: t.strategy.prdRun.finalReview
728
731
  }
729
732
  } : {}
730
733
  }
@@ -3342,7 +3345,7 @@ function validateFinalReviewAgentOutputs(options) {
3342
3345
  return { ok: true, artifact, retouch };
3343
3346
  }
3344
3347
  function isRetouchScopePath(path9) {
3345
- if (path9.startsWith(".pourkit/architecture/") || path9 === ".pourkit/CONTEXT.md" || path9.startsWith(".pourkit/docs/adr/") || /^\.pourkit\/prd-runs\/[^/]+\.json$/.test(path9)) {
3348
+ if (path9.startsWith(".pourkit/plans/") || path9 === ".pourkit/CONTEXT.md" || path9.startsWith(".pourkit/docs/") || /^\.pourkit\/prd-runs\/[^/]+\.json$/.test(path9)) {
3346
3349
  return false;
3347
3350
  }
3348
3351
  return true;