Repository navigation
Commit bca2fa1
fix(skills/bounding-heavy-commands): stop first measurements from running together (#50)
* fix(skills/bounding-heavy-commands): run a first measurement alone in the queue (#49)
A measurement with no budget took the default budget, a quarter of the machine, while the peak of the command was not known. Several sessions could measure several commands together, and with no hard cap nothing stopped them. Such a measurement now takes each slot of the queue. It waits for the free memory of the default budget only, because the memory of the full queue is seldom free.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* fix(skills/bounding-heavy-commands): send SIGQUIT to the command (#49)
The quit signal of the terminal ended the wrapper and not the command. On a system with no parent-death signal the command lived on, and the queue counted its slots as free.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* refactor(skills/bounding-heavy-commands): remove test comments that describe the next line (#49)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* docs(README): say what a session with no project memory costs (#49)
The text said that the queue still protects the machine with memory off. For a command that was never measured, on a machine with no hard cap, the default budget can be less than the command needs.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* fix(skills/bounding-heavy-commands): record a budget from a full run only, and dispatch in sequence with no wrapper (#49)
An agent recorded the budget of a test suite that stopped at its first failure, in the third of about 200 files. The budget was too small and stayed in the record. The skill now takes a budget only from a run that did its full work, and says that a first measurement takes the whole queue.
With no wrapper, no lock makes subagents take turns, and the skills gave the orchestrator no means to keep two heavy commands apart. The subagents that run a heavy command are now dispatched one after the other.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* fix(skills/bounding-heavy-commands): keep a stop signal that comes before the capped command runs (#49)
The process inside the cap took a stop signal and did nothing with it. A signal that came before the command existed was lost, and the command ran to its end. The process now sends that signal to the command after the start, and SIGKILL when more than one came.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>1 parent 0e68383 commit bca2fa1
5 files changed
Lines changed: 97 additions & 29 deletions
File tree
- skills
- bounding-heavy-commands
- scripts
- tests
- fanning-out-with-worktrees
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | | - | |
| 658 | + | |
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
704 | 707 | | |
705 | | - | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
706 | 711 | | |
707 | | - | |
| 712 | + | |
708 | 713 | | |
709 | 714 | | |
710 | 715 | | |
711 | 716 | | |
712 | 717 | | |
713 | 718 | | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
714 | 725 | | |
715 | 726 | | |
716 | 727 | | |
| |||
785 | 796 | | |
786 | 797 | | |
787 | 798 | | |
| 799 | + | |
788 | 800 | | |
789 | 801 | | |
790 | 802 | | |
| |||
794 | 806 | | |
795 | 807 | | |
796 | 808 | | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
797 | 812 | | |
798 | 813 | | |
799 | 814 | | |
| 815 | + | |
800 | 816 | | |
801 | 817 | | |
802 | 818 | | |
| |||
842 | 858 | | |
843 | 859 | | |
844 | 860 | | |
845 | | - | |
| 861 | + | |
846 | 862 | | |
847 | 863 | | |
848 | 864 | | |
| |||
0 commit comments