Commit f195cfc
committed
fix(plugin): heuristics blocked when ctx_reduce disabled and no pending ops
When ctx_reduce_enabled=false, pending ops are always 0, so the
heuristic gate (hasPendingUserOps && scheduler=execute) never fired.
Tool cleanup and reasoning clearing were completely blocked above the
execute threshold. Removed the pending ops requirement — the scheduler
already gates execute decisions properly.1 parent 9b70f2d commit f195cfc
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments