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): let agents call other agents by default - #4672
"Let agents call other agents" now defaults to start on a PC that never set it, and "Agents they may call" defaults to every harness Ovis has an ACP launch for (claude, codex, copilot, opencode, agy, gjc). The chip list stays so each can be turned off, and an explicitly saved view/off is kept across restarts. Settings description shortened to "On this PC only. Only you can approve requests."
Part A of the owner-approved delegation convenience package (2026-11-25). Which children actually start is unchanged here (still the verified launches); later PRs in the package relax that.
Tests
server/agent-tools/hub.test.ts: default after an unrelated preference save is start with all harnesses; a saved view still refuses after reload (replaces the old "default is view" test, since the default changed on purpose).
src/components/AgentCallsRows.test.tsx: starts on with eligible agents selected; unticking and turning off write the grant (old "off by default" tests updated to the new default).
Validation
bun run check fast: typecheck, build, generated files ok; unit 27770 pass, 2 fail: server/ssh-account-add.test.ts (local forwarding socket path too long under this machine's long TMPDIR) and scripts/plugin-tui.test.ts (.env HOME fallback); both are environment failures unrelated to this diff. CI runs them on its own runner.
Focused: bun test src/components/AgentCallsRows.test.tsx server/agent-tools src/lib/i18n 96 pass, 0 fail.
No new Settings control; only the default and one description line change.
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
Agent delegation on this PC is now enabled by default for eligible installed agents, allowing them to start and send work to one another.
You can choose which agents are callable, switch to view-only access, or turn delegation off. Existing choices are preserved.
Starts on another machine still require your approval each time.
The default agent harness policy now enables local delegation for ACP-launch harnesses. Preference API responses and machine events expose the effective policy without changing stored preferences. The Settings UI and supporting documentation reflect the updated default and agent-selection rules.
The default policy enables start for ACP-launch harnesses. Preference API responses and machine events expose the effective policy. Tests cover defaults, saved preferences, and legacy preference files.
The Settings UI offers installed agents with ACP launches and reflects the default selection. Tests cover selection, saved policies, and preference synchronization. Documentation and translations describe the updated delegation behavior.
devswha/ovis#4624: Changes the default agentHarnessTool level and related chip-list behavior, which this PR also updates.
Merge Risk: Minimal · previous review fbc77
This change makes agents on a PC able to call other installed ACP-capable agents by default, while saved view-only or off choices are kept. Launch checks and human approval still apply, and tests cover the changed defaults and saved preferences. No concrete merge-blocking risk was found.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: agents can call other agents by default. The changeset sets the default delegation policy to start for the ACP-launch harnesses, which matches the title's scope.
Description check
The description covers What (behavior change, defaults, saved view/off kept, description shortened), Tests (updated hub and AgentCallsRows tests), and Validation (check fast results with two environme…
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: Description check
Explanation
The description covers What (behavior change, defaults, saved view/off kept, description shortened), Tests (updated hub and AgentCallsRows tests), and Validation (check fast results with two environment failures explained, focused test run). It follows the template's Change and Validation sections. It does not link an issue, which the template asks for on features, and the template's contract-test coverage note for HTTP changes is only partly addressed, since the API contract test changes are not mentioned.
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 09ae118 and fbc7764.
Files selected for processing: 16
changelog.d/acp-agent-settings.md
changelog.d/delegation-defaults-on.md
docs/harness-contract.md
docs/harness-tool.md
server/agent-tools/hub.test.ts
server/api.contract.test.ts
server/machine-events.ts
server/preferences.test.ts
server/preferences.ts
shared/harness-tool.ts
src/components/AgentCallsRows.test.tsx
src/components/AgentCallsRows.tsx
src/lib/i18n/setup.ja.ts
src/lib/i18n/setup.ko.ts
src/lib/i18n/setup.zh.ts
src/lib/preferencesSync.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 2 remain after this review.
Merged through pr-merge at head a9095b823. 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 approved the convenience package (2026-11-25). CodeRabbit did not review this head (limit). Reviews: omo gate reviewer (BLOCK: stale browser default HIGH, GJC chip MEDIUM, changelog LOW) and Codex gpt-6.2-sol-fast xhigh adversarial review (BLOCK: same HIGH, contract doc LOW); all fixed in fbc7764, plus the browser regression expectation in a9095b8. Pre-existing items left: stop after grant shrink (fixed by #4673), start/view race LOW.
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
"Let agents call other agents" now defaults to
starton a PC that never set it, and "Agents they may call" defaults to every harness Ovis has an ACP launch for (claude, codex, copilot, opencode, agy, gjc). The chip list stays so each can be turned off, and an explicitly savedview/offis kept across restarts. Settings description shortened to "On this PC only. Only you can approve requests."Part A of the owner-approved delegation convenience package (2026-11-25). Which children actually start is unchanged here (still the verified launches); later PRs in the package relax that.
Tests
server/agent-tools/hub.test.ts: default after an unrelated preference save isstartwith all harnesses; a savedviewstill refuses after reload (replaces the old "default is view" test, since the default changed on purpose).src/components/AgentCallsRows.test.tsx: starts on with eligible agents selected; unticking and turning off write the grant (old "off by default" tests updated to the new default).Validation
bun run check fast: typecheck, build, generated files ok; unit 27770 pass, 2 fail:server/ssh-account-add.test.ts(local forwarding socket path too long under this machine's long TMPDIR) andscripts/plugin-tui.test.ts(.env HOME fallback); both are environment failures unrelated to this diff. CI runs them on its own runner.bun test src/components/AgentCallsRows.test.tsx server/agent-tools src/lib/i18n96 pass, 0 fail.No new Settings control; only the default and one description line change.