@pourkit/cli 0.0.0-next-20260613201753 → 0.0.0-next-20260613223714
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/cli.js +12 -9
- package/dist/cli.js.map +1 -1
- package/dist/e2e/run-live-e2e.js +8 -5
- package/dist/e2e/run-live-e2e.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -425,8 +425,7 @@ var ReviewRefactorLoopStrategySchema = z.object({
|
|
|
425
425
|
prdRun: z.object({
|
|
426
426
|
mode: PrdRunModeSchema.optional(),
|
|
427
427
|
// Uses promptTemplate (canonical StageAgentConfig field), not prompt as Issue contract may suggest
|
|
428
|
-
finalReview: StageAgentConfigSchema
|
|
429
|
-
reconciliation: StageAgentConfigSchema.optional()
|
|
428
|
+
finalReview: StageAgentConfigSchema
|
|
430
429
|
}).strict().optional()
|
|
431
430
|
}).strict();
|
|
432
431
|
var TargetSerenaConfigSchema = z.object({
|
|
@@ -661,6 +660,11 @@ function parseConfig(raw) {
|
|
|
661
660
|
`targets[${i}].strategy.conflictResolution has been removed; use targets[${i}].strategy.failureResolution`
|
|
662
661
|
);
|
|
663
662
|
}
|
|
663
|
+
if (strategy && typeof strategy === "object" && strategy.prdRun && typeof strategy.prdRun === "object" && "reconciliation" in strategy.prdRun) {
|
|
664
|
+
throw new Error(
|
|
665
|
+
`targets[${i}].strategy.prdRun.reconciliation has been removed; PRD Run no longer invokes Architect reconciliation.`
|
|
666
|
+
);
|
|
667
|
+
}
|
|
664
668
|
}
|
|
665
669
|
if (config.sandbox && typeof config.sandbox === "object") {
|
|
666
670
|
assertKnownKeys(config.sandbox, "sandbox", [
|
|
@@ -719,8 +723,7 @@ function parseConfig(raw) {
|
|
|
719
723
|
...t.strategy.prdRun ? {
|
|
720
724
|
prdRun: {
|
|
721
725
|
...t.strategy.prdRun.mode ? { mode: t.strategy.prdRun.mode } : {},
|
|
722
|
-
finalReview: t.strategy.prdRun.finalReview
|
|
723
|
-
...t.strategy.prdRun.reconciliation ? { reconciliation: t.strategy.prdRun.reconciliation } : {}
|
|
726
|
+
finalReview: t.strategy.prdRun.finalReview
|
|
724
727
|
}
|
|
725
728
|
} : {}
|
|
726
729
|
}
|
|
@@ -3270,7 +3273,7 @@ function validateFinalReviewAgentOutputs(options) {
|
|
|
3270
3273
|
return { ok: true, artifact, retouch };
|
|
3271
3274
|
}
|
|
3272
3275
|
function isRetouchScopePath(path9) {
|
|
3273
|
-
if (path9.startsWith(".pourkit/
|
|
3276
|
+
if (path9.startsWith(".pourkit/plans/") || path9 === ".pourkit/CONTEXT.md" || path9.startsWith(".pourkit/docs/") || /^\.pourkit\/prd-runs\/[^/]+\.json$/.test(path9)) {
|
|
3274
3277
|
return false;
|
|
3275
3278
|
}
|
|
3276
3279
|
return true;
|
|
@@ -14481,11 +14484,11 @@ function createCliProgram(version) {
|
|
|
14481
14484
|
return program;
|
|
14482
14485
|
}
|
|
14483
14486
|
async function resolveCliVersion() {
|
|
14484
|
-
if (isPackageVersion("0.0.0-next-
|
|
14485
|
-
return "0.0.0-next-
|
|
14487
|
+
if (isPackageVersion("0.0.0-next-20260613223714")) {
|
|
14488
|
+
return "0.0.0-next-20260613223714";
|
|
14486
14489
|
}
|
|
14487
|
-
if (isReleaseVersion("0.0.0-next-
|
|
14488
|
-
return "0.0.0-next-
|
|
14490
|
+
if (isReleaseVersion("0.0.0-next-20260613223714")) {
|
|
14491
|
+
return "0.0.0-next-20260613223714";
|
|
14489
14492
|
}
|
|
14490
14493
|
try {
|
|
14491
14494
|
const root = repoRoot();
|