@@ -33,40 +33,40 @@ The mental model:
3333
3434| Name | Current | Meaning |
3535| --- | ---: | --- |
36- | ` workers.max ` | 64 | Maximum global Codex worker budget used to derive lane limits. |
37- | ` workers.reserve_for_interactive ` | 16 | Worker slots background lanes leave open for exact/manual/urgent work. |
38- | ` workers.expansion_reserve ` | 24 | Extra slots background lanes leave open for independently planned matrix expansion. |
39- | ` workers.minimum_background ` | 8 | Target floor for background progress when enough global capacity is available. |
40- | ` lanes.exact_review.max_concurrent ` | 8 | Maximum concurrent exact-item review workflow runs admitted to Codex. |
36+ | ` workers.max ` | 32 | Maximum global Codex worker budget used to derive lane limits. |
37+ | ` workers.reserve_for_interactive ` | 8 | Worker slots background lanes leave open for exact/manual/urgent work. |
38+ | ` workers.expansion_reserve ` | 12 | Extra slots background lanes leave open for independently planned matrix expansion. |
39+ | ` workers.minimum_background ` | 4 | Target floor for background progress when enough global capacity is available. |
40+ | ` lanes.exact_review.max_concurrent ` | 4 | Maximum concurrent exact-item review workflow runs admitted to Codex. |
4141| ` lanes.assist.max ` | 10 | Maximum concurrent lightweight assist jobs. |
4242| ` lanes.repair.cluster_max_live_runs ` | 2 | Default live repair workflow cap for imported gitcrawl cluster dispatches. |
4343
4444## Derived Limits
4545
4646Review, commit, and existing repair limits are intentionally percentages of
4747` workers.max ` ; imported cluster repair has its own lane knob. With
48- ` workers.max = 64 ` , normal review can use 44 workers, hot intake can use 22 ,
49- commit review can use 3 commits per page, existing repair lanes dispatch 25
48+ ` workers.max = 32 ` , normal review can use 22 workers, hot intake can use 11 ,
49+ commit review can use 1 commit per page, existing repair lanes dispatch 12
5050live workers by default, and imported cluster repair dispatches two live workers
5151by default.
5252
5353| Name | Current | Meaning |
5454| --- | ---: | --- |
55- | ` exact_review.concurrent_max ` | 8 | Exact-item review admission cap, clamped to ` workers.max ` . |
55+ | ` exact_review.concurrent_max ` | 4 | Exact-item review admission cap, clamped to ` workers.max ` . |
5656| ` assist.default ` | 10 | Maintainer assist job cap. |
57- | ` review_shards.normal_default ` | 44 | Quiet-system normal review shard ceiling. |
58- | ` review_shards.normal_active_floor ` | 19 | Minimum active normal review shards to keep queued for ` openclaw/openclaw ` . |
59- | ` review_shards.hot_intake_default ` | 22 | Quiet-system broad hot-intake review shard ceiling. |
57+ | ` review_shards.normal_default ` | 22 | Quiet-system normal review shard ceiling. |
58+ | ` review_shards.normal_active_floor ` | 9 | Minimum active normal review shards to keep queued for ` openclaw/openclaw ` . |
59+ | ` review_shards.hot_intake_default ` | 11 | Quiet-system broad hot-intake review shard ceiling. |
6060| ` review_shards.exact_item_default ` | 1 | Exact-item hot-intake shard count. |
61- | ` review_shards.hard_cap ` | 64 | Maximum accepted review shard count. |
62- | ` commit_review.page_size_default ` | 3 | Commits selected per commit-review page. |
63- | ` commit_review.page_size_hard_cap ` | 64 | Maximum commit-review page size. |
64- | ` repair_live_runs.default ` | 25 | Default live repair workflow run cap for manual dispatch/requeue/self-heal. |
65- | ` repair_live_runs.hard_cap ` | 64 | Absolute live repair run cap accepted by explicit CLI/env overrides with this config. |
66- | ` repair_live_runs.automerge_default ` | 25 | Live repair run cap for automerge comment-router dispatches. |
67- | ` repair_live_runs.issue_implementation_default ` | 25 | Live repair run cap for issue-to-PR implementation intake. |
61+ | ` review_shards.hard_cap ` | 32 | Maximum accepted review shard count. |
62+ | ` commit_review.page_size_default ` | 1 | Commits selected per commit-review page. |
63+ | ` commit_review.page_size_hard_cap ` | 32 | Maximum commit-review page size. |
64+ | ` repair_live_runs.default ` | 12 | Default live repair workflow run cap for manual dispatch/requeue/self-heal. |
65+ | ` repair_live_runs.hard_cap ` | 32 | Absolute live repair run cap accepted by explicit CLI/env overrides with this config. |
66+ | ` repair_live_runs.automerge_default ` | 12 | Live repair run cap for automerge comment-router dispatches. |
67+ | ` repair_live_runs.issue_implementation_default ` | 12 | Live repair run cap for issue-to-PR implementation intake. |
6868| ` repair_live_runs.cluster_default ` | 2 | Live repair run cap for imported gitcrawl cluster dispatches. |
69- | ` issue_implementation.dispatches_per_sweep_default ` | 2 | Maximum implementation intake jobs queued from one review publish run. |
69+ | ` issue_implementation.dispatches_per_sweep_default ` | 1 | Maximum implementation intake jobs queued from one review publish run. |
7070
7171Formula summary:
7272
@@ -114,7 +114,7 @@ Exact-item webhooks are admitted by the dashboard Worker's durable
114114deliveries by repository and item number, so a new webhook updates the latest
115115desired review rather than consuming another runner. Only
116116` EXACT_REVIEW_QUEUE_MAX_CONCURRENT ` leased items may dispatch an exact-review
117- workflow at once; the default is 8 .
117+ workflow at once; the default is 4 .
118118
119119Each dispatched workflow claims its opaque lease before checkout. Duplicate
120120dispatches and stale workflows cannot claim the same lease, and a completion
@@ -124,13 +124,13 @@ keeps capacity waiting and retry state out of GitHub Actions runners.
124124
125125Examples with the current config:
126126
127- - Quiet system: manual normal review can request 44 shards; scheduled normal
128- review gets 24 after reserving 16 slots for exact/manual/urgent work and 24
127+ - Quiet system: manual normal review can request 22 shards; scheduled normal
128+ review gets 12 after reserving 8 slots for exact/manual/urgent work and 12
129129 slots for in-flight matrix expansion.
130- - 4 active repair workers and 20 active background workers: normal review gets
131- 1 because `64 - 16 interactive reserve - 24 expansion reserve - 4 priority
132- - 20 background = 0`, and enabled background lanes keep one slow-progress worker.
133- - 48 active priority workers: commit review gets 1, so commit review yields but
130+ - 4 active repair workers and 8 active background workers: normal review gets
131+ 1 because `32 - 8 interactive reserve - 12 expansion reserve - 4 priority
132+ - 8 background = 0`, and enabled background lanes keep one slow-progress worker.
133+ - 24 active priority workers: commit review gets 1, so commit review yields but
134134 does not fully stall.
135135
136136Use these commands to inspect the effective values from a checkout:
@@ -143,8 +143,8 @@ pnpm run --silent workflow -- worker-limit commit_review --active-critical 88
143143```
144144
145145Change ` workers.max ` first when tuning review-side rate-limit pressure. For
146- example, setting ` workers.max ` to ` 90 ` automatically makes normal review ` 63 ` ,
147- hot intake ` 31 ` , and commit review ` 4 ` . Existing repair lanes keep their
146+ example, setting ` workers.max ` to ` 40 ` automatically makes normal review ` 28 ` ,
147+ hot intake ` 14 ` , and commit review ` 2 ` . Existing repair lanes keep their
14814840% derived caps, while imported cluster repair remains separately bounded until
149149` lanes.repair.cluster_max_live_runs ` is raised.
150150
0 commit comments