Skip to content

feat(agent-tools): remove the per-parent running-children limit - #4632

Merged
devswha merged 3 commits into
mainfrom
fix/agent-remove-child-limit
Nov 24, 2026
Merged

devswha merged 3 commits into
mainfrom
fix/agent-remove-child-limit

Conversation

@devswha

@devswha devswha commented Nov 24, 2026

Copy link
Copy Markdown
Owner

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: 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.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

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.

Run configuration

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.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Possibly related PRs

  • devswha/ovis#4603: Introduces the four-running-children limit that this PR removes.
  • devswha/ovis#4508: Adds the contract document whose per-parent limit this PR changes.
Merge Risk: Minimal · previous review 93278 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed 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 Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

Recent review info

Run configuration

Commits

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.

@devswha
devswha merged commit d7c0611 into main Nov 24, 2026
31 of 33 checks passed
@devswha
devswha deleted the fix/agent-remove-child-limit branch November 24, 2026 23:20
@devswha

devswha commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant