Skip to content

fix(skills): classify foreign same-name skills separately - #10877

Closed
5Hyeons wants to merge 2 commits into
stablyai:mainfrom
5Hyeons:5Hyeons/separate-computer-use-real
Closed

5Hyeons wants to merge 2 commits into
stablyai:mainfrom
5Hyeons:5Hyeons/separate-computer-use-real

Conversation

@5Hyeons

@5Hyeons 5Hyeons commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Classifies a readable same-name skill found in a plugin cache as foreign instead of unrecognized.

This prevents another tool's skill from raising Orca's Needs attention pill or being presented as an Orca copy to remove. Copies in locations Orca owns remain unrecognized; empty or unreadable packages remain unrecognized because there is not enough evidence to dismiss the warning. Eligibility and update commands are unchanged, and plugin-cache placements are not update targets.

Screenshots

Manual QA launched the integration dev app, but the changed Skills state could not be reached because the Electron window did not accept focus/navigation. No PR screenshot is attached yet.

Testing

  • pnpm lint (full lint retains the pre-existing Ghostty localization-coverage failure)
  • pnpm typecheck
  • pnpm test (focused skill suites only)
  • pnpm build (not run)
  • Focused skill suites: 35 tests passed after the final simplification.

AI Review Report

Claude reviewed the classification boundary and a local integration merge with #10865. It checked positive evidence for plugin-cache location and readable content, ownership/eligibility behavior, the Needs attention pill, UI grouping, path handling, and the simplified no-snapshot-kinship rule. The integration merge passed typecheck and focused tests; the conflict was isolated to the shared display-status module. Cross-platform path, shell, shortcut/label, and Electron-specific risks for macOS, Linux, and Windows were reviewed; this change adds no platform-specific shell or shortcut behavior and no remote/SSH behavior.

Security Audit

Reviewed path classification, readable-file handling, symlink/path escape implications, command execution, IPC, secrets, auth, and dependencies. No new command execution, auth, secret, dependency, or IPC surface was added. Empty or unreadable plugin packages remain fail-closed as unrecognized.

Notes

This remains separate from #10865 and does not change update eligibility. After #10865 is merged by the maintainer, rebase this PR onto the resulting latest main, resolve any shared display-status conflict, and rerun final checks.

X handle: N/A

Refs #10633

5Hyeons and others added 2 commits July 27, 2026 16:14
…odified copy

`unrecognized` conflated two unrelated things: an official copy the user edited,
and a different tool's skill that happens to share the name. Only the first is
theirs to fix, but both lit the amber "Needs attention" pill — and the second
offers no exit, since the copy belongs to another tool and must not be deleted.

Codex ships its own bundled `computer-use` plugin, so any user with both Orca
skills and Codex installed hits this permanently (reported in stablyai#10633).

A placement is now `foreign` only on positive evidence along both axes:

- Location: a plugin cache, which Orca never installs into and which
  `eligibleSkillUpdateNames` already provably leaves alone. Everywhere Orca owns
  stays `unrecognized`, so a tampered official copy can never be waved through.
- Content: files were read and none shows byte-level descent from a known
  release. Empty or unreadable is unknown, not foreign.

Foreign placements get their own chip and stop driving the pill; nothing else
about eligibility or the update command changes.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@5Hyeons 5Hyeons changed the title fix(skills): distinguish another ecosystem's same-name skill from a modified copy fix(skills): classify foreign same-name skills separately Jul 27, 2026
@5Hyeons

5Hyeons commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by the integrated update to #10865, which now includes the foreign same-name skill classification. Closing this separate draft PR to keep one review surface.

@5Hyeons

5Hyeons commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #10865.

@5Hyeons 5Hyeons closed this Jul 27, 2026
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.

1 participant