# Known Limitations Claude Code's **Handling tools** state is a tool-call hint, not an OS execution monitor. `PreToolUse` runs before permission checks; denial and interruption can omit result hooks. Clawd conservatively drops the hint on an ordinary result or a denied/undecided approval returned through its normal resolution flow. Hiding approval bubbles through DND or Settings does not itself invalidate this hint; conversely, duplicate starts or cleanup after a native-terminal answer can temporarily suppress it. An older accepted batch can release suppression before a later denied call's delayed start arrives, because the approval result has no reliable tool identity. It cannot infer continuous execution from missing parallel results, and a cancellation that emits no observable event can leave the hint until later activity or the configured stale cleanup (five minutes by default; users can change or disable it). Background commands may outlive the foreground tool call. The first version covers local interactive main sessions; remote/WSL/headless and other agents keep existing states. Built-in themes reuse working art unless a theme explicitly provides an executing animation. [Back to README](../../README.md) | Limitation | Details | |---|---| | **Downgrading Clawd: duplicate hooks** | When downgrading to 1.5.0 or earlier, the older version does not recognize exec-style hooks and adds another copy, so events may be reported twice. Upgrading again automatically merges them; upgrade again before uninstalling the older version. | | **Windows: third-party screen capture overlays (#1282)** | Clawd stands down only for the Windows Snipping Tool overlay (verified on 11.2608). Overlays from other screen capture tools can still end up under the pet; pressing on the pet there drags it instead of starting a selection. | | **macOS pet topmost and fullscreen (#1275)** | Changing pet always-on-top takes effect after restarting Clawd. Auto-hide recognizes only native fullscreen Spaces (including Split View), not players that simply fill a normal window. With multiple displays it follows the active Space, which may differ from the pet’s display. | | **ZCode: hook config is snapshotted at app start** | ZCode's desktop runtime reads `~/.zcode/cli/config.json` once and keeps dispatching that snapshot: hooks installed (or edited) while ZCode is running do not fire in already-running sessions until ZCode is restarted — the request then falls through to ZCode's native UI. State events registered before the start keep working, so a silent `PermissionRequest` slot is easy to misread as a Clawd bug. Restart ZCode after installing or re-registering hooks. Observed on macOS ZCode 3.16.3 (#1264). | | **ZCode: not every native approval reaches the hook** | ZCode 3.16.3's permission waterfall only dispatches `PermissionRequest` hooks for approvals whose `approvalMode` is not `user-once` (verified in the 3.16.3 runtime bundle). `user-once` covers the guarded-mode dangerous-command approval ("approve for this execution" with no always-allow options), so those native cards never reach Clawd and stay in ZCode's own UI. Ordinary build-mode asks (side-effect/high-risk tools with allow-always options) do dispatch the hook. | | **Dynamic local ports and existing CLI sessions** | If the normal 23333–23337 range is unavailable, Clawd uses a saved dynamic-port hint or an OS-assigned port. New native clients discover it through `~/.clawd/runtime.json`. Claude/CodeBuddy HTTP hooks contain a static URL; an already running CLI may need a new session or hook reload after the port changes. The saved hint reduces drift but cannot prevent it. A failed runtime write closes a dynamic listener; restart after checking the runtime directory's permissions. | | **Dynamic ports: WSL, manual tunnels and older versions** | Separate-home WSL clients only scan 23333–23337 and cannot discover an out-of-range Windows port; Pair reports that limitation. This is separate from NAT/mirrored networking. Windows Node interop can read the Windows runtime. Manually hard-coded SSH forwarding must track the actual port; managed Remote SSH keeps its existing fixed remote identity ports. Older clients and downgraded uninstallers may not recognize the new `/permission/clawd-on-desk` URL; repair with the current version before downgrading. Mobile Preview uses an independent 23334–23338 LAN listener and has no dynamic fallback in this change. | | **Local approval URLs use the existing same-user trust boundary** | The dynamic URL path identifies Clawd-owned configuration; it is not a token or authentication improvement. A local process could bind a static hook URL after Clawd exits, and runtime owner PID checks cannot rule out PID reuse. Existing strict permission readers and remote nonce checks remain in place. | | **Destructive-action reminder: heredoc bodies can pause automation** | With “Ask me before auto-allowing destructive commands” on, a heredoc body containing an odd number of single quotes (for example `don't`), `(#1021)`, an unmatched backtick, or an unmatched double quote can produce `scan-error`. Clawd then holds a request automation would otherwise allow; in unattended mode it can wait for roughly 10 minutes. Click **Allow** after reviewing the command, or turn the switch off. A commit or PR message written as `git commit -m "$(cat <<'EOF' … EOF)"` is recognised and not held (also `git tag` / `git merge`, and `--body` / `--title` / `--notes` on `gh pr`, `gh issue` and `gh release`). The reminder is only a hint and never grants approval. | | **Telegram Direct Send: Codex queue fallback** | Known local Codex Desktop and Codex CLI sessions use the authoritative Codex thread queue when the installed CLI supports it and Clawd can derive the mapped session's store. A Codex Desktop session whose store cannot be derived, or an otherwise eligible queue delivery that is unavailable or unsupported, leaves the reply on the clipboard without injecting text or Enter; a Windows Codex CLI session whose store cannot be derived retains its Console path. WSL, remote, and other sessions retain their existing clipboard/Console semantics. An existing saved thread that is not currently loaded may accept the durable queue entry without starting a turn until that thread is opened or resumed; the “queued” acknowledgement means the queue accepted the reply, not that a turn started. HUD/Dashboard navigation still opens the Desktop thread deep link. | | **WSL sessions: no process-exit cleanup** | A WSL hook reports Linux PIDs, and Windows can map those numbers onto unrelated local processes, so Clawd deliberately ignores WSL PIDs for liveness. A WSL session therefore does not disappear the moment its agent exits (closing the terminal, `kill`, or a crash); a running session first moves to idle after **Working timeout** (5 min default) and is then removed after **Session timeout (idle)** (10 min default), while Session timeout (idle) = 0 keeps it until the agent reports a session end. A WSL Codex session's **Don't ask again in this session** trust also lasts until the session is removed by those timeouts, not until Codex exits. | | **Codex CLI: terminal focus is best-effort** | `request_user_input` cards can jump back to a local Codex session when its official-hook/session metadata identifies a focus target. JSONL alone may not carry a usable terminal PID, and Remote SSH sessions cannot focus a window on the remote host; in those cases the card remains a read-only reminder. | | **Windows Codex Desktop: first ordinary message may lack process metadata** | The first message in an ordinary Codex Desktop conversation can arrive before the short-lived wrapper exposes a usable PID. The session remains visible, but click-to-focus waits for a later event with process metadata (#1166). | | **Codex CLI: partial hook coverage** | Official hooks cover live state, `PermissionRequest`, compaction start/end (`PreCompact` / `PostCompact`), interruption (`Interrupt`), and session teardown (`SessionEnd`). Upgrading registers these four new hooks; review them in Codex `/hooks` before they run. Until reviewed, or when hooks are disabled/unavailable, Clawd falls back to JSONL where a corresponding record exists: compaction gets a completion-only sweep, and aborted turns can have polling latency. Web search remains a fallback-only signal. Approval prompts are never inferred from JSONL and still require the official `PermissionRequest` hook; leaving only the four new state hooks unreviewed does not disable an already-trusted permission hook. Remote SSH targets need Deploy/Repair to receive the updated hooks. | | **Codex Desktop: granular `request_permissions` approvals stay in Codex** | With Codex's granular approval policy, a `request_permissions` call (an extra filesystem or network grant) is approved through Codex Desktop's own app-server approval card. That path does not run the official `PermissionRequest` command hook — Clawd only observes the surrounding pre/post tool hooks — so no Clawd permission bubble appears and Clawd cannot answer it; the decision happens entirely in Codex. Ordinary tool-level `PermissionRequest` approvals are unaffected. Tracked in [#1040](https://github.com/rullerzhou-afk/clawd-on-desk/issues/1040). | | **Codex CLI: user-input cards are read-only** | Codex does not expose `request_user_input` through the official hook event set. Clawd observes the JSONL transcript, so the reminder can arrive after the polling interval. Choices and free-form answers stay in Codex's native UI; Clawd neither injects keystrokes nor mirrors these questions to Telegram/Feishu approval actions. | | **Codex Desktop: unrecognized ambient workers can keep separate rows** | Desktop chats are kept distinct by SID even when they share an app-server. If an ambient prompt changes and no longer matches the two reviewed prefixes, an unknown worker can retain its own visible row; one SID still updates one row. Ordinary stale/session cleanup and the global 20-session capacity bound apply, but the recognized ambient set's 200-entry bound does not hide unknown workers. A replyable local completion mapping can preserve a row on SessionEnd. | | **Codex Desktop: ordinary no-transcript sidechats do not admit automatic queue replies** | Desktop provenance can select the queue adapter, but a missing authoritative rollout leaves `codexHome` null and the real adapter rejects before executable discovery or process spawn. Direct Send uses manual clipboard fallback and does not inject Enter or guess an ambient store. Thread-link acceptance by the OS is not proof that the exact temporary sidechat became visible. | | **Codex delegated subagents: only the pet and HUD wait for them** | When a local Codex parent turn ends while its delegated subagents are still working, the pet and the HUD keep showing the parent as busy and hold the completion cue (sound, taskbar flash, happy animation) until the last subagent really ends or the parent exits. The Dashboard, Telegram and Slack completion messages, phone notifications and Discord presence follow the parent session's own state and treat its Stop as done. WSL and Remote SSH Codex sessions have no subagent animation. | | **OpenCode / MiMo: native question adapter is generation-specific** | Direct question answers use the reviewed local v1 plugin and native question API (OpenCode 1.18.31+ within 1.x; MiMo 0.1.15+ within 0.1.x), with exact pending-request checks. OpenCode 2.x, remote deployments, unsupported/extended question shapes, and unknown versions remain native. Existing permission support does not imply a question answer adapter. See [agent questions](agent-questions.md). | | **Copilot CLI: no Telegram remote approval (yet)** | Copilot permission bubbles work locally, but v1 wiring intentionally excludes Telegram remote approval. The `edit` tool's full diff is the worst-case payload and needs a safe summary formatter before it can be sent over the bridge. The local bubble path is unaffected. | | **Gemini CLI: no permission bubble** | Gemini handles tool approval inside the terminal. Clawd observes Gemini hook events, but does not show permission bubbles unless Gemini adds a compatible blocking approval contract later. | | **Antigravity CLI: no permission bubble (state-only)** | Clawd does **not** pop any permission bubble for agy. Every Allow / Deny / Always-allow choice happens in agy's own 5-option terminal menu (Yes / Yes Persist / No / Always Deny / Always Deny Persist). For a permanent rule, choose the menu item labeled "Persist to settings.json" in agy's menu — the rule lands in `~/.gemini/antigravity-cli/settings.json` where you can also clear it. Dogfooding showed that adding a Clawd bubble on top produced 8-10 confirmations per single user task, so Clawd intentionally lets agy own permission flow end-to-end. Pet still reflects working / idle / attention state via PreInvocation / PostToolUse / Stop hooks. | | **Cursor Agent: no permission bubble** | Cursor handles permissions via stdout JSON in the hook, not HTTP blocking — Clawd can't intercept the approval flow. | | **Cursor Agent: startup recovery** | No process detection on startup (matching the editor PID would false-trigger on any Cursor instance). Clawd stays idle until the first hook event fires. | | **Windows Cursor / VS Code: window focus without a project title** | HUD/Dashboard can raise the source editor's unique visible window when its title lacks the project folder. Multiple unmatched windows remain ambiguous. This fallback cannot select or confirm a particular chat or input control, so Telegram Direct Send uses the clipboard fallback for that result. | | **Custom HTTP agents: state-only, sender required** | Registering an executable assigns an ID and exposes the `/state` contract; it does not install a hook, watch the process, or prove the application is an AI tool. The application or an adapter must send events using the current port from `~/.clawd/runtime.json`, a literal loopback `Host`, no `Origin`, and one `application/json` Content-Type. Custom agents cannot use `/permission` in v1, so approval stays in the application's native UI. | | **Hermes Agent: install required before use** | Hermes is listed in Settings but starts Not installed on fresh installs. Clawd does not write Hermes plugin files until you explicitly install the integration and a real Hermes install is detected. Install Hermes, then use **Settings -> AI Coding Tools -> Install** or run `npm run install:hermes-plugin`. | | **Hermes Agent: partial permission bubble support** | Hermes plugin events cover state, sessions, SessionEnd, tool activity, terminal focus, clarify elicitation bubbles, and plugin-originated permission bubbles. Tools explicitly listed in `CLAWD_HERMES_PERMISSION_TOOLS` fail closed when Clawd returns no decision or is unavailable; Hermes currently has no native approval prompt for that opt-in gate, so retry the tool after Clawd can show the bubble. Clawd does not fully replace Hermes' native approval menu yet: `once` / `session` / `always` persistence still belongs to Hermes until upstream exposes a blocking approval-resolution hook. Subagent lifecycle also still needs paired upstream start/stop events. | | **Hermes Agent over Remote SSH (Phase 1)** | Remote SSH deployment covers the default `account-default` layout with a standard Hermes installation only: the `~/.hermes` home plus the profile homes under `~/.hermes/profiles/*`, driven by the default and ordinary named-profile gateways. A custom `HERMES_HOME`, multiplexed gateways, and the experimental `profile-isolated` runtime are unsupported and unverified. Clawd never restarts a Hermes gateway: enabling the plugin takes effect in the next session, and a replaced managed module needs a manual gateway restart, with `systemctl --user is-active` reported only as a best-effort hint. A remote deployment never marks the local Hermes integration as installed; once the deployment is fully verified, it turns on the local **Settings → AI Coding Tools → Hermes Agent** switch by itself so Clawd accepts the remote events. | | **Kiro IDE confirmation reminders** | Confirm or answer in Kiro. Clawd reminders are read-only. Activity hooks run only in trusted workspaces. Confirmations already pending when Clawd starts are not replayed. Windows and Linux integration behavior has automated coverage but has not been verified on physical systems. After cancelling a turn in Kiro, if Kiro emits no Stop hook, the pet returns to idle after the normal working timeout (about five minutes). | | **Kiro CLI: no session tracking** | Kiro CLI stdin JSON has no session_id — all Kiro sessions are merged into a single tracked session. | | **Kiro CLI: no SessionEnd** | Kiro CLI has no session end event, so Clawd can't detect when a Kiro session ends. | | **Kiro CLI: no subagent detection** | Kiro CLI has no subagent events, so juggling/conducting animations won't trigger. | | **Kiro CLI: terminal permission prompts stay in terminal** | Kiro state hooks are verified on macOS and Windows, but when Kiro shows native terminal permission prompts such as `t / y / n`, those still need to be handled in the terminal. Clawd does not currently replace that flow. | | **Kimi Code CLI (Kimi-CLI): hook-only runtime path** | Kimi in Clawd is hook-only (`~/.kimi/config.toml`). If a future Kimi release breaks hook delivery, recover by reverting to the historical log-poll implementation from commit `e57679a` (the current `agents/kimi-log-monitor.js` is a compatibility stub). | | **Kimi Code subscription quota is experimental and manual-only** | Kimi's normal login and hooks expose no machine-readable subscription quota. Clawd therefore requires a dedicated Kimi Code API Key and queries the experimental `/coding/v1/usages` endpoint only after an explicit Connect/Replace/Refresh click. It does not poll in the background. The Key can invoke models and consume quota/Extra Usage; Disconnect/Forget do not revoke it in Kimi Console. A generic 403 is kept as an error with last-known data instead of being guessed as 100%, so an exhausted account may not visibly reach a full ring if Kimi blocks the usage endpoint itself. | | **Kimi Code CLI (Kimi-CLI): `[[hooks]]` blocks referencing `kimi-hook.js` are owned by Clawd** | Clawd auto-syncs Kimi hooks on every startup (and from `npm run install:kimi-hooks`). Any `[[hooks]]` block whose `command` references `kimi-hook.js` is treated as Clawd-owned: all such blocks are removed and rewritten as the canonical 13 events with a `--permission-mode=` flag on the command (a mode chosen in a prior install — including via the retired `CLAWD_KIMI_PERMISSION_MODE=…` env-prefix form — is carried over when no env var is passed; new installs default to `suspect`). Non-hook sections in `config.toml` (e.g. `[server]`, `[mcp]`, `[[tools]]`) and any `[[hooks]]` block you wrote yourself without referencing `kimi-hook.js` are left untouched. Change permission-mode behavior via env vars (e.g. `CLAWD_KIMI_PERMISSION_MODE`) before re-running the installer instead of hand-editing the `command` field. | | **Legacy Kimi CLI: suspect heuristic can flash a false-alarm cue** | On legacy `~/.kimi` installs the permission cue defaults to the suspect heuristic (current kimi-cli emits no explicit permission fields, so the old explicit-only default never fired; queued approvals in one message each re-surface their own cue since the batched-approvals fix). The trade-off: a *pre-approved* gated command running longer than ~0.8s briefly shows a cue as if an approval were pending — the card auto-closes after a few seconds, and the pet keeps its notification pose until the tool finishes. Opt out persistently with `CLAWD_KIMI_PERMISSION_MODE=explicit` before re-running the installer, override temporarily with the same env var at kimi-cli runtime, or disable Kimi permission cues entirely in **Settings → AI Coding Tools**. Also note: with the legacy event vocabulary the *next* queued approval's cue re-arms only after the previous tool's `PostToolUse`, so a long-running first tool delays the second cue (late but correct). | | **opencode: child sessions are background-only** | When opencode emits `session.created` with `event.properties.info.parentID`, Clawd treats that child/subtask as headless background work owned by the root session. It is hidden from HUD/focus surfaces and does not contribute to multi-session fanout animations. | | **opencode: terminal focus limited to spawning terminal** | The plugin runs in-process with opencode, so `source_pid` points to the terminal that launched opencode. Existing Jump to terminal still cannot identify an attach client. On Windows, local v1 `opencode serve` root sessions with a loopback listener additionally offer a separate [Open in new terminal](opencode-serve-attach.md) action. Ordinary TUI, v2, WSL/Remote SSH, and other platforms do not offer that action. | | **opencode: old / hand-modified workaround copies need an exact manual replacement** | Clawd now registers a user-writable managed generation under `~/.clawd/integrations/opencode-family/opencode/` instead of the packaged `app.asar.unpacked` path. A pre-existing absolute plugin entry that is stale, an exact old Clawd source path, a verified byte-identical copy, or a single missing legacy path is migrated automatically by **Repair**. A copy that has Clawd identity evidence but does not match any known generation (a hand-edited workaround) is never taken over silently: Doctor reports **needs-review** with the exact config file, array index and literal plus the manual replacement step, and offers no Fix. | | **opencode: two live Clawd source owners in one home conflict** | The managed target records its owning source root and marker. If a development checkout and a packaged app share the same home, the second source sees `owner-conflict` and does not flip the config back and forth. Uninstall from the owning source (which releases the record), or confirm the recorded source marker is gone, then run Repair. | | **opencode: managed files can remain after uninstall** | Uninstall commits once the active config registration is removed; a generation file that cannot be deleted (locked by a running host) is atomically moved out of its canonical hash slot, produces a warning, and no longer loads state or permission events. A later Install can materialize a clean generation without overwriting the residual. Older half-deleted canonical residuals are recoverable only when the released owner history proves the exact path and no active Clawd entry remains; unproven or active corrupt generations still require manual review. A plugin copy left behind after Clawd is deleted goes inert on its next load: no bridge, PID walk, log write or event handler. | | **opencode v2: terminal focus degraded; no per-terminal session ownership** | On opencode 2.x the plugin runs inside opencode's shared background service, not the TUI process. The plugin therefore sends no `source_pid`/process-tree fields (wrong values are worse than omitted), so terminal focus for v2 sessions degrades, and "Always allow" decisions are remembered per session inside the service (no host persistence API) — they reset when the service restarts. Install/Repair/updates need `opencode service restart` to load. Non-interactive `opencode run` auto-rejects some native asks (e.g. `external_directory`) on its own; that is upstream behavior, not Clawd. | | **MiMo Code: child sessions are background-only** | MiMo Code shares the same `@mimo-ai/plugin` SDK as opencode. When MiMo Code emits `session.created` with `event.properties.info.parentID`, Clawd treats that child/subtask as headless background work owned by the root session. It is hidden from HUD/focus surfaces and does not contribute to multi-session fanout animations. | | **MiMo Code: terminal focus limited to spawning terminal** | The plugin runs in-process with MiMo Code, so `source_pid` points to the terminal that launched MiMo Code. If you attach from a different window, terminal focus jumps to the original launcher. | | **Orca: terminal focus is not supported on Linux** | Orca hosts its terminals in a detached `orca-terminal-daemon` whose own parent has already exited, so `Orca.exe` never appears in the agent's process tree and no window title carries the project path — neither of Clawd's usual strategies can find it. Focus instead uses `ORCA_PANE_KEY` from the environment plus Orca's own CLI (`orca terminal switch`), and requires the `orca` CLI: `PATH` first, then `%LOCALAPPDATA%\Programs\orca` on Windows and `/usr/local/bin/orca` or `~/.local/bin/orca` on macOS, because an app launched from Finder inherits none of the shell's `PATH`. Windows raises the window from the focus script; macOS activates the `Orca.app` bundle by absolute path (`/Applications` then `~/Applications`) after the pane switch succeeds, and reports `orca-app-not-found` if it is installed anywhere else. **Linux is unsupported**: the only by-name handle is WM_CLASS `orca`, which is a substring match that also hits GNOME's Orca screen reader and OrcaSlicer, so a miss would activate an unrelated window and report success. There, an Orca-hosted session falls back to the normal process-tree behavior, which cannot resolve the daemon. | | **Orca: a terminal that advertises nothing can be mistaken for the pane** | The pane key is trusted only when Orca is the innermost terminal, which is decided from environment markers (`WT_SESSION`, `ConEmuPID`, `KONSOLE_VERSION`, the multiplexers `TMUX` / `STY` / `ZELLIJ`, and others). A terminal that sets no marker of its own — a bare `conhost` or `pwsh` window — started *from* an Orca pane inherits `TERM_PROGRAM=Orca` and the pane key, so Clawd raises Orca and reports a successful focus while the window the agent really lives in is never found. | | **Orca on Windows: the first focus of a session can land on the wrong tab** | The window raise runs inside the generated focus script and is immediate, but the pane switch needs an `orca` CLI round-trip, and the first focus for a session pays a cold `terminal list` before its `terminal switch`. A cold CLI has been measured exceeding the 6 s timeout: the call is then killed (`orca-cli-timeout` in `focus-debug.log`) with Orca already in front, showing whichever tab was last active, and no switch happens at all. Clicking again works — the second attempt meets a warm CLI, and once the handle is cached the steady state is ~0.5 s. | | **Orca on macOS: nothing comes forward when the pane is gone** | The generic macOS raise is suppressed for an Orca-hosted session, because it derives its target from the daemon's process path and would activate `Orca.app` before the pane switch has said which tab — or whether the pane still exists. `open` also *launches* Orca, and the terminal daemon outlives its window, so a session whose window has been closed would cold-start the IDE on a click. The pane switch therefore owns the raise, and if it fails nothing is activated at all: clicking the pet appears to do nothing, with the reason recorded in `focus-debug.log`. | | **Orca: two or more Orca windows cannot be told apart** | The entire window title is `Orca`, with no project path to match on, so with more than one window open Clawd refuses to guess and raises nothing (`orca-window-ambiguous` in `focus-debug.log`). The tab switch still runs, so the correct pane comes forward inside a window that stays behind. Use a single Orca window for reliable click-to-focus. | | **Orca on macOS: CLI lookup includes Homebrew and the app bundle** | In addition to `PATH`, `/usr/local/bin/orca`, and `~/.local/bin/orca`, Clawd checks Apple Silicon Homebrew at `/opt/homebrew/bin/orca` and the CLI bundled under `/Applications/Orca.app` or `~/Applications/Orca.app`. This is required for Finder-launched Clawd instances whose inherited `PATH` omits Homebrew. | | **Orca over Remote SSH: pane focus only** | When Orca forwards a valid `ORCA_PANE_KEY` into its managed SSH PTY, Clawd accepts it only from hooks carrying both secure Remote SSH markers (`CLAWD_REMOTE=1` and `CLAWD_SSH_REMOTE=1`). Dashboard clicks and permission-card terminal jumps can then request the originating local Orca pane on Windows/macOS without treating the remote process PID as local; the Session HUD remains local-only. Clawd can obtain only the Orca CLI acknowledgement, not proof that the visible UI switched. In an Orca 1.4.161 same-machine Remote SSH loopback test, the CLI returned success but the visible UI did not switch to the remote worktree, so Remote SSH visual switching is not fully verified. Other remote terminals remain unfocusable, Linux remains unsupported, and Telegram Direct Send remains limited to local sessions. | | **herdr: pane switch needs a herdr server on 0.9.1 or later** | Clawd switches the pane with `herdr agent focus ` (CLI looked up on `PATH`, `/opt/homebrew/bin`, `/usr/local/bin`, `~/.cargo/bin`, `~/.local/bin`; `HERDR_BIN_PATH` is never used) and raises the terminal that hosts the `herdr` client, walking up from the client process when the server is detached. This was verified on macOS with Ghostty and herdr 0.9.3 (#1139). A herdr 0.9.0 server moves its own focus but leaves the attached client's view where it was (a herdr regression fixed in 0.9.1), while `focus-debug.log` still reports `branch=herdr reason=herdr-pane-focused`. After upgrading herdr, restart the server: `herdr status` shows `server_binary_stale: yes` until you do. Ghostty is raised as an app, not as a specific window: Ghostty 1.3.1's AppleScript exposes no tty or pid to match, and a herdr window's working directory is where herdr started rather than the session's, so with several Ghostty windows the one that comes forward may not be the herdr window. A Codex session in a herdr pane whose server was started from a Codex Desktop shell inherits the Desktop originator (`CODEX_INTERNAL_ORIGINATOR_OVERRIDE`): the Dashboard still labels it Codex Desktop, but the click goes to the herdr pane and its terminal instead of the Codex Desktop deep link. | | **herdr: several attached clients can only raise the app** | herdr has no command that says which client shows a pane. With several herdr clients in the same terminal app, Clawd brings that app forward without choosing a window; with clients in different terminal apps it raises nothing. Remote SSH and WSL sessions never carry the pane id, because the local `herdr` CLI cannot reach a remote server. A permission bubble switches the pane only when its session is already known, and the hook-less integrations (opencode, Pi, Hermes) do not send the pane yet. | | **Pi: state-only integration** | Clawd observes Pi interactive-session lifecycle and tool events through a global extension, but does not intercept permissions or add confirmation prompts. Pi keeps its default YOLO execution behavior. | | **Pi: session reload may briefly flicker** | Pi emits `session_shutdown` during reload/session replacement, then `session_start` for the new runtime. Clawd may briefly remove and recreate the Pi session. | | **OMP: state-only integration** | Clawd observes OMP interactive-session lifecycle and tool events through a per-agent extension, but does not intercept permissions or add confirmation prompts. OMP keeps its own execution behavior. Completion is recorded at the main-session `session_stop` and committed only by the following `agent_end` when `willContinue !== true`, so another extension's hidden continuation is not announced as finished. | | **OMP: only one agent directory is managed** | OMP loads extensions from the **active** agent directory: `~/.omp/agent` by default, `~/.omp/profiles//agent` when `OMP_PROFILE` / `PI_PROFILE` is set, `PI_CONFIG_DIR` moves the config root, and `PI_CODING_AGENT_DIR` relocates the profile-less default. Clawd mirrors OMP's process-environment profile semantics (including the `default` sentinel and inherited profile-dir guard) and installs into the single directory it resolves for its own environment. OMP can also load directory overrides from home/config/agent/project `.env` files; project `.env` varies by working directory, so one static Clawd install cannot follow every such override. Run `node hooks/omp-install.js` in the target OMP environment when needed. Doctor names other on-disk default/named profiles rather than reporting unconditional coverage. | | **OMP: the community bridge is mutually exclusive** | The `clawd-on-desk-omp` bridge registers the same lifecycle events through Clawd's custom-application channel. If `~/.omp/agent/extensions/clawd-on-desk-omp.ts` exists, Clawd's own extension installer refuses to install alongside it and removes only a copy it verifiably wrote itself, because OMP would otherwise load both and report every event twice. Remove the bridge first if you would rather have Clawd manage the integration. | | **OpenClaw: state-only local TUI support** | Phase 1 observes OpenClaw plugin lifecycle/tool events for `openclaw tui --local`. It does not provide permission bubbles or terminal focus, and gateway/daemon/messaging deployments may not anchor to a local terminal window. | | **OpenClaw: JSON5 config is not edited at startup** | OpenClaw accepts JSON5 and include-based config. Clawd startup sync edits only an existing strict JSON `~/.openclaw/openclaw.json`; JSON5/include configs are skipped unless you run the manual installer so OpenClaw's CLI can own the write. | | **OpenClaw on Windows: native codex relay may fail** | If OpenClaw stalls or reports an unsafe native hook relay bridge when using its native `agentRuntime: codex` path, switch OpenClaw to an OpenAI-compatible model/provider such as `openai-codex/gpt-5.5`. This is OpenClaw-side behavior; Clawd only observes plugin state events and cannot repair the relay. | | **CodeWhale: global session id cache** | Phase 1 keeps the last CodeWhale session id in a single file under `os.tmpdir()`. Running multiple CodeWhale instances concurrently can overwrite or clear that cache across instances, which may cross-wire state updates or create duplicate HUD labels. | | **Qoder / Qoder CN: state-only integration** | Hooks use `~/.qoder/settings.json` / `~/.qoder-cn/settings.json` (or each edition's config-directory override). `PermissionRequest` / `PermissionDenied` remain passive notifications; the hook always returns `{}` and leaves permission decisions to Qoder. Startup recovery watches only CLI names (`qodercli` / `qoder-cli` / `qoderclicn`), never an idle desktop app. Windows CN worker runtime 1.1.69 emitted real SessionStart / UserPromptSubmit / Stop hooks on 2026-10-18; the user confirmed task status display after enabling Qoder in Clawd. macOS/Linux CN and the separate QoderWork IDE remain unverified. | | **TraeCode (Trae CN): experimental, state-only** | Phase 1 observes Trae CN hook events via `~/.trae-cn/hooks.json`. Hooks must be enabled manually in the Trae IDE (Settings → Hooks → Enable, run mode: Sandbox) — there is no programmatic bypass. The hook's stdout is always `{}`; Clawd registers no `/permission` endpoint and produces no Allow / Deny, so every approval stays in Trae's native flow. Trae has no `SessionEnd`, so closed conversations retire via the desktop idle-timeout cleanup (`traecode-desktop-idle-timeout`) rather than an end event. This first release covers Trae CN only — the international Trae build (`~/.trae/hooks.json`) is not supported. | | **MiniMax Code: experimental, state-only** | Phase 1 observes MiniMax Code hook events through the Clawd-owned local plugin at `/plugins/clawd-state/`. Real-machine smoke passed on macOS and Windows with both the desktop app and the `mcode` CLI: the app auto-discovers the plugin directory, so no manual enable step is needed (if a future app version stops auto-loading it, run `mcode plugin enable clawd-state@local` or enable the plugin in the app's plugin panel — the enable state lives inside the app and cannot be read from disk, so Doctor can only verify the plugin files and remind you of that step). `PermissionRequest` is deliberately not registered: MiniMax's plugin-hook runner caps every handler at 1–10 seconds (SessionEnd events share a 3-second budget), which makes a blocking human-approval round trip impossible, so every approval stays in MiniMax's native flow and the hook's stdout is always `{}`. MiniMax reports subagent events on the parent session, so parallel subagents share one juggling lane and the animation can end when the first one finishes. Clawd finds the data directory through `MINIMAX_DATA_DIR`, `MAVIS_DATA_DIR`, or `~/.minimax`; an `mcode` launched with `--profile` or `--data-dir` uses a directory Clawd cannot see. Session cleanup after the app or CLI exits relies on recognizing the MiniMax process (the desktop app's main process, or the CLI's `minimax-code` process title); that was verified on macOS only, and on Windows the app's helper processes share its executable name, so a restarted helper can end a desktop session row early. Staging and removal folders live in the MiniMax data directory (outside `plugins/`); a crash during install or uninstall, or a delete that fails after the plugin was moved out, can leave a `.clawd-minimax-staging-*` / `.clawd-minimax-removing-*` folder that MiniMax does not load and Clawd does not clean up automatically, so delete it by hand — Settings does not yet display the uninstall warning that names such a folder. With two Clawd instances running (for example a development build next to the app), an install by one right after the other's uninstall can leave the plugin installed while Settings shows it as not installed. Recognizing the CLI by its command line is a heuristic: a node script under a folder named `@minimax-ai/code` or `.minimax-code`, or an executable named `mcode`, is taken to be the MiniMax CLI. `plugins/` and the data directory must be on the same filesystem — a cross-device rename makes Install and Uninstall fail. An empty `clawd-state/` is treated as unclaimed and Install replaces it, while a non-empty foreign directory blocks Install until you remove or rename it; a recorded Node path is kept only after a bounded `node --version` probe actually succeeds. | | **Grok Build: Phase 1 local state-only, Windows unverified** | Clawd observes Grok Build main-session hook events via `/hooks/clawd-on-desk.json`. The hook always emits `{}` and never registers `/permission`, so every Allow / Deny stays in the Grok TUI. Subagent events are ignored; there is no session title, terminal focus, quota/context, WSL, Remote SSH, or startup recovery. Ownership is the structured `env` marker `CLAWD_GROK_HOOK=v1`; a pre-existing file without it is left byte-for-byte untouched, and the unshipped PR-preview path `~/.grok/hooks/clawd.json` only produces a warning. Phase 1's Windows claim is limited to Grok's normal auto-detected PowerShell path with a packaged path containing spaces; `GROK_SHELL=cmd` and Git Bash overrides are explicitly unsupported and unverified, and install paths containing `$`, backticks or other cross-shell expansion characters remain a portable-wrapper limitation. A real Grok runtime smoke (state/lifecycle, permissions ownership, offline/disabled Clawd) is still pending. | | **Windows: Claude hooks shared with Grok or Cursor** | When Grok Build is installed, Claude Code hooks keep using PowerShell, so their speed is unchanged. If you install Grok Build while Clawd is running, restart Clawd to switch back to PowerShell; until then, each Grok hook event leaves a failure entry. Claude hooks imported into Cursor no longer report events; enable the Cursor integration in Clawd to track Cursor. | | **Windows Terminal: tab focus is limited** | Windows Terminal exposes one host window/process for multiple tabs, so Clawd cannot reliably activate a specific tab. HUD/Dashboard focus works best with separate classic `cmd.exe`/PowerShell windows, or with separate Windows Terminal windows whose title contains the project folder name. On Windows 11, `cmd.exe` and PowerShell may be hosted by Windows Terminal unless the default terminal application is set to Windows Console Host. **v0.12.0 and earlier only**: when Windows Terminal is the OS default terminal app, every prompt submission also briefly flashed a console window (#627) — WT's console delegation doesn't always honor `CREATE_NO_WINDOW` on the hook's PowerShell snapshot, and switching the default terminal app to Windows Console Host was the workaround for that too. **v0.13.0** samples the foreground window from Clawd's own process instead (no subprocess spawn on that path), so the flash is fixed and this workaround is no longer needed there. | | **Windows: hook process metadata needs Clawd running** | Terminal focus and session PIDs come from a process-tree lookup that the hook only performs while Clawd is actually running. From **v0.13.0**, after you quit Clawd, a leftover CLI hook no longer inspects the process tree at all — it posts what it has and stops. The visible effect is that a session started while Clawd was closed has no click-to-focus target until its next event with Clawd running; a session Clawd already knows keeps the PID it learned. The same applies for a few seconds after Clawd is force-killed, and whenever `~/.clawd/runtime.json` is unreadable (Doctor → Local server warns). Until you restart Clawd once on v0.13.0, the pre-v0.13.0 `runtime.json` has no owner field, so hooks treat Clawd as offline and omit this metadata — a single restart fixes it. | | **Windows: some agents still run a PowerShell process lookup while Clawd is online** | The lookup above is still a hidden PowerShell that reads the process list, and security software may flag it. **v0.13.0** removes it when Clawd is not running, and no longer stores the agent's command line in the temporary cache (only a `headless` yes/no). The online path is unchanged for now — tracked in [#681](https://github.com/rullerzhou-afk/clawd-on-desk/issues/681), [#627](https://github.com/rullerzhou-afk/clawd-on-desk/issues/627) and [#634](https://github.com/rullerzhou-afk/clawd-on-desk/issues/634). | | **macOS packaged auto-update needs a one-time bridge install** | Builds from before the macOS in-app updater contain no ZIP update payload and cannot update themselves. Existing users must manually install the first signed bridge DMG once. After that, later signed/notarized releases can be downloaded in Clawd and installed with **Restart Now**, or after choosing **Later** and quitting/reopening the app. Homebrew cask installs can skip that path and update with `brew upgrade --cask clawd-on-desk`. Unit and package checks do not replace a real signed A→B device upgrade; any platform not yet covered by that matrix must stay marked pending in release evidence. | | **Linux updates depend on install format** | AppImage retains in-app updates. `.deb` uses an optional [APT source with one-time setup](apt-setup.md); quit Clawd before upgrading. Release notifications may precede APT publication. The app does not run a privileged deb installer or enable unattended upgrades. Manual deb downloads, Homebrew upgrades, and source Git updates remain available. | | **AppImage needs temporary runtime space** | Each FUSE launch copies the unpacked app to a private directory under `TMPDIR` (or `/tmp`) so an early unmount cannot remove code needed during shutdown. This adds startup I/O and requires enough free space for the unpacked app on a non-FUSE filesystem that permits execution; on tmpfs this consumes memory, and an automatic XWayland relaunch can briefly need two copies. If the temporary filesystem is too small or mounted `noexec`, use `TMPDIR` to select another writable, executable, non-FUSE location, or run a manually extracted AppDir. Normal shutdown removes the copy; force-killing the supervisor or a lingering child can leave it for the system's temporary-file cleanup policy. The supervisor forwards termination to Electron without escalating to a forced kill. Manually extracted AppDirs do not need this additional copy. If a shell starts the AppImage in the background with job control off and does not reset SIGINT first, the supervisor inherits an ignored SIGINT, so SIGINT sent to the launch PID cannot be forwarded; send SIGTERM to that PID instead. | | **Linux/Wayland: limited dragging & cursor tracking** | Native Wayland forbids client-side window positioning and global cursor queries, so under a Wayland session the pet spawns centered, can't be dragged, and has no mouse tracking. On a Wayland session with an X server available, Clawd relaunches itself once under XWayland (`--ozone-platform=x11`) — Electron fixes the Ozone backend in C++ before any app code runs, so an in-process switch is too late — which restores window positioning and dragging; cursor tracking is then limited to the pet's own surfaces. Full-screen cursor tracking is **not** achievable under Wayland for an ordinary app — use a native X11 (Xorg) login session for that. `CLAWD_OZONE_PLATFORM` controls the automatic relaunch: `x11` forces the XWayland relaunch, `wayland`/`auto` keep the native-Wayland default; an explicit `--ozone-platform=…` you pass on the command line is always honored as-is. See [#441](https://github.com/rullerzhou-afk/clawd-on-desk/issues/441). | | **No test framework for Electron** | Unit tests cover agents and log polling, but the Electron main process (state machine, windows, tray) has no automated tests. | | **Claude Code (historical): tools rejected when Clawd is offline** | This was confirmed on Claude Code 2.1.100: with Clawd's HTTP server not running, the registered `PermissionRequest` hook failed with `ECONNREFUSED` and Claude Code denied the tool call instead of falling through to its built-in prompt. Upstream confirmed the fix landed in v2.1.113 ([anthropics/claude-code#46193](https://github.com/anthropics/claude-code/issues/46193), closed as Completed) and the reporter re-verified on v2.1.274. The complete affected version range was not verified version-by-version, so on an older build where this reproduces, upgrade Claude Code or keep Clawd running. Clawd does not change its permission-hook policy for this resolved issue. | | **Claude Code + CC Switch: protected auto-repair pause** | Clawd normally re-registers Claude hooks when another tool rewrites `~/.claude/settings.json`. If the file suddenly shrinks enough to look unsafe, Clawd pauses automatic repair to avoid preserving a partially rewritten config and Doctor reports Claude Code as needing Fix. Use **Settings -> Doctor -> Fix**, restart Clawd, or re-enable automatic Claude hook management to repair. CC Switch's Shared Config Snippet can carry Clawd hooks on the same machine, but those hooks include local paths and ports, so do not treat them as a cross-device snippet. | ## Codex approval routing Settings → AI Coding Tools → Codex explains the default approval handling in its Approvals group. Codex keeps what it can handle itself, and local requests that need you appear in Clawd. On a remote machine, Clawd approves requests the Permission request handling setting can allow immediately. The rest return to Codex on that machine, with a heads-up in Clawd. This default behavior is called **Auto** below. To explicitly hand approvals to Clawd first (**Intercept** below), turn on **Advanced → Send every approval to Clawd**. This can block Codex's Approve for me. Bubble switches and Permission request handling still apply. Switching mid-chat may leave pending prompts in Codex. A new chat picks it up. Permissions & approval → On this machine → per tool keeps a Codex summary and a Change button that opens the Codex card, scrolls to the advanced switch, and focuses it. That per-tool block only appears once Codex is installed. Upgrading from an earlier version moves Codex to Auto once, whether the stored value was Intercept or Native, because earlier versions saved the old Intercept default to disk and an explicit choice cannot be told apart from it. Turn on Send every approval to Clawd after upgrading to keep Intercept; that choice is preserved from then on. Auto uses a bounded read of the exact local hook transcript and matching session/turn to identify human-reviewed Bash/file approval. Automatic reviewers and uncertain evidence immediately return no-decision, never Allow/Deny. The public Codex hook contract does not expose an effective request reviewer (#23465). Local MCP/app requests can override turn settings, so they stay in Codex. Missing/old/unreadable transcripts, partial records, mode changes after the snapshot, long turns whose context falls outside the read budget, and remote/WSL requests also stay in Codex. Auto does not promise that every manual request will appear in Clawd. One exception: when Clawd's global permission automation (Question prompts only / Auto-approve) would allow a Bash/file request immediately, Clawd answers it in Auto too, as Intercept did before Auto (#1186). For local requests, an automatic reviewer chosen in Codex keeps deciding. For remote/WSL requests, Clawd cannot read the remote transcript; when its global automation would immediately allow Bash/apply_patch, Clawd's answer overrides Codex's automatic reviewer. Requests the destructive-action reminder holds, session overrides, interactive subagents, local MCP/app requests and the remote `codex_apps` connector namespace still stay in Codex. **Changing modes within an active chat:** switching from Approve for me to Ask me / Always Ask may only append a `thread_settings_applied` event, without a fresh `turn_context` for the active request. Auto stops using the old snapshot when the applied approval reviewer or policy differs, or either field is missing; settings events that repeat both approval fields unchanged keep the snapshot. After a mode change, those approvals stay in Codex; no Clawd bubble is promised until fresh matching session/turn evidence is available. Start a new chat in the desired mode to re-check it. A fresh local human-review Bash request was verified to show a Clawd bubble and finish after Allow; local MCP/app, the remote `codex_apps` namespace and other uncertain requests still use Codex. **Remote MCP follows the same global automation:** when Codex is in Auto, a request is nonlocal, and global permission automation (Question prompts only / Auto-approve) would immediately allow it, Clawd claims an ordinary namespaced MCP tool too. This intentionally overrides an `approval_mode = "prompt"` set for that plugin on the remote Codex; the user's global automation is the authorization. The Codex `codex_apps` connector namespace is excluded and stays native, as do local MCP requests, session overrides, interactive subagents and held requests. The destructive-action reminder only scans shell/file commands, so it does not hold MCP calls. **Remote native fallback reminder:** when a Remote SSH Codex request is handed back to Codex's native prompt, Clawd shows a read-only reminder on the local desktop with the real tool name and input and only a **Got it** button. It cannot approve, deny, or be sent to Telegram/Feishu approval. It appears about 2.5 seconds after the fallback unless the request completes first, and merges to one card per session. Removal is best-effort: an exactly matching `PostToolUse`, a same-turn `Stop` / `Interrupt`, a new prompt that starts a new turn (retiring older-turn requests), or `SessionEnd` retires the card; events without a turn id do not remove it. The notification auto-close timer is the final fallback, so a native deny, network loss or crash that emits no follow-up event may leave the card until that timer fires. DND, notification bubbles off, global permission bubbles off, or the Codex permission sub-gate off suppress it entirely. A reviewer denial is not a user-input request. Clawd can show observed `request_user_input` questions through its existing reminder flow and clears only the matching call when answered; responses remain in Codex. The hook contract supplies no post-review human-approval callback or reply bridge, so Auto does not invent a second Allow/Deny surface after native review. #1062 remains the separate investigation of request-specific native-result synchronization.