Skip to content

Commit 6f2211e

Browse files
sourcehawkclaude
andcommitted
fix(skills/bounding-heavy-commands): require one default row that matches the command line in a complete entry
A complete entry needed only a self-bound and a row, but case 2 runs the default row of the entry. An entry with no default row, or with two, had no row to run, and one whose default row did not match its command line had two values for one run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent fc7094c commit 6f2211e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎skills/bounding-heavy-commands/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ A budget is valid only at the `--cpus` of its row. The same command at more proc
7070

7171
The table has one row for each `--cpus`. A measurement at a `--cpus` that has no row adds a row. A measurement at a `--cpus` that has a row replaces that row. Never delete a row because a different `--cpus` was measured. Two entries whose command lines differ only in the values of `--memory` and `--cpus` are one entry: keep one, with the rows of both, and where both have a row at the same `--cpus`, keep the newer one. The row at the `--cpus` of the default row of the entry that you keep stays the default row, and no other row is marked as the default. One row is the default row. A run uses it when nothing asks for a different one.
7272

73-
An entry is complete when it has a `self-bound` field and at least one row. An entry without the `self-bound` field is incomplete, also when it has a budget: its budget can be the peak of a command that nothing limits. An entry from an older shape of this record, with one budget and no table, is complete in one case only: its command line passes `--cpus` and reads `BOUNDED_RUN_CPUS`. Then rewrite it into this shape. The setting that reads the variable is its `self-bound`, and its budget, peak, and date become the default row at that `--cpus`.
73+
An entry is complete when it has a `self-bound` field, at least one row, and one default row whose `--cpus` and budget are the values in its command line. An entry without the `self-bound` field is incomplete, also when it has a budget: its budget can be the peak of a command that nothing limits. An entry from an older shape of this record, with one budget and no table, is complete in one case only: its command line passes `--cpus` and reads `BOUNDED_RUN_CPUS`. Then rewrite it into this shape. The setting that reads the variable is its `self-bound`, and its budget, peak, and date become the default row at that `--cpus`.
7474

7575
Then, before each heavy command, use the first case that applies:
7676

0 commit comments

Comments
 (0)