Repository navigation
Closed
Labels
Description
This was generated by AI from a grill-with-docs session.
Parent
What to build
[pass] command_limit in the User config, a whole number from 1 up, default 1, is how many live Commands on one repository on one machine skip a Pass there. This is the Command limit in GLOSSARY.md, and it replaces the one-at-a-time Pass lock.
- Every live Command counts, Ticket runs and Spec runs started by hand on an Issue URL included. Only a Pass is ever skipped: a command the Day shift types always runs.
- A Pass's dispatched Spec run or Ticket run is part of that Pass and takes no slot of its own.
- A Command that ends, however it ends, a crash included, frees its slot.
- In this Ticket only Pickup runs share a repository. Architect runs, Security runs and issue-less Custom processes still start only when nothing else is running on the repository, and keep it to themselves, as today.
Decided in docs/grill-with-docs/1532-keep-working-the-backlog.md: Q1.2, Q2.1, Q3.1, Q3.2.
Acceptance criteria
- Each live Command on a repository holds a slot that the operating system frees when its process ends. A Pass counts the held slots and takes one under a short lock, so two Passes starting together can't both take the last slot. A Command started on an Issue URL takes a slot without checking the count.
- At
command_limit = 1, a second Pass is skipped as today. Its message and exit code don't change, and existingALREADY_RUNNINGtests pass unchanged. - At
command_limit = 2, two Pickup runs on one repository run at once. A third Pass is skipped, its line saying how many Commands are running and what the limit is, which tells it apart from a skip for the Failure limit. - A Ticket run started by hand on an Issue URL fills a slot, so a Pass at the limit is skipped, but the Ticket run itself is never refused, even at the limit.
- A killed Command frees its slot for the next Pass.
- The limit counts only its own repository: a full repository never skips another repository's Pass.
- A thirdshift from before this change and one from after still keep each other out. Each Pass also tries today's lock file, so with
command_limit = 1old and new binaries behave the same. - An Architect run, Security run or issue-less Custom process is skipped while any other Command runs on the repository. While it runs, every Pass is skipped.
- Skips are recorded in the Activity log once per change of reason.
thirdshift statusand the Console show each overlapping Command on its own row. -
command_limitis refused at 0, negative, fractional or quoted values. Setup's defaults, the User config comments anddocs/guide.mddescribe it, and the guide says how to raise it, beside the[resources]memory and load waits. - Tests run through the CLI, with two
thirdshiftprocesses at once (prior art: theALREADY_RUNNINGtests inarchitect_run), plususer_config.
Blocked by
None - can start immediately.
Activity
JacobStephens2 commentedon Oct 29, 2026
Closed by #1580, merged into issue-1564 by a thirdshift Ticket run with Self-merge.
Merge origin/issue-1564 into issue-1569