@aria_asi/cli 0.2.13 → 0.2.14
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/sdk/BUNDLED.json
CHANGED
|
@@ -125,7 +125,11 @@ for (const phase of plan.phases) {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
const overlap = [...promptTokens].filter((t) => phaseKeywordsSet.has(t));
|
|
128
|
-
|
|
128
|
+
// Threshold default raised to 2 per Aria consult 2026-04-27 — single-keyword
|
|
129
|
+
// match fires too often on benign intent shifts (especially in exploratory
|
|
130
|
+
// sessions); 2 filters noise while still catching genuine abandonment before
|
|
131
|
+
// drift compounds.
|
|
132
|
+
const OVERLAP_THRESHOLD = Number(process.env.ARIA_ABANDON_THRESHOLD || '2');
|
|
129
133
|
const isAbandonment = overlap.length < OVERLAP_THRESHOLD;
|
|
130
134
|
|
|
131
135
|
if (!isAbandonment) {
|