kantban-cli 0.1.13 → 0.1.15
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/{chunk-FKIFDPKK.js → chunk-KGS3M2MY.js} +7 -3
- package/dist/chunk-KGS3M2MY.js.map +1 -0
- package/dist/{cron-7EFCWJUS.js → cron-AZPDPON3.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{pipeline-Z47VDJBI.js → pipeline-UNO4PIW4.js} +3 -23
- package/dist/pipeline-UNO4PIW4.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-FKIFDPKK.js.map +0 -1
- package/dist/pipeline-Z47VDJBI.js.map +0 -1
- /package/dist/{cron-7EFCWJUS.js.map → cron-AZPDPON3.js.map} +0 -0
|
@@ -113,6 +113,9 @@ function classifyTrajectory(snapshots) {
|
|
|
113
113
|
if (meaningful.length === 0) {
|
|
114
114
|
return { status: "progressing", evidence: "only initial checks", confidence: 0.5 };
|
|
115
115
|
}
|
|
116
|
+
if (meaningful.length < 2) {
|
|
117
|
+
return { status: "progressing", evidence: "insufficient data for trajectory", confidence: 0.3 };
|
|
118
|
+
}
|
|
116
119
|
if (meaningful.every((d) => d === "same")) {
|
|
117
120
|
return { status: "spinning", evidence: "identical gate results", confidence: 1 };
|
|
118
121
|
}
|
|
@@ -3807,6 +3810,7 @@ var RalphLoop = class {
|
|
|
3807
3810
|
log(`Ticket moved to column ${afterFp.column_id ?? "null"}`);
|
|
3808
3811
|
return withCosts({ reason: "moved", iterations: i, gutterCount, model: resolvedModel, output: lastOutput });
|
|
3809
3812
|
}
|
|
3813
|
+
const gutterBeforeGates = gutterCount;
|
|
3810
3814
|
if (this.config.onPostIterationGates) {
|
|
3811
3815
|
try {
|
|
3812
3816
|
const snapshot = await this.config.onPostIterationGates(this.ticketId, i);
|
|
@@ -3894,8 +3898,8 @@ var RalphLoop = class {
|
|
|
3894
3898
|
}
|
|
3895
3899
|
break;
|
|
3896
3900
|
case "spinning":
|
|
3897
|
-
gutterCount
|
|
3898
|
-
log(`Stuck detection: spinning \u2014 gutter
|
|
3901
|
+
gutterCount = gutterBeforeGates + 2;
|
|
3902
|
+
log(`Stuck detection: spinning \u2014 gutter set to ${String(gutterCount)}/${String(this.config.gutterThreshold)}`);
|
|
3899
3903
|
break;
|
|
3900
3904
|
case "blocked":
|
|
3901
3905
|
log(`Stuck detection: blocked \u2014 exiting immediately`);
|
|
@@ -4060,4 +4064,4 @@ export {
|
|
|
4060
4064
|
generateGateProxyMcpConfig,
|
|
4061
4065
|
cleanupGateProxyConfigs
|
|
4062
4066
|
};
|
|
4063
|
-
//# sourceMappingURL=chunk-
|
|
4067
|
+
//# sourceMappingURL=chunk-KGS3M2MY.js.map
|