Repository navigation
Commit 5430ca6
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 b734057 commit 5430ca6
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