Skip to content

fix(skills): narrow computer-use discovery boundary - #17736

Merged
Jinwoo-H merged 4 commits into
mainfrom
aug30-computer-use-trigger-audit
Aug 31, 2026
Merged

Jinwoo-H merged 4 commits into
mainfrom
aug30-computer-use-trigger-audit

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​52 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​51
Prod 10 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​107 $\color{#cf222e}{\Huge{\mathbf{−}}}$​71 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​36

Summary

  • Restrict implicit Computer Use discovery to OS/window-level control in visible apps and external browser windows.
  • Route Orca embedded-browser work to orca-cli and page/DOM/form/console/network/Playwright work to browser/page tooling.
  • Align the orca-cli and orchestration cross-references, regenerate bundled/stub skill artifacts and manifests, and add focused regression assertions.

Reproduction

On baseline 89a4d67705, fresh gpt-5.6-sol implicit-routing probes selected Computer Use for page-only DOM inspection, redirect checks, browser-console inspection, and Playwright-style form automation. Native desktop apps, desktop screenshots, and external-browser OS-level actions selected Computer Use as expected; Orca embedded-browser tasks selected orca-cli. Explicit Computer Use invocation remained honored.

Candidate behavior preserves the valid desktop selections while page-only browser tasks no longer select Computer Use.

Validation

  • quick_validate.py for computer-use, orca-cli, and orchestration
  • Focused Vitest suite: 57 passed
  • pnpm verify:bundled-skill-guides
  • pnpm verify:skill-bundle-manifest
  • pnpm run check:code-quality:changed
  • pnpm tc
  • pnpm build:cli
  • git diff --check

The Computer Use onboarding default is unchanged; evidence supports a discovery-metadata boundary fix rather than changing installation defaults. No Linear or deployment changes.

@greptile-apps

greptile-apps Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Greptile Summary

The PR narrows implicit Computer Use discovery to OS/window-level interaction while directing embedded-browser and page-level automation to the appropriate tooling.

  • Aligns Computer Use, Orca CLI, and orchestration discovery guidance.
  • Regenerates bundled guides, install stubs, snapshots, and manifests.
  • Adds focused assertions for the revised routing boundary.

Confidence Score: 5/5

The PR appears safe to merge because no blocking failure remains within the eligible follow-up scope.

No blocking failure remains.

Important Files Changed

Filename Overview
skill-guides/computer-use.md Narrows Computer Use discovery metadata to native applications and external browser windows requiring desktop-level control.
skill-guides/orca-cli.md Clarifies the boundary between Orca’s embedded browser, external page automation, and OS-level browser control.
skill-guides/orchestration.md Aligns orchestration discovery metadata with the revised browser-tool routing boundary.
src/cli/bundled-skill-guides.ts Regenerates bundled skill metadata and guide content from the updated sources.
resources/skills/current-manifest.json Updates package revisions, digests, tree hashes, and sizes for the changed skill artifacts.
resources/skills/snapshot-registry.json Records the updated Computer Use and orchestration package snapshots and refreshes Orca CLI metadata.
config/scripts/computer-use-skill-guidance.test.mjs Adds regression assertions for desktop-level discovery and exclusion of embedded and page-only browser automation.

Reviews (3): Last reviewed commit: "fix(skills): name browser page automatio..." | Re-trigger Greptile

@coderabbitai

coderabbitai Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: eb9abd07-1825-4d04-b5a6-1fd2b932ae5b

📥 Commits

Reviewing files that changed from the base of the PR and between 9a45bc2 and bf8d06a.

📒 Files selected for processing (13)
  • config/scripts/computer-use-skill-guidance.test.mjs
  • config/scripts/orca-cli-skill-guidance.test.mjs
  • config/scripts/orchestration-skill-guidance.test.mjs
  • resources/skills/current-manifest.json
  • resources/skills/snapshot-registry.json
  • skill-guides/computer-use.md
  • skill-guides/orca-cli.md
  • skill-guides/orchestration.md
  • skill-stubs/computer-use.md
  • skills/computer-use/SKILL.md
  • skills/orca-cli/SKILL.md
  • skills/orchestration/SKILL.md
  • src/cli/bundled-skill-guides.ts
🚧 Files skipped from review as they are similar to previous changes (3)
  • skills/computer-use/SKILL.md
  • skill-guides/orca-cli.md
  • skill-guides/computer-use.md

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The change narrows Computer Use to OS- and window-level control for visible local apps, external browsers, webviews, and desktop UI. Orca’s embedded pages route to orca-cli. External page automation routes to Playwright or CDP. Guidance tests verify these routing rules. Skill manifests and snapshot metadata contain refreshed sizes, revisions, digests, and hashes.

Merge Risk: ⚪ Minimal · up to bf8d0

The change narrows implicit Computer Use discovery to desktop-level control while routing page-focused browser work to the appropriate tools; no actionable merge-blocking risk remains after normal checks and review.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the change, rationale, reproduction, and validation, but it omits or does not complete several required template sections, including ELI5, Why, Linked Issue, Visual Proof with… Complete the required template sections. Provide a linked issue after “Fixes #”, add an explicit Visual Proof entry or N/A with a reason, complete the testing and checklist items, address AI Disclosure and Agent skill upstream boundary, and…
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 6 files. (9 skipped: 9 … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: narrowing the Computer Use discovery boundary for skills.
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: Description check

Explanation

The description explains the change, rationale, reproduction, and validation, but it omits or does not complete several required template sections, including ELI5, Why, Linked Issue, Visual Proof with an explicit N/A if applicable, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist.

Resolution

Complete the required template sections. Provide a linked issue after “Fixes #”, add an explicit Visual Proof entry or N/A with a reason, complete the testing and checklist items, address AI Disclosure and Agent skill upstream boundary, and add the required Notes and Review information.

Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 6 files. (9 skipped: 9 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch

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.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — one minor consistency gap in the computer-use guide body, plus a formatting nit.

Reviewed changes

Reviewed the discovery-boundary narrowing across the bundled skill guides, the regenerated artifacts, and the new regression assertions.

  • computer-use frontmatter narrowed — scopes implicit discovery to OS/window-level control of native apps and external browser windows, dropping the broad "browser windows / webviews / Orca app UI" claim and the "read Slack" / "read Spotify" / "get app state" triggers.
  • orca-cli and orchestration descriptions aligned — both now send external-browser/desktop UI to Computer Use only when OS/window-level control is needed, and send DOM/content/form/console/network/Playwright work to a browser/page skill.
  • Generated artifacts regenerated — bundled-skill-guides.ts, the SKILL.md discovery stubs, and current-manifest.json / snapshot-registry.json (computer-use 8→9, orchestration 28→29; orca-cli revision 37 refreshed in place as its unreleased tail, consistent with release-mapping.json).
  • Regression assertions added — three focused tests pin the new boundary text and its negative space against the actual guide files.

ℹ️ computer-use guide body still teaches the page-level browser automation the new frontmatter routes away

The narrowed frontmatter now says "Do not use for Orca's embedded browser or page-only browser automation", but the full guide body still contains a worked "browser-hosted forms such as Gmail compose" section teaching address-bar typing and set-value/paste-text form filling through the accessibility tree. That is the same page/DOM/form work the new boundary (and the orca-cli/orchestration descriptions) routes to a browser/page skill, so the body now reads as contradicting its own discovery surface. This is pre-existing text the PR did not touch, but narrowing the frontmatter amplifies the inconsistency.

Technical details
# computer-use guide body vs frontmatter

## Affected sites
- skill-guides/computer-use.md:131-139 — the "Browsers" and "browser-hosted forms" sections teach address-bar input and Gmail-compose form filling via the accessibility tree; unchanged by this PR but now contradicts the frontmatter boundary.

## Required outcome
- Reconcile the body with the discovery boundary: scope the browser sections to "only when the user needs desktop-level control of an external browser window", or trim the form-filling examples to point at a browser/page skill.

## Open questions for the human (optional)
- Is the accessibility-tree browser-form workflow still meant to be reachable for explicit desktop-control requests, or should it be removed entirely?

ℹ️ Nitpicks

  • The three reformatted test files (config/scripts/install-electron-package-binary.test.mjs, src/main/ipc/pty-login-shell-startup-commands.test.ts, src/main/ipc/pty-spawn-env-codex-resume-provenance.test.ts) are unrelated formatter churn that slightly muddies the diff; consider splitting them out.

Pullfrog  | Fix it ➔ | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Reviewed the delta since the prior review: a single Merge origin/main into aug30-computer-use-trigger-audit commit that pulls main's unrelated changes (Electron cache tests, PTY startup-command assertions, orca-cli/orchestration body updates) into the branch.

  • Merge is clean — the PR's own diff against main is byte-identical to the previously reviewed version (same 16 files, same TOC hashes); the discovery-boundary changes to computer-use, orca-cli, and orchestration survive intact.
  • Generated artifacts re-verified — node config/scripts/generate-bundled-skill-guides.mjs and node config/scripts/generate-skill-bundle-manifest.mjs both exit 0 in verify mode, so bundled-skill-guides.ts, the SKILL.md stubs, and the manifest/registry are still consistent with the sources after the merge.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Reviewed the new commit bf8d06a ("fix(skills): name browser page automation surfaces"), which replaces the vague browser/page skill routing reference — a skill that does not exist in the bundled set — with concrete, existing surfaces.

  • Named the page-automation surfaces — the computer-use, orca-cli, and orchestration descriptions (plus their stubs) now route Orca's embedded pages to orca-cli and external pages to "a page-automation tool such as Playwright or CDP", resolving the prior dangling "browser/page skill" reference.
  • Regression assertions updated — the three focused *-skill-guidance.test.mjs suites pin the new wording; all 44 tests pass.
  • Artifacts regenerated — manifest/registry digests and bundled-skill-guides.ts refreshed; both generate-skill-bundle-manifest.mjs (verify) and generate-bundled-skill-guides.mjs --check exit 0.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@Jinwoo-H
Jinwoo-H merged commit b44ef1e into main Aug 31, 2026
47 checks passed
@phat-zhong24

Copy link
Copy Markdown

niubi!

enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* fix(skills): narrow computer-use discovery boundary

* chore: remove merge-formatting noise

* fix(skills): name browser page automation surfaces
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.

2 participants