Repository navigation
Commit c3f0ef7
fix(skills/bounding-heavy-commands): count the larger of two unused-budget reads around the free memory in the check
The wait now reads the unused budgets before and after the free memory and counts the larger value. The check does the same, so its answer does not start a command that the wait would hold.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 11a2a75 commit c3f0ef7
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1347 | 1347 | | |
1348 | 1348 | | |
1349 | 1349 | | |
1350 | | - | |
| 1350 | + | |
1351 | 1351 | | |
| 1352 | + | |
| 1353 | + | |
1352 | 1354 | | |
1353 | 1355 | | |
1354 | 1356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2057 | 2057 | | |
2058 | 2058 | | |
2059 | 2059 | | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
2060 | 2066 | | |
2061 | 2067 | | |
2062 | 2068 | | |
| |||
2071 | 2077 | | |
2072 | 2078 | | |
2073 | 2079 | | |
2074 | | - | |
| 2080 | + | |
2075 | 2081 | | |
2076 | 2082 | | |
2077 | 2083 | | |
| |||
0 commit comments