Skip to content

Commit bf657a6

Browse files
sourcehawkclaude
andcommitted
fix(skills/bounding-heavy-commands): say which default row a merged entry keeps
Two entries of one command can each have a default row, and the merge rule kept the rows of both without saying which default stays. The merged entry now keeps the default row of the entry that the agent keeps, at its --cpus, and marks no other row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 33e0e86 commit bf657a6

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
@@ -68,7 +68,7 @@ Each heavy command has one entry, in this shape:
6868

6969
A budget is valid only at the `--cpus` of its row. The same command at more processors runs more things at once and needs more memory. So each row is a different measured command, and a run takes its `--cpus` and its `--memory` from one row. The command line of the entry carries the values of the default row. To use a different row, replace both values with the values of that row.
7070

71-
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. One row is the default row. A run uses it when nothing asks for a different one.
71+
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

7373
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`.
7474

0 commit comments

Comments
 (0)