File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -214,8 +214,9 @@ export function isAtOrUnderCompactThreshold(
214214/** Shared re-arm rule for a session latched above the threshold after a
215215 * compact (automatic, operator, or overflow recovery): growth alone never
216216 * re-arms — only a wide resume gap past the post-compact measurement does.
217- * The proactive threshold path and the overflow path route through this single
218- * predicate; the governor owns clearing the latch underneath it. */
217+ * The proactive threshold path routes through this single predicate; the
218+ * overflow path shares the reset rule (under-threshold folds restore the
219+ * recovery budget) but fires on overflow errors regardless of this latch. */
219220export function hasWideResumeGap (
220221 postCompactTokens : number ,
221222 contextTokens : number ,
You can’t perform that action at this time.
0 commit comments