Repository navigation
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 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:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between ba13096ee51fabf6da60489a0dbab68baf9a2e97 and 62c89f31c5f23fa061a5268b287168e9b59133ed. 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughGrok prompts now use sanitized plain text with normalized line endings. Other and unidentified agents continue to use bracketed-paste framing. Runtime submission resolves the prompt consumer when the queued prompt is ready, checks lifecycle generation and controller ownership, and uses the selected agent to configure prompt writing. Priority: ➖ Normal Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to Prompt delivery uses the cached agent when foreground inspection is unavailable and the default format when another process is in the foreground. No identified issue remains to block merging after normal checks. Security Architecture ReviewSecurity architecture risk: 🟡 Moderate · up to If the receiving program changes during delivery, text intended as a message could be interpreted as commands in the local workspace. Access checks limit which session can be reached, but do not establish that its receiving program remains the same. Retained concerns
Security review detailsSecurity Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 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: 5
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 41c76c6e-6c7d-4b62-82cc-49358935c87e
📥 Commits
Reviewing files that changed from the base of the PR and between 7a42271 and 1792c5f5334e39ee617d356315e1387fffc820bb.
📒 Files selected for processing (7)
.grok/skills/oss-pr-mirror/SKILL.md.grok/skills/oss-pr-mirror/scripts/mirror-upstream-pr.sh.grok/skills/oss-pr-mirror/scripts/sync-contribution-push.shsrc/main/runtime/orca-runtime.test.tssrc/main/runtime/orca-runtime.tssrc/shared/agent-prompt-injection.test.tssrc/shared/agent-prompt-injection.ts
Sync update (
|
e80f954 to
bda2d09
Compare
|
bda2d09 to
e88413d
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: e8296b7b-8a26-451a-8ce9-fc0a0b184ac2
📥 Commits
Reviewing files that changed from the base of the PR and between bda2d09 and e88413da1fecc22d24893adb6b314926e14b694e.
📒 Files selected for processing (6)
src/main/runtime/grok-agent-prompt-submission.test.tssrc/main/runtime/orca-runtime-controller-knows-pty-is-live.tssrc/main/runtime/orca-runtime-create-agent-prompt-render-gate.tssrc/main/runtime/orca-runtime-write-terminal-agent-prompt.tssrc/shared/agent-prompt-injection.test.tssrc/shared/agent-prompt-injection.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
e88413d to
ba13096
Compare
ba13096 to
e4fcabc
Compare
|
Updated this follow-up at PR Checks, PR test LoC, and Bun profile persistence currently require maintainer approval. Please approve those workflow runs when reviewing this update. This PR and #10504 still touch the same runtime entry point, so the remaining branch will need rebasing after either one merges. |
Grok Build can swallow bracketed-paste frames on the welcome composer while still accepting plain terminal send --enter. dispatch --inject used the Claude/Codex BP path, so injected:true could leave the TUI empty. Prefer plain sanitized text for launchAgent/foregroundAgent=grok and only emit the BP emergency closer when a BP frame was actually started. Fixes stablyai#9838
62c89f3 to
445963a
Compare
|
Updated at All 131 focused tests, the current-head Node TypeScript check, and changed-code quality pass. Individual review replies explain the tradeoff and the four before/after zero-byte regressions; both PR heads and descriptions match. Live cross-platform/Grok TUI verification and full build remain unperformed. General upstream CI still needs maintainer execution approval; please approve those runs when reviewing. |
|
Thanks @innocarpe. Current Grok accepts Orca's bracketed paste (verified with real Grok across dispatch, worker-start and terminal send), and the welcome-screen symptom was Grok's folder-trust question, which dispatch now refuses cleanly. Closing as superseded; #33571 covers the remaining CLI-send path. |
ELI5
Orca could send Grok a paste format its composer ignored. It could also choose the format from the agent that originally launched the terminal after a different agent took over. Prompt delivery now asks the execution host which process is consuming input before choosing the format.
What Changed
Why
Refs #9838: the reported plain-send workaround reached Grok while bracketed injection did not. Probing the consumer at submission time handles terminal reuse and restore without relying on asynchronous snapshot refresh or changing stored agent status. Hosts without foreground inspection, and ready Grok sessions with an empty inspection, currently reject delivery: this is an intentional compatibility limitation. The reviewer withdrew the availability finding after reviewing the stale-Grok-to-shell security evidence. Re-enabling historical cache fallback would restore the reviewed shell-command execution risk; a safe fallback needs an authoritative live owner signal.
Linked Issue
Fixes #9838
Visual Proof
N/A — byte delivery changes. The reported welcome-screen failure is in #9838; automated before/after regressions cover the wire bytes and stale identity cases. A fresh live Grok TUI run was not performed.
Testing
AI Disclosure
Implementation and verification assisted by OpenAI Codex.
Agent skill upstream boundary
Checklist
Related: #10504 changes input serialization in the same runtime entry point. The remaining PR will need rebasing after either one merges.