Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
cd9ab4e
docs: allow skills to ship Python scripts with tests (#45)
sourcehawk Sep 28, 2026
14225a0
feat(skills/bounding-heavy-commands): read memory sizes for the wrapp…
sourcehawk Sep 28, 2026
87ed00b
feat(skills/bounding-heavy-commands): count memory slots from the mac…
sourcehawk Sep 28, 2026
07afb33
feat(skills/bounding-heavy-commands): keep the lock files in a direct…
sourcehawk Sep 28, 2026
4e370eb
feat(skills/bounding-heavy-commands): reserve memory slots all or non…
sourcehawk Sep 28, 2026
7f40244
fix(skills/bounding-heavy-commands): report a lock error that is not …
sourcehawk Sep 28, 2026
73ea21e
test(skills/bounding-heavy-commands): prove that a lock error leaves …
sourcehawk Sep 28, 2026
655f022
feat(skills/bounding-heavy-commands): name exclusive resources for ea…
sourcehawk Sep 28, 2026
ced6de8
feat(skills/bounding-heavy-commands): wait for free memory with a tim…
sourcehawk Sep 28, 2026
5ba4971
feat(skills/bounding-heavy-commands): build the cgroup cap and probe …
sourcehawk Sep 28, 2026
624bc4f
feat(skills/bounding-heavy-commands): measure the peak memory of a co…
sourcehawk Sep 28, 2026
46a9638
feat(skills/bounding-heavy-commands): run a command and pass its exit…
sourcehawk Sep 28, 2026
119471b
fix(skills/bounding-heavy-commands): stop the command when the wrappe…
sourcehawk Sep 28, 2026
f910b1d
fix(skills/bounding-heavy-commands): stop the command on a hangup (#45)
sourcehawk Sep 28, 2026
93d8a8d
test(skills/bounding-heavy-commands): make the signal tests fail on a…
sourcehawk Sep 28, 2026
cc802d4
test(skills/bounding-heavy-commands): stop the command of a test that…
sourcehawk Sep 28, 2026
4a84b57
feat(skills/bounding-heavy-commands): queue commands on the memory of…
sourcehawk Sep 28, 2026
bd33dd9
feat(skills/bounding-heavy-commands): cap the command and report its …
sourcehawk Sep 28, 2026
1238bd2
fix(skills/bounding-heavy-commands): stop with 130 and no traceback o…
sourcehawk Sep 28, 2026
92d1768
test(skills/bounding-heavy-commands): make the capped signal test fai…
sourcehawk Sep 28, 2026
0e5b705
fix(skills/bounding-heavy-commands): remove the peak file on every pa…
sourcehawk Sep 28, 2026
30d879c
test(skills/bounding-heavy-commands): wait for a fact, not for a time…
sourcehawk Sep 28, 2026
a0801b6
test(skills/bounding-heavy-commands): read the error stream of a proc…
sourcehawk Sep 28, 2026
adb71b3
test(skills/bounding-heavy-commands): order two signals by a fact and…
sourcehawk Sep 28, 2026
4d6097f
fix(skills/bounding-heavy-commands): keep systemd from stopping a cap…
sourcehawk Sep 28, 2026
494cffc
docs(skills/bounding-heavy-commands): say who sets the variables of t…
sourcehawk Sep 28, 2026
859634d
chore: ignore the cache directories of the script tests (#45)
sourcehawk Sep 28, 2026
373f92a
ci: run the script tests on Linux and macOS (#45)
sourcehawk Sep 28, 2026
8627867
fix(skills/bounding-heavy-commands): write the peak before the signal…
sourcehawk Sep 28, 2026
9371c05
fix(skills/bounding-heavy-commands): keep the hard cap on a systemd t…
sourcehawk Sep 28, 2026
f6fedea
docs(skills/bounding-heavy-commands): name the risk of each variable,…
sourcehawk Sep 28, 2026
b319565
test(skills/bounding-heavy-commands): give each wait for an event 60 …
sourcehawk Sep 28, 2026
d22ebd7
feat(skills/bounding-heavy-commands): add the skill that bounds heavy…
sourcehawk Sep 28, 2026
496ee06
fix(skills/bounding-heavy-commands): remove the conflicts that three …
sourcehawk Sep 28, 2026
1ec8cfe
feat(skills): send every heavy command through bounding-heavy-command…
sourcehawk Sep 28, 2026
4ebf0dd
fix(skills/bounding-heavy-commands): refuse a setting that is not a f…
sourcehawk Sep 28, 2026
f983044
fix(skills/bounding-heavy-commands): decide the case of a harness wit…
sourcehawk Sep 28, 2026
ea713f5
fix(skills/bounding-heavy-commands): count the memory limit of the cg…
sourcehawk Sep 28, 2026
fe3f963
fix(skills/bounding-heavy-commands): refuse a relative BOUNDED_RUN_LO…
sourcehawk Sep 28, 2026
f0143bb
fix(skills/bounding-heavy-commands): report a lock file that cannot b…
sourcehawk Sep 28, 2026
9b6f0d9
fix(skills/bounding-heavy-commands): report a lock error of reserve.l…
sourcehawk Sep 28, 2026
041516d
fix(skills/bounding-heavy-commands): report a lock directory whose mo…
sourcehawk Sep 28, 2026
1b46199
fix(skills/bounding-heavy-commands): report a physical memory that ca…
sourcehawk Sep 28, 2026
97169d7
fix(skills/bounding-heavy-commands): report a removed working directo…
sourcehawk Sep 28, 2026
ea4369e
fix(skills/bounding-heavy-commands): ignore a relative XDG_RUNTIME_DI…
sourcehawk Sep 28, 2026
5867f3a
fix(skills/bounding-heavy-commands): keep the default budget within t…
sourcehawk Sep 28, 2026
f257515
fix(skills/bounding-heavy-commands): reduce a budget larger than the …
sourcehawk Sep 28, 2026
a8f283d
fix(skills/bounding-heavy-commands): wait for the free memory of the …
sourcehawk Sep 28, 2026
fc3c3e5
fix(skills/bounding-heavy-commands): stop the command when the wrappe…
sourcehawk Sep 28, 2026
87acd91
fix(skills/bounding-heavy-commands): keep the default budget above ze…
sourcehawk Sep 28, 2026
77ab2f9
fix(skills/bounding-heavy-commands): keep a budget within a total sma…
sourcehawk Sep 28, 2026
04304df
fix(skills/bounding-heavy-commands): hand a narrower argument through…
sourcehawk Sep 28, 2026
6513fb8
fix(skills/bounding-heavy-commands): keep one queue when a cleaner de…
sourcehawk Sep 28, 2026
a6cad71
fix(skills/bounding-heavy-commands): warn when the parent-death signa…
sourcehawk Sep 28, 2026
0a7052a
fix(skills/bounding-heavy-commands): keep the reserve on a machine wi…
sourcehawk Sep 28, 2026
6e91cb9
fix(skills/bounding-heavy-commands): refuse a poll or sample interval…
sourcehawk Sep 28, 2026
6bf5ef1
fix(skills/bounding-heavy-commands): warn when a command leaves a pro…
sourcehawk Sep 28, 2026
f981d2f
fix(skills/bounding-heavy-commands): take the smallest free memory of…
sourcehawk Sep 28, 2026
4b4b0f0
docs(README): recommend project memory for the bounded commands (#45)
sourcehawk Sep 29, 2026
4449518
chore(.github): use the action versions that run on Node 24 (#45)
sourcehawk Sep 29, 2026
5ad2e48
fix(skills/bounding-heavy-commands): refuse to run when git does not …
sourcehawk Sep 29, 2026
fcaf35f
fix(skills/bounding-heavy-commands): end the command on a second stop…
sourcehawk Sep 29, 2026
7419ff6
fix(skills/bounding-heavy-commands): count the slots of a very large …
sourcehawk Sep 29, 2026
bb292a3
fix(skills/bounding-heavy-commands): refuse to run when git fails for…
sourcehawk Sep 29, 2026
187f49e
fix(skills/fanning-out-with-worktrees): name the machine on which the…
sourcehawk Sep 29, 2026
eaf0d11
Merge remote-tracking branch 'origin/main' into feat/bounded-heavy-co…
sourcehawk Sep 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ It is also the faster path. Breaking the feature into independent PRs lets the m
| `fanning-out-with-worktrees` | An orchestrator dispatching parallel subagents into per-PR worktrees off a feature branch. |
| `stacking-dependent-prs` | A PR's branch is based on another open PR's branch (a linear stack). Creates, adopts, propagates through, syncs, and merges the stack with `gh stack`, in one dedicated worktree per stack. |
| `reviewing-feature-progress` | Orchestration checkpoints: between fan-out waves, and before the integration PR. |
| `bounding-heavy-commands` | About to run a test suite, linter, build, or type check, or to dispatch subagents that will. Runs every heavy command through a memory queue that all sessions and projects on the machine share, so parallel work queues instead of freezing the machine. |
| `testing-a-feature` | Writing tests for any non-trivial change. Decides the assertion shape (black-box against the contract). |
| `testing-end-to-end` | A structurally-complete feature introduces a new user- or consumer-visible flow. Decides which flows earn an end-to-end test and what each asserts (golden path, not edge cases). |
| `writing-code-comments` | About to write, edit, or delete a comment in source code. Decides whether the comment exists and what it holds: the contract for a doc comment, and the fact that the code cannot show for an inline comment. |
Expand All @@ -57,7 +58,7 @@ flowchart TD
Shape -->|single PR| IssueOne[File one issue<br/>feature or bug]
IssueOne --> PlanS[Write the plan<br/>ordered tasks · dependencies]
PlanS --> Build[Implement directly<br/>test-first · one commit per task]
Build --> VerifyS[Verify green<br/>tests · lint · typecheck]
Build --> VerifyS[Verify green<br/>tests · lint · typecheck<br/>each through the memory queue]
VerifyS --> PR1[Open PR → main<br/>Fixes / Closes the issue]

Shape -->|many PRs| Epic[File an epic<br/>+ one sub-issue per PR, linked]
Expand All @@ -67,7 +68,7 @@ flowchart TD
Wave --> Merge[Orchestrator reviews each sub-PR,<br/>merges it, closes its sub-issue]
Merge --> Done{All sub-PRs<br/>merged?}
Done -->|next wave| Wave
Done -->|yes| VerifyM[Verify the integrated branch<br/>green end to end]
Done -->|yes| VerifyM[Verify the integrated branch<br/>green end to end, through the memory queue]
VerifyM --> PR2[Open the integration PR<br/>feature → main · Closes the epic]

PR1 --> Ship([External review → act on the feedback,<br/>comments checked for growth → merge<br/>plan + state torn down in the same diff])
Expand Down Expand Up @@ -116,6 +117,8 @@ A local path also works for development: `/plugin marketplace add /path/to/featu

No further setup is required; the skills derive your repo and build commands from context. Optionally, paste [`templates/project-CLAUDE.md`](templates/project-CLAUDE.md) into your project's `CLAUDE.md` to give every session the workflow overview and the operational rules (commit conventions, safe git staging, GitHub-mutation confirmation).

Keep project memory on to get the most from `bounding-heavy-commands`. In Claude Code that is auto memory, which is on by default. The skill saves the measured memory budget and the bounded command line of each heavy command there, so a later session starts with them. With memory off, the queue still protects the machine, but each session measures the commands again and uses the default budget for a command that it did not measure.
Comment thread
sourcehawk marked this conversation as resolved.
Resolved

## Notes

- Intra-plugin skill references are namespaced as `feature-dev-workflow:<name>`.
Expand Down
163 changes: 163 additions & 0 deletions skills/bounding-heavy-commands/SKILL.md

Large diffs are not rendered by default.

Loading
Loading