cnb: enforce WIP limit — max 2 in-flight PRs per worker - #263
Conversation
Today: lisa-su 7 open PRs, musk 5 — cascading rebase nightmare. Add Kanban WIP limit to norms + lead nudge instruction: - per-worker cap: 2 - team cap: workers × 2 - breaching cap = pause dispatch, switch to review/merge mode Flow efficiency over utilization. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
a06aca8 to
f88a8e3
Compare
💡 Codex Reviewcnb/lib/concerns/nudge_coordinator.py Line 135 in a06aca8 When the lead session is idle but still has the previous nudge typed at the prompt, the duplicate guard just above this call still looks for cnb/rules/norms/startup-sequence.md Line 77 in a06aca8 For the documented max of 2 open PRs per worker, this check needs to stop new assignments when the worker is already at 2, not only after they are over 2. In the exactly-two-PR scenario, following this rule still permits assigning another issue, which immediately creates a third in-flight PR and violates the WIP limit the section is trying to enforce. cnb/lib/concerns/nudge_coordinator.py Line 140 in a06aca8 For sessions that use the repo's GitHub App PR path ( ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Today: lisa-su 7 PRs, musk 5 → cascading rebase. Add Kanban WIP limit (2 per worker, team×2 total) to norms + lead nudge.