Skip to content

fix(rovo): detect and launch Rovo Dev through acli - #25981

Merged
Jinwoo-H merged 2 commits into
mainfrom
sta-9645-rovo-dev-detect
Oct 7, 2026
Merged

Jinwoo-H merged 2 commits into
mainfrom
sta-9645-rovo-dev-detect

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 4 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​41 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​40
Prod 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​8 $\color{#cf222e}{\Huge{\mathbf{−}}}$​4 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​4

ELI5

Rovo Dev isn't its own program: it's a command inside Atlassian's acli tool (acli rovodev run). Orca looked for a program called rovo, which doesn't exist, so Rovo Dev never showed up as installed. Even if it had, Orca would have launched it with that same missing rovo command. This points Orca at acli and launches acli rovodev run.

What Changed

  • Before: Settings > Agents never listed Rovo Dev as installed, and any Rovo Dev launch ran rovo, which fails with "command not found".
  • After: Rovo Dev counts as installed when acli is on PATH (locally, in WSL, or over SSH, using the same detection as every other agent). It launches with acli rovodev run (plus --yolo when YOLO is on), and an initial prompt is typed in once the UI is up. Resuming a past session runs acli rovodev run --restore <id>.
  • Mechanism:
    • TUI_AGENT_CONFIG.rovo now has detectCmd: 'acli' and launchCmd: 'acli rovodev run'.
    • The resume builder now appends --restore <id> to the launch command; previously it added rovodev run --restore to a bare acli. That means a user's saved command override, which replaces the whole launch command, now resumes correctly as well.
    • The settings catalog's default command is now acli rovodev run, since it pre-fills that override field.

Why

Evidence for the launch shape:

  • Atlassian's install and command docs (acli rovodev auth login, then acli rovodev run; --yolo; --restore [id]; run [instruction] is the non-interactive mode).
  • Atlassian's own rovo-dev-action runs acli rovodev run --yolo.
  • The signed acli 1.3.39 macOS binary, run in a scratch HOME: there is no rovo or rovodev executable, and the rovodev subcommand runs a separately downloaded atlassian_cli_rovodev binary.
  • Because acli rovodev run <instruction> runs once without the interactive UI, the prompt still goes in after start (stdin-after-start), not on the command line.

Alternatives considered:

  • Also probing acli rovodev auth status: this would show Rovo Dev only when it's logged in, but it needs a new kind of detection probe and a network call on every host. I kept the existing "is the command on PATH" detection that every other agent uses.
  • The trade-off: someone with acli installed only for Jira will also see Rovo Dev listed. Launching it then shows Atlassian's own "authenticate with acli rovodev auth login" message.

Linked Issue

Fixes #25897

Visual Proof

N/A. No layout change: Rovo Dev's existing row just appears under Installed when acli is present. I had no Rovo Dev account to record a live session.

Testing

  • New tests:

    • Rovo Dev's config (acli / acli rovodev run / process acli).
    • Its launch plan (acli rovodev run '--yolo' with the prompt typed after start).
    • Resume, both with the default command and with a full-command override.
  • Relevant suites pass: TUI agent config, startup, resume, process recognition, permissions, and the Settings Agents pane (219 files, 1618 tests).

  • pnpm run check:code-quality:changed: 0 new findings.

  • pnpm tc: the only error is in structured-agent-session-codex-stopped-send-order.test.ts (missing resolveLaunchArgs), which is already broken on current main and untouched here.

  • Not verified live: I have no Rovo Dev account. I couldn't confirm that the process Orca sees while Rovo Dev runs is named acli rather than the inner atlassian_cli_rovodev. If it isn't, Orca's readiness detection for typing the startup prompt would wait for its timeout.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

AI Disclosure

Review

Agent skill upstream boundary

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Detection runs per execution host, so this works the same locally, in WSL, and over SSH. A user who previously saved acli rovodev run as a command override keeps working; one who saved a bare acli would need to update it (that launch never worked before either).

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2d647a19-e76d-41a5-a2f8-fdf20eadee10
📥 Commits

Reviewing files that changed from the base of the PR and between 317261fa7d3314f5595c805ed277b8f8c247988b and 4e88a56.

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. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 36119555-eb27-42de-b7d1-b615bccadc32
📥 Commits

Reviewing files that changed from the base of the PR and between bac0048 and 317261fa7d3314f5595c805ed277b8f8c247988b.

📒 Files selected for processing (1)
  • src/cli/skills.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

Rovo Dev detection and launch configuration now use acli and acli rovodev run. Resume commands use the configured launch command and append --restore with the session ID. Tests cover startup behavior, session working directories, full-command overrides, and agent mapping.

Priority: ⬇️ Low

Severity of issue fixed: Low

Merge Risk: ⚪ Minimal · up to 31726

Rovo Dev detection and launch now use acli. No concrete merge-blocking risk was found in the reviewed change.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 7 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the main change: detecting and launching Rovo Dev through acli.
Description check ✅ Passed The description covers the user impact, implementation, rationale, linked issue, visual proof, and test results. It also explains the unverified live behavior and incomplete typecheck; the manual-test…
Linked Issues check ✅ Passed Issue #25897 requires Orca to detect Rovo Dev and identifies acli rovodev as its command. TUI_AGENT_CONFIG.rovo now detects acli and launches acli rovodev run. The Settings catalog default com…
Out of Scope Changes check ✅ Passed The catalog, resume, and process-mapping changes support Rovo Dev detection or launch behavior in issue #25897. The added tests cover those changes. The change summary shows no unrelated production ch…
✨ Finishing Touches 💡 2
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
  • Autopilot · 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

Comment @coderabbitai help to get the list of available commands.

@Jinwoo-H
Jinwoo-H force-pushed the sta-9645-rovo-dev-detect branch 3 times, most recently from bac0048 to 317261f Compare October 7, 2026 01:14
Rovo Dev ships as the `acli rovodev` subcommand, with no `rovo` binary on
PATH, so Orca never listed it as installed. Detect `acli`, launch
`acli rovodev run` (prompt still typed after start, since a positional
instruction is one-shot), and build resume as the launch command plus
`--restore <id>` so a full-command settings override composes too.

Fixes STA-9645
@Jinwoo-H
Jinwoo-H force-pushed the sta-9645-rovo-dev-detect branch from 317261f to 4e88a56 Compare October 7, 2026 01:34
@Jinwoo-H
Jinwoo-H merged commit 70c6876 into main Oct 7, 2026
37 checks passed
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.

[Bug]: Rovo dev agent can not be detected.

1 participant