You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(agent-tools): remove the per-parent running-children limit - #4632
The owner decided on 2026-11-24 to remove the per-parent limit on running children (D23 had set it to 4, #4603). This PR removes that limit and nothing else: depth (1, settable to 3), 60 minutes per child, 30 calls per minute per run, person-only approval and the off-by-default switch all stay as they were.
server/agent-tools/hub.ts: drop the check that refused a fifth start.
shared/harness-tool.ts: drop HARNESS_LIMITS.children.
shared/harness-contract.schema.json (+ regenerated harness-contract.generated.ts): drop the children_limit refusal code, which nothing sends any more.
shared/harness-skill.ts: the skill no longer tells agents four may run per parent.
docs/harness-contract.md (D23, Limits, Refusal, G5) and docs/harness-tool.md: say there is no per-parent limit (owner decision 2026-11-24).
server/agent-tools/turns.test.ts: the limit test now checks that six concurrent starts from one parent all start. On the old code it fails (6 expected, 4 started).
No UI change. The agent tool is not released yet, so there is no changelog fragment.
Validation
bun run check fast: green (26781 pass, 0 fail).
bun test server/agent-tools with the ACP keeper built (so the real-keeper suite runs): 53 pass, 0 fail. The changed test fails on the old hub code.
Live check in an isolated Ovis (isolated herdr-core, the branch's server on loopback): an omo parent that Ovis started was asked to agent_start six OpenCode 2.2.2 children before waiting on any. All six child panes were live at once (t2-t7), and the parent reported all six children's exact nonces. There was no children_limit refusal.
Skipped: browser regressions (no UI change).
Overlap note: #4631 edits docs/harness-tool.md, shared/harness-contract.schema.json and shared/harness-tool.ts on other lines, so whichever merges second may need a trivial rebase.
Owner decision 2026-11-24: a parent may run any number of children.
Drop the start check, HARNESS_LIMITS.children and the children_limit
refusal code; the test now proves six concurrent starts all start.
Auto incremental reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
New Features
Parents can now run any number of child sessions concurrently.
Documentation
Updated harness guidance to reflect unlimited concurrent child sessions. Child sessions remain subject to the existing 60-minute limit.
The harness no longer caps running children per parent or returns a children_limit refusal. The contract, schema, tool guidance, and concurrent-start test reflect the change. The 60-minute child limit and time_limit behavior remain.
Changes: Running-child limit
Layer / File(s)
Summary
Remove and document the per-parent cap docs/harness-contract.md, docs/harness-tool.md, shared/harness-*, server/agent-tools/hub.ts, server/agent-tools/turns.test.ts
The harness removes the per-parent child limit and the children_limit refusal. The contract and tool guidance reflect the change. The concurrent-start test expects six sessions and processes.
Path filters excluded changed files. This rating applies only to the assessed changes.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: removing the per-parent running-children limit. The raw summary and objectives confirm the changeset removes the children limit in the hub, shared constants, refusal c…
Description check
The description follows the template's two sections. The Change section explains the problem (owner decision on the per-parent limit set by D23), the resulting behavior, and the files touched. The Val…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: removing the per-parent running-children limit. The raw summary and objectives confirm the changeset removes the children limit in the hub, shared constants, refusal code, skill text, docs and tests. The title uses the conventional feat(scope) form and is specific, 63 characters.
Full details: Description check
Explanation
The description follows the template's two sections. The Change section explains the problem (owner decision on the per-parent limit set by D23), the resulting behavior, and the files touched. The Validation section lists the checks run (bun run check fast, bun test server/agent-tools), their results, the live check, and the skipped browser regressions. The change is a feature without a linked issue; the template asks for a linked issue where a maintainer agreed to it. The description cites the owner decision and D23/#4603 but does not link an issue, so this is a minor gap.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Fix failing CI checks
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reviewing files that changed from the base of the PR and between 7d92297 and 9327863.
Files ignored due to path filters: 1
shared/harness-contract.generated.ts is excluded by !**/*.generated.*
Files selected for processing: 7
docs/harness-contract.md
docs/harness-tool.md
server/agent-tools/hub.ts
server/agent-tools/turns.test.ts
shared/harness-contract.schema.json
shared/harness-skill.ts
shared/harness-tool.ts
Files with no reviewable changes: 1
server/agent-tools/hub.ts
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.
Merged through pr-merge at head c9786cf2d. Seen before the merge was asked for: required checks green, no unresolved thread, no conflict, no hold, main not red, no release in progress. CodeRabbit said it did not review (a limit or a skip) since this head.
Owner decision: remove the per-parent child limit (2026-11-24). Reviews: one gate reviewer (omo-native-gate-reviewer) CLEAR at 9327863 with no findings to fix; CodeRabbit reviewed 9327863; 269ab43 is a test-only commit (waits for the card before the restart in a racy test), which CodeRabbit did not review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The owner decided on 2026-11-24 to remove the per-parent limit on running children (D23 had set it to 4, #4603). This PR removes that limit and nothing else: depth (1, settable to 3), 60 minutes per child, 30 calls per minute per run, person-only approval and the off-by-default switch all stay as they were.
server/agent-tools/hub.ts: drop the check that refused a fifth start.shared/harness-tool.ts: dropHARNESS_LIMITS.children.shared/harness-contract.schema.json(+ regeneratedharness-contract.generated.ts): drop thechildren_limitrefusal code, which nothing sends any more.shared/harness-skill.ts: the skill no longer tells agents four may run per parent.docs/harness-contract.md(D23,Limits,Refusal, G5) anddocs/harness-tool.md: say there is no per-parent limit (owner decision 2026-11-24).server/agent-tools/turns.test.ts: the limit test now checks that six concurrent starts from one parent all start. On the old code it fails (6 expected, 4 started).No UI change. The agent tool is not released yet, so there is no changelog fragment.
Validation
bun run check fast: green (26781 pass, 0 fail).bun test server/agent-toolswith the ACP keeper built (so the real-keeper suite runs): 53 pass, 0 fail. The changed test fails on the old hub code.agent_startsix OpenCode 2.2.2 children before waiting on any. All six child panes were live at once (t2-t7), and the parent reported all six children's exact nonces. There was nochildren_limitrefusal.Overlap note: #4631 edits
docs/harness-tool.md,shared/harness-contract.schema.jsonandshared/harness-tool.tson other lines, so whichever merges second may need a trivial rebase.