Skip to content

[codex] Add macOS Use manifest safety tests#2

Draft
mimeding wants to merge 1 commit into
osaurus-ai:masterfrom
mimeding:codex/macos-use-manifest-safety
Draft

[codex] Add macOS Use manifest safety tests#2
mimeding wants to merge 1 commit into
osaurus-ai:masterfrom
mimeding:codex/macos-use-manifest-safety

Conversation

@mimeding

Copy link
Copy Markdown

Summary

Adds manifest safety tests for macOS Use screenshot, action-observe, and session tools, and makes the display listing test deterministic in no-display runners.

Business Rationale

Desktop automation needs very clear tool contracts because actions can change local applications. These tests make capture, stale-recovery, and telemetry-only session semantics explicit for safer automation.

Coding Rationale

The plugin already exposes the automation behavior through manifest descriptions and tool schemas. This PR codifies those contracts in tests and removes a display-count assumption that can fail in CI or headless environments.

Expected LLM Performance Improvement

Models should better understand when to observe, act, and re-observe after mutations, which improves recovery from stale UI snapshots and reduces blind desktop automation steps.

Changes

  • Behavior change
  • UI change
  • Refactor / chore
  • Tests
  • Docs

Test Plan

  • swift test
  • swift build -c release
  • swift-format lint --strict Tests/osaurus_macos_use_tests/PluginTests.swift
  • git diff --check

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