Explain native inspection failure when the desktop or target window becomes unavailable
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- macos, typescript
- Domaine
- desktop
Piste de recherche
Start from the native inventory code that emits is_on_screen, observation_capability: pixels_only, and observation_reason: no_matching_accessibility_window, plus where DESKTOP_ERROR: AX tree incomplete is produced. Read the shipped work in #71 and #87 and the sparse-tree report in #73 to see what states are already distinguished. Done means a reliable classification of offscreen/other-desktop vs unavailable desktop vs incomplete Accessibility, an actionable agent-facing explanation, and a recovery check that requires fresh observation without switching windows or stealing focus.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Status (Oct 6)
Shipped: pixels-mode inspection and target availability reporting (#71), and typed target_unavailable refusal for a known locked session with unlock-and-refresh guidance (#87, details). Remaining: a reliable distinction and recovery path for an offscreen/other-desktop target versus an unavailable desktop versus incomplete Accessibility, sparse initial WKWebView Accessibility trees (seen in #73), and the real recovery check below. The Chrome window-title mismatch is tracked separately in #113.
Original report
During real desktop-action dogfooding for #8 / #63, native inspection became unavailable after previously passing against the same live Ace-dev process and window. The agent received an incomplete Accessibility-tree error without an actionable explanation of target availability.
Observed on the signed macOS development app:
- The real local pi click/type/key/button workflow and delivered-input Stop/restart checks had passed.
- A subsequent local Workers/Durable Objects run passed its seed native inspection, then two model
desktop_inspectcalls failed withDESKTOP_ERROR: Warning: AX tree incomplete at incomplete accessibility read. - Fresh native inventory still returned the same process instance/window and bounds, with
is_minimized: false, butis_on_screen: false,observation_capability: pixels_only, andobservation_reason: no_matching_accessibility_window. Inventory itself reported complete. - Codex computer use could still read and capture that test window. Its Raise and Ace's Show Ace action did not restore native availability in the subsequent inventory.
- No mutation ran in the failed hosted workflow. No evidence establishes whether a Space/desktop/controlled-surface change or another macOS condition caused the availability change; this is not yet a confirmed hosted-transport defect.
Expected: give the agent a bounded, useful explanation when native window/Accessibility availability changes, retain the exact target, and require a fresh observation when the target is available again. Do not silently switch to another window, steal focus, or replay uncertain input as recovery.
Investigate which native state reliably distinguishes an offscreen/other-desktop target, a locked/unavailable desktop, and incomplete Accessibility. Add a real recovery check under #8's visual targeting and longer-workflow slice. Keep the unavailable-desktop limitation explicit until that check passes.
- Langage dominant
- TypeScript
- Étoiles
- 1
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de githubnext/ace2
-
Ace: adopt desktopToolRules()Ouvertedocumentation
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
githubnext/ace2#530 · 1 commentaire ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
githubnext/ace2#437 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
githubnext/ace2#529 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
githubnext/ace2#528 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
githubnext/ace2#511 ·
Toutes les issues de githubnext/ace2
Issues similaires
-
engine-rs P3 review-deferral wasm
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
maniator/verticopolis#1154 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
telerik/kendo-react#3861 ·
Les mainteneurs répondent en général sous 1 jour
-
[bug]: use-mobile.ts uses pixel logic, causing UI state de-sync with Tailwind CSS rem breakpointsOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
task
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100