Explain native inspection failure when the desktop or target window becomes unavailable
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 15/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- macos, swift
- 领域
- accessibility, desktop
调研方向
The payload names no source files. Start from the inventory fields observation_capability, observation_reason, and is_on_screen, and from the typed target_unavailable refusal shipped in #87. Reproduce the offscreen-versus-locked-desktop distinction on macOS, then add the recovery check that githubnext/ace2#8 requires. Done means that check passes and the unavailable-desktop limitation can be removed.
由索引模型根据 Issue 内容生成。
描述
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 githubnext/desktop-tools#6.
Original report
During real desktop-action dogfooding for githubnext/ace2#8 / githubnext/ace2#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 githubnext/ace2#8's visual targeting and longer-workflow slice. Keep the unavailable-desktop limitation explicit until that check passes.
- 主要语言
- Swift
- 星标
- 0
- 派生
- 0
- 平均合并
- 19 分钟
- 30 天内合并 PR
- 107
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
githubnext/desktop-tools 的其他 Issue
-
ace documentation
难度 2/5 1-3 小时 新手友好度 79/100
githubnext/desktop-tools#104 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
githubnext/desktop-tools#136 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 52/100
githubnext/desktop-tools#130 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
githubnext/desktop-tools#129 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
githubnext/desktop-tools#117 · 1 条评论 ·
维护者通常 1 天内回复
查看 githubnext/desktop-tools 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
Emanuele-web04/remodex#203 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 92/100
维护者通常 1 天内回复
-
test(BrainBar): inject synthetic observabilityCadence in BackupsHealth/one-page fixtures (DCI-1)未关闭
难度 2/5 1-3 小时 新手友好度 74/100
EtanHey/brainlayer#1367 ·
维护者通常 1 天内回复
-
cmux-next: new workspaces show no name instead of workspace-N可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area: workspaces
难度 2/5 1-3 小时 新手友好度 82/100
manaflow-ai/cmux#21357 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 4 天内回复