Skip to content

fix(skills): keep computer-use off filesystem and shell tasks - #21069

Merged
Jinwoo-H merged 5 commits into
mainfrom
jinwoo/sta-7615-narrow-computer-use-shell-boundary
Sep 16, 2026
Merged

Jinwoo-H merged 5 commits into
mainfrom
jinwoo/sta-7615-narrow-computer-use-shell-boundary

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​30 $\color{#cf222e}{\Huge{\mathbf{−}}}$​16 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​14
Prod 9 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​61 $\color{#cf222e}{\Huge{\mathbf{−}}}$​67 $\color{#cf222e}{\Huge{\mathbf{−}}}$​6

ELI5

Agents were opening Computer Use to create a folder on the Desktop. That is a mkdir job. This change tells the skill matcher: prefer a programmatic path (terminal, filesystem, API, existing CLI) whenever it can finish the work. Computer Use is only for GUI in a visible window that those cannot reach.

What Changed

Discovery copy for computer-use, orca-cli, and orchestration no longer treats "desktop" / "OS-level" as a reason to invoke Computer Use.

  • computer-use description: prefer a programmatic path (shell, filesystem, git, HTTP, existing CLIs, Playwright/CDP); use only when a visible window needs GUI control those cannot reach. Still excludes Orca's embedded browser and page-only automation.
  • computer-use guide opener repeats that last-resort rule.
  • orca-cli and orchestration: Use Computer Use only when a visible window needs GUI control that a CLI, filesystem, or API cannot do.
  • Regenerated install stubs, bundled guides, and the unreleased skill-bundle tip.

Why

STA-7615 / #20843: "On my desktop create a folder (will be git repo think-full-stack)" invoked Computer Use because discovery said OS/window-level and neighboring skills advertised desktop UI. The model treated Desktop-the-folder as desktop-the-GUI.

The general rule is last-resort GUI vs any programmatic path, not a deny-list of files/folders/git/shell.

#17736 already narrowed the browser false-positive set. This is the filesystem/shell/programmatic false-positive set.

Linked Issue

Fixes #20843
Fixes STA-7615

Visual Proof

N/A — skill discovery copy only; no UI or interaction change.

Testing

  • Automated tests added/updated
  • I manually tested these changes locally

Updated computer-use / orca-cli / orchestration skill-guidance tests. Regenerated bundled guides and verified generate-bundled-skill-guides --check plus generate-skill-bundle-manifest. Ran:

pnpm test config/scripts/computer-use-skill-guidance.test.mjs \
  config/scripts/orca-cli-skill-guidance.test.mjs \
  config/scripts/orchestration-skill-guidance.test.mjs \
  config/scripts/generate-bundled-skill-guides.test.mjs

No live agent-routing repro in this PR (copy-only change; STA-7536 still owns a broader invocation-boundary eval).

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

Skill installs pick this up on the next skill update / app release that ships the new stub. Existing global installs keep the old description until then.

Checklist

  • This PR is small and focused
  • I explained what changed and why (including ELI5)
  • 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)

STA-7615: "On my desktop create a folder" was matching computer-use because
discovery copy said OS/window-level and neighboring skills advertised desktop UI.
Scope the trigger to visible GUI with no CLI path, and exclude files/folders/git/shell.

@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

  • computer-use discovery description rewritten — now scopes to driving a visible GUI window and explicitly excludes files, folders, git, shell, and Desktop/Documents paths, with a not.toContain('OS/window-level') regression guard.
  • computer-use guide body opener re-framed — "drive a visible app window", prefers shell/filesystem, and "Desktop" as a folder path is not a GUI task.
  • orca-cli and orchestration descriptions narrowed — Computer Use advertised only for clicks/menus/dialogs/screenshots in a visible window, never files/folders/git/shell.
  • Generated artifacts regenerated — install stubs (skills/*/SKILL.md), src/cli/bundled-skill-guides.ts, current-manifest.json, and snapshot-registry.json. The manifest/registry digests update in place on the unreleased floating tails (computer-use 9, orca-cli 37, orchestration 29); release-mapping.json still names 8/36/28 as released, so this is the intended behavior of releasedHistoryFromCommitted, not a provenance rewrite.
  • Tests updated to pin the exact new phrases and the removal of the old framing.

Verified locally: both generators pass in verify mode (generate-bundled-skill-guides.mjs, generate-skill-bundle-manifest.mjs), the full config/scripts skill test set passes (93 + 59 tests), all three descriptions stay under the 1024-char Agent Skills cap, and no other tracked copy of the old strings remains.

ℹ️ Residual "OS/window-level" / "desktop UI" copy in guide bodies

The PR narrows the discovery frontmatter, but skill-guides/orca-cli.md:206 still says Computer Use is for tasks that "require OS/window-level control" — the same framing this PR removes from discovery — and config/scripts/orca-cli-skill-guidance.test.mjs:36 pins it. The emulator guides (skill-guides/orca-emulator.md:104, skill-guides/orca-emulator-android.md:118) likewise still describe computer-use as the choice for "desktop UI". These are guide bodies rather than the discovery descriptions the PR targets, so no change is requested here; noting them only in case you want the framing aligned consistently in a follow-up.

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

@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

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: ad5c64b5-b81c-4418-a97a-7f3f07885c2d

📥 Commits

Reviewing files that changed from the base of the PR and between d3f7bb4 and df06640.

📒 Files selected for processing (9)
  • config/scripts/computer-use-skill-guidance.test.mjs
  • config/scripts/orca-cli-skill-guidance.test.mjs
  • resources/skills/current-manifest.json
  • resources/skills/snapshot-registry.json
  • skill-guides/computer-use.md
  • skill-guides/orca-cli.md
  • skills/computer-use/SKILL.md
  • skills/orca-cli/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
  • skills/orca-cli/SKILL.md
  • resources/skills/snapshot-registry.json

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


📝 Walkthrough

Walkthrough

Computer Use is now reserved for visible-window GUI control when shell, filesystem, Git, HTTP, or existing CLI tools cannot complete the task. Computer Use guidance no longer references Playwright or CDP. Orchestration guidance no longer advertises Computer Use or page automation. Tests and skill metadata reflect these routing changes.

Priority: ➖ Normal

Severity of issue fixed: Medium

Merge Risk: 🔵 Low · up to df066

The routing guidance is otherwise low risk, but clarifying the eligibility wording and tightening the orchestration test would reduce the chance of incorrect skill selection or future regressions.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: preventing computer-use selection for filesystem and shell tasks.
Description check ✅ Passed The description includes all required sections, linked issues, scope, rationale, visual proof, testing details, review notes, and checklist status. The What Changed section contains stale Playwright/C…
Linked Issues check ✅ Passed The changes satisfy the coding requirements in issue #20843. computer-use now prefers shell, filesystem, Git, HTTP, and existing CLI paths. It reserves GUI control for visible windows when direct pa…
Out of Scope Changes check ✅ Passed The changes stay within issue #20843. The modified skill guidance, routing tests, bundled guides, install stubs, and skill metadata support the required tool-selection correction. No unrelated product…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3…
✨ Finishing Touches
📝 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.

@coderabbitai coderabbitai 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.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: f1124741-ca1d-4268-9747-694340c877bd

📥 Commits

Reviewing files that changed from the base of the PR and between 36cdb34 and c59ac17.

📒 Files selected for processing (12)
  • 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
  • skills/computer-use/SKILL.md
  • skills/orca-cli/SKILL.md
  • skills/orchestration/SKILL.md
  • src/cli/bundled-skill-guides.ts

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

Comment thread resources/skills/snapshot-registry.json Outdated
Comment on lines +583 to +593
"packageDigest": "cd05e94d8cae38669b1aa0db3908614a6392af81e89aeab020fb71ce55f271c1",
"gitTreeSha": "2e4666a5628b4cd6eee56a15cbcd79df390a944d",
"files": [
{
"path": "SKILL.md",
"size": 2237,
"size": 2291,
"executable": false,
"classification": "text",
"exactSha256": "b21b9b80475c35996b9c046379b9c9fa788f2d357c9e917befd8ab1b37df2e77",
"textNormalizedSha256": "b21b9b80475c35996b9c046379b9c9fa788f2d357c9e917befd8ab1b37df2e77",
"identitySha256": "b21b9b80475c35996b9c046379b9c9fa788f2d357c9e917befd8ab1b37df2e77"
"exactSha256": "8a8798024056c42839de7531c70990d6f7e957e39beabe02ea53b829ee673b2b",
"textNormalizedSha256": "8a8798024056c42839de7531c70990d6f7e957e39beabe02ea53b829ee673b2b",
"identitySha256": "8a8798024056c42839de7531c70990d6f7e957e39beabe02ea53b829ee673b2b"

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.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🔎 Supported by static analysis

🏁 Script executed:

sed -n '350,405p' config/scripts/generate-skill-bundle-manifest.mjs
sed -n '1,65p' resources/skills/current-manifest.json
sed -n '560,605p' resources/skills/snapshot-registry.json
sed -n '1030,1070p' resources/skills/snapshot-registry.json
sed -n '1190,1235p' resources/skills/snapshot-registry.json

Repository: stablyai/orca

Length of output: 10463


🏁 Script executed:

set -e
printf '%s\n' '--- generator history and manifest logic ---'
sed -n '405,505p' config/scripts/generate-skill-bundle-manifest.mjs
printf '%s\n' '--- relevant diff summary ---'
git diff --stat -- resources/skills/snapshot-registry.json resources/skills/current-manifest.json config/scripts/generate-skill-bundle-manifest.mjs
printf '%s\n' '--- relevant diff ---'
git diff -- resources/skills/snapshot-registry.json resources/skills/current-manifest.json config/scripts/generate-skill-bundle-manifest.mjs | sed -n '1,260p'

Repository: stablyai/orca

Length of output: 4795


🤖 get_repo_knowledge executed:

get_repo_knowledge stablyai/orca /tmp/coderabbit-repo-knowledge/stablyai-orca-89dc44e4/learnings

Length of output: 9462


🏁 Script executed:

set -e
printf '%s\n' '--- digest and generation definitions ---'
rg -n -A35 -B8 'function packageDigest|const packageDigest|packageDigest\\s*=|releaseRevision' config/scripts/generate-skill-bundle-manifest.mjs config resources src tests | head -260
printf '%s\n' '--- current package sources and relevant mappings ---'
for f in skills/orca-cli/SKILL.md skills/orchestration/SKILL.md skills/computer-use/SKILL.md resources/skills/release-mapping.json; do
  if [ -f "$f" ]; then
    echo "--- $f ---"
    sed -n '1,35p' "$f"
  fi
done
printf '%s\n' '--- revision lookup consumers ---'
rg -n -A18 -B8 'historicalRelease|releaseRevision|snapshotRegistry|snapshot-registry|current-manifest' src config tests resources | head -360

Repository: stablyai/orca

Length of output: 50369


🏁 Script executed:

set -e
printf '%s\n' '--- digest and generation definitions ---'
rg -n -A35 -B8 'function packageDigest|const packageDigest|packageDigest\s*=|releaseRevision' config/scripts/generate-skill-bundle-manifest.mjs config resources src tests | head -260
printf '%s\n' '--- current package sources and relevant mappings ---'
for f in skills/orca-cli/SKILL.md skills/orchestration/SKILL.md skills/computer-use/SKILL.md resources/skills/release-mapping.json; do
  if [ -f "$f" ]; then
    echo "--- $f ---"
    sed -n '1,35p' "$f"
  fi
done
printf '%s\n' '--- revision lookup consumers ---'
rg -n -A18 -B8 'historicalRelease|releaseRevision|snapshotRegistry|snapshot-registry|current-manifest' src config tests resources | head -360

Repository: stablyai/orca

Length of output: 50369


🏁 Script executed:

set -e
python3 - <<'PY'
import hashlib, json, pathlib
manifest=json.loads(pathlib.Path('resources/skills/current-manifest.json').read_text())
wanted={'orca-cli','orchestration','computer-use'}
for entry in manifest['skills']:
    if entry['name'] in wanted:
        p=pathlib.Path(entry['sourcePath'])/'SKILL.md'
        b=p.read_bytes()
        print(entry['name'])
        print('source_size',len(b),'manifest_size',entry['files'][0]['size'])
        print('source_sha256',hashlib.sha256(b).hexdigest())
        print('manifest_exact',entry['files'][0]['exactSha256'])
        print('source_matches_manifest',len(b)==entry['files'][0]['size'] and hashlib.sha256(b).hexdigest()==entry['files'][0]['exactSha256'])
PY
printf '%s\n' '--- freshness types and lookup code ---'
sed -n '1,180p' src/shared/skill-freshness.ts
printf '%s\n' '--- exact historical lookup references ---'
rg -l 'historicalRelease|releaseMapping|release-mapping|releaseRevision' src config tests --glob '*.ts' --glob '*.mjs' | sort

Repository: stablyai/orca

Length of output: 8082


🏁 Script executed:

set -e
printf '%s\n' '--- artifact registry and historical lookup ---'
sed -n '1,260p' src/main/skills/skill-bundle-artifacts.ts
printf '%s\n' '--- roundtrip historical lookup ---'
rg -n -A35 -B15 'historicalRelease|releaseRevision|gitTreeSha|packageDigest' config/scripts/verify-skill-update-roundtrip.mjs
printf '%s\n' '--- focused tests ---'
rg -n -A25 -B12 'historicalRelease|releaseRevision|snapshot|append-only|packageDigest' src/main/skills/skill-bundle-artifacts.test.ts config/scripts/generate-skill-bundle-manifest.test.mjs config/scripts/verify-skill-update-roundtrip.mjs

Repository: stablyai/orca

Length of output: 50369


🏁 Script executed:

set -e
printf '%s\n' '--- commit context ---'
git rev-parse --short HEAD
git rev-parse --short HEAD^
printf '%s\n' '--- reviewed commit diff summary ---'
git diff --stat HEAD^ HEAD -- resources/skills/snapshot-registry.json resources/skills/current-manifest.json skills/orca-cli/SKILL.md skills/orchestration/SKILL.md skills/computer-use/SKILL.md
printf '%s\n' '--- reviewed commit diff ---'
git diff HEAD^ HEAD -- resources/skills/snapshot-registry.json resources/skills/current-manifest.json skills/orca-cli/SKILL.md skills/orchestration/SKILL.md skills/computer-use/SKILL.md | sed -n '1,280p'

Repository: stablyai/orca

Length of output: 11428


Append a new snapshot revision for each changed package. The generator appends latest.releaseRevision + 1 when the package digest changes. This commit instead rewrites revisions 9, 37, and 29 in both manifests. Historical release mappings still resolve those revision numbers, so old releases now identify the new package digests and gitTreeSha values. This breaks immutable package identity and can make historical update checks use the wrong tree.

  • Preserve revision 9 and append revision 10 for computer-use.
  • Preserve revision 37 and append revision 38 for orca-cli.
  • Preserve revision 29 and append revision 30 for orchestration.
  • Set the corresponding releaseRevision values in resources/skills/current-manifest.json to 10, 38, and 30.

Comment thread skills/orchestration/SKILL.md Resolved
State the last-resort rule in discovery copy instead of enumerating
files/folders/git/shell. computer-use prefers shell, filesystem, git, HTTP,
CLIs, and Playwright/CDP; neighboring skills route to Computer Use only when
a visible window needs GUI control those cannot do.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 6ce2b6a9-0eea-4228-a8fc-7dd845bea8cc

📥 Commits

Reviewing files that changed from the base of the PR and between c59ac17 and 3d0bf73.

📒 Files selected for processing (12)
  • 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
  • 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 (7)
  • resources/skills/current-manifest.json
  • skills/orchestration/SKILL.md
  • skill-guides/orchestration.md
  • config/scripts/computer-use-skill-guidance.test.mjs
  • skill-guides/orca-cli.md
  • config/scripts/orchestration-skill-guidance.test.mjs
  • config/scripts/orca-cli-skill-guidance.test.mjs

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

Comment thread skill-guides/computer-use.md Outdated
tree, clicks, typing, menus, dialogs, and screenshots in native apps and external
browser windows (Chrome, Edge, Safari) or webviews. Prefer a programmatic path
(shell, filesystem, git, HTTP, existing CLIs, Playwright/CDP) whenever it can
complete the task. Use only when a visible window needs GUI control those cannot

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.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Clarify the programmatic-path reference.

Replace those cannot reach with that programmatic paths cannot provide in both occurrences. The current phrase has no clear grammatical antecedent and can make the Computer Use routing rule ambiguous.

Also applies to: 15-15

Source: Linters/SAST tools

@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

Re-reviewed the delta since the prior pullfrog review (c59ac17 → 3d0bf73): one commit that replaces the filesystem/shell deny-list with a positive "prefer a programmatic path" rule, plus its regenerated artifacts and tests.

  • Replaced the computer-use deny-list with a positive last-resort rule — discovery and the guide body now say "Prefer a programmatic path (shell, filesystem, git, HTTP, existing CLIs, Playwright/CDP) whenever it can complete the task", keeping the embedded-browser and page-only exclusions.
  • Narrowed orca-cli and orchestration — both now advertise Computer Use only "when a visible window needs GUI control that a CLI, filesystem, or API cannot do".
  • Regenerated stubs, guides, and manifests — skills/*/SKILL.md, src/cli/bundled-skill-guides.ts, current-manifest.json, and snapshot-registry.json match their sources; both generators pass in --check mode.
  • Updated tests to pin the new phrases — the three guidance tests assert the new copy and that OS/window-level / Desktop or Documents no longer appear. All 93 tests across the 3 guidance and 2 generator test files pass locally.

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

Orchestration coordinates workers; it does not drive a GUI. Drop Computer Use
and Playwright/embedded-browser routing from its discovery description so
those tools are not pulled in from a coordination skill.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 6397d951-0f56-4645-acb4-41c4dbe66adc

📥 Commits

Reviewing files that changed from the base of the PR and between 3d0bf73 and d3f7bb4.

📒 Files selected for processing (6)
  • config/scripts/orchestration-skill-guidance.test.mjs
  • resources/skills/current-manifest.json
  • resources/skills/snapshot-registry.json
  • skill-guides/orchestration.md
  • skills/orchestration/SKILL.md
  • src/cli/bundled-skill-guides.ts

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

Comment on lines +57 to +59
expect(description).not.toMatch(/Computer Use/iu)
expect(description).not.toMatch(/Playwright/iu)
expect(description).not.toContain('embedded pages')

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.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Reject all prohibited routing terms in this test.

The assertions do not match computer-use or CDP. A later orchestration description could advertise either route and still pass this test. Add both terms to keep the regression test aligned with the routing contract.

Proposed test update
-    expect(description).not.toMatch(/Computer Use/iu)
+    expect(description).not.toMatch(/computer[- ]use/iu)
     expect(description).not.toMatch(/Playwright/iu)
+    expect(description).not.toMatch(/CDP/iu)
     expect(description).not.toContain('embedded pages')
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
expect(description).not.toMatch(/Computer Use/iu)
expect(description).not.toMatch(/Playwright/iu)
expect(description).not.toContain('embedded pages')
expect(description).not.toMatch(/computer[- ]use/iu)
expect(description).not.toMatch(/Playwright/iu)
expect(description).not.toMatch(/CDP/iu)
expect(description).not.toContain('embedded pages')

orca-cli should not prescribe Playwright or CDP. Those tools may not be
installed, and page automation is not this skill's job.

@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

Re-reviewed the delta since the prior pullfrog review (3d0bf73 → 797665c): two commits that stop orchestration and orca-cli discovery from advertising Computer Use / page automation, plus their regenerated artifacts and tests.

  • orchestration discovery drops Computer Use entirely — the description now ends at reading or waiting on terminals., and the test asserts no Computer Use, no Playwright, and no embedded pages.
  • orca-cli discovery drops the Playwright/CDP routing — ends at GUI control that a CLI, filesystem, or API cannot do.; orca-cli-skill-guidance.test.mjs now reads frontmatter only and adds not.toMatch(/Playwright/iu), while still pinning the guide body's OS/page routing.
  • Generated artifacts regenerated — stubs, src/cli/bundled-skill-guides.ts, current-manifest.json, and snapshot-registry.json. Both generators pass in --check mode and the stub sizes/hashes match the manifest (orca-cli 2211/6522a33…, computer-use 2112/d104db9…, orchestration 3510/36bc32f…).
  • Descriptions stay under the 1024-char cap — 542 / 649 / 560 chars for computer-use / orca-cli / orchestration.

Verified locally at 797665c: 113 tests pass across the three guidance suites, skill-description-length, skill-critical-guidance, and both generator suites.

ℹ️ Nitpicks

  • The PR body's "What Changed" bullet still says orca-cli and orchestration both carry Use Computer Use only when a visible window needs GUI control that a CLI, filesystem, or API cannot do., but d3f7bb4 removed the Computer Use sentence from orchestration entirely — only orca-cli has it now. Worth updating the description so it matches the shipped copy.

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

Page automation is a preference, not a prohibition. If Playwright or CDP is
not available, a visible browser window is valid Computer Use. Keep the
hard split for Orca's embedded browser (`orca-cli`) only.

@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

Re-reviewed the delta since the prior pullfrog review (797665c → df06640): one commit that drops the page-only prohibition and every Playwright/CDP mention from computer-use discovery and its guide opener, plus its regenerated artifacts and updated tests.

  • Dropped the page-only automation prohibition from computer-use discovery — the description now ends at Do not use for Orca's embedded browser (\orca-cli`).`, and the guide opener loses the "For a website or web app …" / "Do not use it for page-only automation …" sentences. Per the commit rationale, page automation is a preference rather than a prohibition: when Playwright/CDP is unavailable, a visible browser window is valid Computer Use, and the last-resort rule ("Prefer a programmatic path … only when a visible window needs GUI control those cannot reach") still keeps the hard split for Orca's embedded browser.
  • Regenerated the computer-use stub and manifests — skills/computer-use/SKILL.md (2050 bytes, 244b0665…), src/cli/bundled-skill-guides.ts, current-manifest.json, and snapshot-registry.json. Both generators pass in --check mode (generate-bundled-skill-guides.mjs, generate-skill-bundle-manifest.mjs), and the stub frontmatter stays identical to the guide.
  • Updated computer-use-skill-guidance.test.mjs — now asserts the new copy and guards not.toMatch(/Playwright/iu) / not.toContain('page-only'), so a regression to the old page-only framing fails. 51 tests pass across the three guidance suites.

ℹ️ Nitpicks

  • The PR description's "What Changed" lags the shipped copy: it still says the computer-use description prefers (shell, filesystem, git, HTTP, existing CLIs, Playwright/CDP) and that it "excludes Orca's embedded browser and page-only automation" — df06640 removed both. The orchestration bullet is likewise stale after d3f7bb4. Worth syncing the description so it matches what readers will see in the skills.

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

@Jinwoo-H
Jinwoo-H merged commit 12d744f into main Sep 16, 2026
46 checks passed
ivanvykopal pushed a commit to ivanvykopal/orca that referenced this pull request Sep 20, 2026
…ai#21069)

* fix(skills): keep computer-use off filesystem and shell tasks

STA-7615: "On my desktop create a folder" was matching computer-use because
discovery copy said OS/window-level and neighboring skills advertised desktop UI.
Scope the trigger to visible GUI with no CLI path, and exclude files/folders/git/shell.

* fix(skills): prefer programmatic paths over computer-use

State the last-resort rule in discovery copy instead of enumerating
files/folders/git/shell. computer-use prefers shell, filesystem, git, HTTP,
CLIs, and Playwright/CDP; neighboring skills route to Computer Use only when
a visible window needs GUI control those cannot do.

* fix(skills): stop advertising computer-use from orchestration

Orchestration coordinates workers; it does not drive a GUI. Drop Computer Use
and Playwright/embedded-browser routing from its discovery description so
those tools are not pulled in from a coordination skill.

* fix(skills): drop Playwright from orca-cli discovery

orca-cli should not prescribe Playwright or CDP. Those tools may not be
installed, and page automation is not this skill's job.

* fix(skills): drop the page-only ban from computer-use discovery

Page automation is a preference, not a prohibition. If Playwright or CDP is
not available, a visible browser window is valid Computer Use. Keep the
hard split for Orca's embedded browser (`orca-cli`) only.
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]: Orca is overly biased toward using the computer-use skill for tasks that can be completed via shell commands

1 participant