Repository navigation
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdds routing guidance and tests that select 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: e2227787-aa5e-4d19-a772-5c0fba6f46ae
📥 Commits
Reviewing files that changed from the base of the PR and between 3f9dbba and e65630f8d0ba32c17894e76c26d66351acb404d8.
📒 Files selected for processing (8)
config/scripts/orca-cli-skill-guidance.test.mjsconfig/scripts/orchestration-skill-guidance.test.mjsdocs/reference/2026-07-10-replyable-agent-review-routing-design.mddocs/reference/2026-07-10-replyable-agent-review-routing-implementation-plan.mdskills/orca-cli/SKILL.mdskills/orchestration/SKILL.mdsrc/main/runtime/orca-runtime.test.tssrc/main/runtime/orca-runtime.ts
a324bc9 to
b8c57ce
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: be45841f-0f7f-4035-9f2c-cee72a1c0ff0
📥 Commits
Reviewing files that changed from the base of the PR and between a324bc9139b13994ff6f06d93f01e8e993cbdeae and b8c57ce.
📒 Files selected for processing (8)
config/scripts/orca-cli-skill-guidance.test.mjsconfig/scripts/orchestration-skill-guidance.test.mjsdocs/reference/2026-07-10-replyable-agent-review-routing-design.mddocs/reference/2026-07-10-replyable-agent-review-routing-implementation-plan.mdskills/orca-cli/SKILL.mdskills/orchestration/SKILL.mdsrc/main/runtime/orca-runtime.test.tssrc/main/runtime/orca-runtime.ts
✅ Files skipped from review due to trivial changes (3)
- docs/reference/2026-07-10-replyable-agent-review-routing-implementation-plan.md
- docs/reference/2026-07-10-replyable-agent-review-routing-design.md
- skills/orchestration/SKILL.md
🚧 Files skipped from review as they are similar to previous changes (4)
- config/scripts/orca-cli-skill-guidance.test.mjs
- config/scripts/orchestration-skill-guidance.test.mjs
- src/main/runtime/orca-runtime.test.ts
- src/main/runtime/orca-runtime.ts
2147e6b to
3e193a3
Compare
|
Rebased onto latest |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Rebased onto current |
cdd9892 to
504a83c
Compare
Restack noteRebased onto latest
No intentional behavior change vs pre-restack tip beyond resolving main drift. |
504a83c to
fea5063
Compare
Restack + review guide (community, awaiting maintainer)Rebased onto latest What this PR still uniquely doesMain can deliver replyable orchestration messages to renderer leaf handles when the pane is already idle. It does not push to synthetic background PTY handles ( This PR adds:
Not in scope / already on main
Depends on
Suggested review focus
Tests (local)
We cannot merge; ready for upstream review when convenient. |
fea5063 to
f5b7e87
Compare
f5b7e87 to
d91064a
Compare
d91064a to
1cd52dc
Compare
|
Rebased onto current |
1cd52dc to
5b66616
Compare
Push-on-idle only resolved renderer leaves, so orchestration mail to synthetic background-PTY handles stayed parked until a manual check. Fall through to live connected idle PTYs on the current pointer path. Co-authored-by: Cursor <cursoragent@cursor.com>
Main's delivery settlement looks up a renderer leaf. Background CLI PTYs never mint one, so the gate always refused and parked mail. Idle was already required on the handle path.
5b66616 to
f05c04c
Compare
Summary
Orchestration mail for a background agent could remain stored until the agent checked explicitly: delivery only resolved renderer leaves, while background terminals use synthetic PTY handles. The delivery path now tries a live renderer leaf first, then a connected background PTY with an observed idle state. Queued mail is also delivered when that background PTY becomes idle.
This uses the current mailbox pointer, reservation and single-flight delivery path. It preserves Cursor's no-auto-Enter behavior and delivered-versus-read tracking. A leaf-owned handle does not take both delivery paths. SSH/folder workspace delivery shares the existing main-process PTY and mailbox contracts; no RPC or stream schema changes.
Testing and review
At
1cd52dc27fac0dadce8366053e98b425e8d71f71, independent affected-scope verification passed 2,156 tests with 11 skipped across 120 files, including the runtime harness and orchestration suites. New tests cover an already-idle background agent, a working-to-idle transition and Cursor without automatic submission.The full non-Docker run completed with 76,622 passed, 27 failed and 391 skipped. All 27 failure identities match the established
8f78c28baseline; there were no additional failure identities. This is not a green full run, and a fresh full12f2c6bbaseline was not run.CLI, Node and Web TypeScript (
--composite false), all changed-file lint/format, diff whitespace and native preflight/postflight passed. Independent Cursor review passed on this exact commit. Packaging and live multi-agent/SSH/Windows/Linux smoke were not run.AI disclosure
Cursor ported and independently reviewed this change. Codex independently checked the original requirements, source, affected suites and full-run failure identities.