Skip to content
Back to skills

Check Issue

ASecurity

Take one or more claude-desktop-extra GitHub bug reports from triage to a shipped fix - read, classify ours vs upstream, reproduce without touching the user's running app, spec with the maintainer, implement and review in parallel, verify live, commit, release, and close the loop with the reporter. Self-improving - every run ends by folding what it learned back into this file. Invoke as "/check-issue <issue numbers or URLs>".

  • 789 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentsjavascriptpythonrustgojavashellbashreactnodetesting

Works with

  • claude desktop
  • terminal
  • cli
  • api

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add patrickjaja/claude-desktop-extra --skill check-issue --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Check Issue?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Check Issue
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/patrickjaja-check-issue/badge)](https://www.skillsdirectory.com/skills/patrickjaja-check-issue)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: check-issue
description: Take one or more claude-desktop-extra GitHub bug reports from triage to a shipped fix - read, classify ours vs upstream, reproduce without touching the user's running app, spec with the maintainer, implement and review in parallel, verify live, commit, release, and close the loop with the reporter. Self-improving - every run ends by folding what it learned back into this file. Invoke as "/check-issue <issue numbers or URLs>".
disable-model-invocation: true
argument-hint: "<issue numbers or URLs>"
---

# Check issue - from bug report to shipped fix

Issues: **$ARGUMENTS**

Open issues right now: !`gh -R patrickjaja/claude-desktop-extra issue list --state open --limit 10 2>/dev/null || echo "(gh not ready)"`
Latest release: !`gh -R patrickjaja/claude-desktop-extra release list --limit 1 2>/dev/null || echo "(gh not ready)"`
Upstream version patches target: !`cat .upstream-version 2>/dev/null`

The main thread orchestrates. Investigation, implementation, review and live tests run in dispatched workers. Follow the global subagent tier rules: name the tier and the reason in every dispatch.

**Gates.** Ask before each of these, and treat each approval as covering only its own step:
- the spec
- building or installing (the maintainer does this themselves)
- commit and push
- the release
- every public issue comment

## Phase 1 - read everything

```bash
for n in <numbers>; do gh issue view $n --json title,author,createdAt,body; gh issue view $n --comments; done
```

- `--comments` shows only the comments, never the body. Always fetch the body separately with `--json body`.
- Pull any `--diagnose` gist the reporter linked with `gh gist view <id> --raw > <scratch>/gist<n>/diagnose.txt`. Then grep it for session type, compositor, scale, bridges and versions.
- Run `git fetch && git rev-list --left-right --count HEAD...origin/master` first. Other sessions push from their worktrees, so this checkout can be far behind while agent worktrees branch from origin: gates and a test build from a stale tree measure the wrong base (#331: 28 commits behind, found only when a worktree worker reported other counts). Fast-forward before any work.
- Compare the reporter's version with `.upstream-version` and the installed package (`pacman -Q claude-desktop-extra`). `tmp/` is reusable read-only only when `tmp/app.asar.contents/package.json` says the same version: its mtime lies (a fresh-looking `tmp/` held the previous release in #318). Otherwise re-extract before any probe or real-release harness section runs.

## Phase 2 - investigate in parallel (read-only)

Dispatch one worker per issue. A contained parsing or logic bug goes to `sonnet`. Coordinate math, renderer lifecycle, or minified-anchor work goes to `opus`.

Each brief carries:
- the issue text and the suspected file:line
- "READ-ONLY, no edits, no commits"
- a scratch dir per issue
- this question: **ours or upstream?**

**Ours or upstream:**
- Computer Use (`js/cu_*`, the bridges) is always ours, because upstream ships no Linux CU.
- For anything else:
  - Find upstream's code in the pristine bundle (`grep -a` across `tmp/app.asar.contents/.vite/build/index*.js`).
  - Confirm that our patches do not touch that path.
  - Search `anthropics/claude-code` issues for the same symptom.
- An upstream bug that only breaks on Linux is still ours to patch. It counts as a functional gap, not a cosmetic one.
- A refusal or a gate that one of our patches already touches: resolve the upstream predicate behind it and list ALL its consumers (export aliases, lazy requires, derived values) before calling it an upstream change. `scripts/check-predicate-consumers.py` on a patched tree does this (docs/census-gates.md); #323 was a call-site patch that covered 1 of 3 consumers. When the cause is a class of gap, dispatch a second read-only worker for the sibling audit in the same phase.

**Reproduce without the user's running app.** The user's Claude is in use: never signal its processes, and identify yours by your own `--user-data-dir`.
- **Renderer, main-process or Electron behaviour:** run on a private Xvfb display with `env -i` and a throwaway HOME, XDG_RUNTIME_DIR, CLAUDE_CONFIG_DIR and `--user-data-dir`. Use the installed binary or a scratch patched tree. A hung renderer is simulated with `SIGSTOP` on the main renderer.
- **A scratch 3P instance** (anything on `app://localhost`, managed/gateway deployments) needs no login and no `/etc`: a throwaway HOME where `<userData>-3p/configLibrary/_meta.json` applies an entry with `inferenceProvider: gateway` pointing at a stub HTTP server on 127.0.0.1, plus `deploymentMode: 3p` in `claude_desktop_config.json`; the launcher's `--user-data-dir` only identifies the pid. `main.log` must show upstream's `3P mode active`. Our IPC can be probed from an appended `index.js` probe that calls the Extra page's preload bridge. Crop screenshots to the Settings dialog: the account row shows `os.userInfo()`'s login name whatever `USER` says.
- **A logged-in scratch instance** (cloud session timing, anything that needs the account): copy `~/.config/Claude` minus logs, caches, vm_bundles, `bridge-state.json` and the SSH files (`claude-ssh-remote`, `ssh_configs.json`, `ssh-launch-preconnect.json`, `ssh-remote-server-state.json` and the SSH session records under `claude-code-sessions/`: a copy that keeps any of them warms up a connection to the maintainer's remote hosts at launch and replaces the claude-ssh server there; after launch the scratch instance's `logs/ssh.log` must stay empty, otherwise quit it at once) into a 0700 scratch dir and pass it as `--user-data-dir`; leave `CLAUDE_PROFILE` matching the copied profile (default unset, since SafeStorage keys libsecret decryption on the app name), give it a throwaway `XDG_DATA_HOME` and snapshot/restore `~/.config/google-chrome/NativeMessagingHosts/com.anthropic.claude_browser_extension.json` (login survives; it rewrites Chrome/XDG integration entries to point at the scratch binary), pass a short private `XDG_RUNTIME_DIR` (otherwise it unlinks the installed app's Quick Entry socket) and the real `DBUS_SESSION_BUS_ADDRESS`, and delete the copy afterwards. When testing a scratch `app.asar`, **copy** `/usr/lib/claude-desktop/claude` beside `resources/app.asar` (never symlink it, as `OnlyLoadAppFromAsar` resolves `/proc/self/exe`), and launch under `setsid` with `</dev/null >/dev/null 2>&1` when using `timeout` so `cowork-linux-helper` does not hold pipes open. `--remote-debugging-port` makes the app refuse to start; prepend/append a probe to the scratch asar's `index.pre.js`/`index.js` instead and attach via `app.on("web-contents-created")` (`claude.ai` renders inside a child `WebContentsView`, not the outer shell `BrowserWindow`'s `webContents`). Wait ~2-3 s after `did-finish-load` for Settings React hydration before calling `window.__cdbExtraOpen`, scroll `.cdbx-panel.scrollTop` directly rather than `el.scrollIntoView()` (which can shift outer flex wrappers and expose `Desktop app` Storage paths), and end local proxy/compositor capture runners with `process.exit(0)` so open handles do not hang. On Xvfb the CU overlay renders solid black, so the model never clicks anything: good for lock, turn-end and API timing, useless for click accuracy. Upstream re-shows the session page when the lock is released, so a 'page not mounted' run has to re-assert the home after that.
- **Wayland, wlroots or fractional scale:** use headless sway per `/test-native`, and run the bridge CLI directly against it. The Wayland socket path must stay under 108 bytes, so use a short `mktemp -d /tmp/xx.XXXX` runtime dir rather than the scratchpad.
- **GNOME portal (gnome-portal-bridge) without a VM:** headless nested GNOME on the host (`dbus-run-session -- gnome-shell --wayland --no-x11 --devkit --virtual-monitor WxH`, private XDG_RUNTIME_DIR, own xdg-desktop-portal + pipewire), with the consent dialog and "Stop sharing" driven over accessibility/Shell.Eval. Good for bridge-level session tests; it cannot host a logged-in Claude.
- **Keyring / `safeStorage` (any Secret Service provider):** a private `dbus-daemon --session`, a throwaway HOME and XDG dirs under `env -i`, the provider started directly as a child (never `systemctl --user`), and a copy of the bundled binary with a minimal probe `app.asar` beside it (the rest symlinked) that writes the `safeStorage` results to a file. Start the provider before any client, because the private bus still reads the host's activation files. oo7 deletes gnome-keyring's files after migrating them: the real HOME must never reach it, and the worker compares a listing of the real keyring directory before and after.
- **Upstream's Computer Use gates without a login:** cloud sessions run upstream's dispatcher against our executor, and a logged-out app can still run it. `scripts/tests/linux/test-cu-cloud-gates.mjs` does that in plain node with fake bridges per session row; for a real desktop, append a probe to a scratch copy of the build's `app.asar` (`.vite/build/index.js`) that requires the dispatcher chunk, builds the cloud context as the patched bundle does and uses `globalThis.__linuxExecutor` with the real bridge. Run the released build through the same probe first: it must reproduce the reporter's refusal text (#326, Ubuntu GNOME VM).
- **VMs:** allowed, but never start Cowork inside a VM. Install a build in a guest with its package manager (or an extracted tree under the user's home), never by copying onto `/usr`: a `cp -a` onto `/usr/share` changed its owner and broke sshd. Turn off the guest's idle lock before handing a VM to a worker (Omarchy: `omarchy-toggle-idle stay-awake`), and state the lock rule in EVERY VM brief: if the session is locked, try only `loginctl unlock-sessions`, otherwise stop and report (a worker whose brief lacked it set a temporary password to get past a lock). One worker owns a VM's display at a time; tell other sessions when it is free.

**Session types.** Upstream's Computer Use lock lives differently per session type: the Code tab and local Cowork release it after every turn, cloud Cowork only after an idle sweep or Stop. Anything of ours tied to the lock (bridge sessions, latches) must be checked against each type, and against the reporter's type from their first comment.

**Verify before presenting.** Page-side features (anything of ours that finds upstream controls in the claude.ai DOM) must be checked in BOTH Chat and a Code-tab session: the two surfaces render the same control with different testids, and the Code tab moves the newest reply's action bar outside its message element; a card in a screenshot can be a bystander, so reproduce without it too. Spot-check a worker's key upstream claim in the pristine bundle yourself before calling it the root cause; the maintainer will ask whether it was audited, and whether there is an event to hook instead of a timer. When a report says one of our hooks never fired, check first whether the hook logs on entry: a silent early return (#293 `__cuTaskBoundary`) makes 'never arrived' and 'arrived too late' look the same. Reading the remote claude.ai SPA can be done offline from `~/.config/Claude/Cache/Cache_Data/*_0` (Chromium SimpleCache stream 1 after the key and before the EOF magic, Brotli or Zstandard compressed), or via the Chrome worker using `fetch()` in javascript_tool from the page origin (host curl gets 403; swap `= & ; ?` if its output filter blocks raw minified code).

**Fallback paths.** When a backend has a fallback path, check which path the reporter's data came from before blaming the primary one. In #298 the bridge was correct and the Electron fallback was not. For a blank or grey image, first find out which layer painted it (the mask colour, or the capture) and reproduce without the reporter's hardware before blaming it: in #329 the mask did it and NVIDIA was not involved.

## Phase 3 - spec, with the maintainer

Load `agent-skills:spec-driven-development`. Write `.agent/SPEC-<slug>.md`. The `.agent/` dir is gitignored, so never commit it or mention it in tracked docs. The spec contains:
- **Capability map:** one module per issue, plus its dependencies.
- **Ours vs upstream table:** one row per issue, with the evidence.
- **Per-module design.**
- **A "Linux compatibility" section.** Check it against every row of the `/linux` matrix. No hard dependency on one distro's or one desktop's tools: optional tools are probed with `_hasCmd`, and the common path needs none of them. Name the Debian, AppImage and NixOS gaps explicitly.
- **Commands, testing strategy, boundaries and success criteria.**
- **A "Rulings during implementation" section,** appended as decisions are made.

Ask the real design forks with AskUserQuestion: one question per fork, with the recommended option first. Before proposing a default, ask whether an existing user's behaviour changes on update: if it does, the recommended option is a community switch that is off by default, with the upstream path untouched when off (the maintainer corrected two 'on by default' proposals in #323). Approval of the spec covers "break into tasks and dispatch". Save the plan and the ledger to `.agent/tasks/plan-<slug>.md` and `.agent/tasks/todo-<slug>.md`. When a bridge and the executor are built in parallel, fix the contract between them in the spec first (field names, types, null versus absent, which mode emits what), and prove an uncertain approach with a scratch prototype on the real compositor before asking the fork.

## Phase 4 - implement in parallel

**File ownership:**
- Two tasks that edit the same file each get their own worktree, or else run in sequence. A reviewer of a finished task whose files the next task is already editing gets a snapshot (`git diff` plus a tar of the untracked files) and builds a private clone from it. A worktree task leaves its diff uncommitted. The orchestrator then runs `git apply --check` and `git apply` on the main tree (`-3` fails on a dirty index) and copies over any untracked files. A subagent can only write inside its own worktree, so later fix rounds cannot happen in a separate integration worktree: copy the integration-owned files into the worktree of the implementer that keeps fixing, and commit from there (`git push origin HEAD:master`).
- Implementers never touch `CHANGELOG.md`, `docs/`, `README.md`, or `EXPECTED_TEST_HARNESSES` in `scripts/run-feature-tests.sh`. The integration task owns those, so parallel edits cannot conflict. New harnesses run with plain `node <file>` until the count is bumped.

**Rules every brief must state:**
- No `build-*.sh`, no package build, no install, no commit.
- `make` does not track `js/`. After a JS edit, `touch` the embedding `.nim` file before `make`.
- Patch work follows AGENTS.md strictness: every sub-patch must apply, idempotency checks positive end state, `[\w$]+` anchors.
- A new harness must fail against the old code. Ask for the before/after count.
- A hook on an upstream event logs one line on entry, before any early return, so an empty grep later means the event never arrived.
- A harness that runs the compiled patch is only valid after `make` ran AFTER the last `js/` edit (the binary embeds the JS); reviewers rebuild in a scratch copy before trusting counts.
- A harness must fire the trigger upstream really uses. If it only calls our own injected hook (e.g. the CU lock hook), it misses upstream paths that bypass that hook: #300 passed ~400 harness cases and a private-display rig, then failed in the first real Code-tab turn.
- Live checks run on scratch trees only.
- Scratch budget: `/tmp` is a 16 GB tmpfs. A worker keeps its scratch under 2 GB and deletes it when done (one reviewer's 11 GB repo copy filled the disk and put a "Low disk space" toast into the after screenshots).
- A runtime global that one patch defines and others consume (`globalThis.__cdbX`) gets its idempotency marker from the DEFINING line (`globalThis.__cdbX = Object.freeze(`), never the bare name: consumers injected earlier in basename order mention the name, and a bare-name marker reads as a partial injection on a pristine build.
- Patches running before `fix_host_tool_paths_linux` must use `globalThis.__cdbToolPath.which(...)` without literal `/usr/bin/<tool>` strings; Chromium DOM harnesses hitting an in-process `http.createServer` must spawn Chromium asynchronously instead of synchronous `execFileSync` (event-loop deadlock).

**Reviews:**
- Every task gets an independent per-task review.
- Feed the findings back to the same implementer through SendMessage, so it keeps its context.
- A change to what an executor answers to upstream (front app, hit test, capabilities, result shapes) is reviewed for fail-open states by name: cold caches, a bridge status call that fails or times out, an answer that changes between the gate and the delivery. In #326 two review rounds each found a gate that opened on "unknown"; unknown must refuse. A test-only env override or debug switch is attack surface too: a bad value must fail closed (#329: a typo made the bridge's doctor answer "cannot mask"). A text that tells the model what a tool will do is checked live on the reporter's desktop (#329: `open_application` does not switch workspace on Hyprland).
- Do not re-review small verified fixes. A fix round that rewrites whole files is not small: name those files in the final review's brief.
- Compositor or desktop-service code written from documentation (Hyprland IPC, kglobalaccel) is not done until it ran on the real thing: schedule the VM run right after the task's review, before integration. In #323 it found a compositor crash and a keymap defect that mocks and reviews had passed.
- A new shared crate is a path dependency until its repo exists: bridge CI, and the local build's container build of the dynamic bridges, cannot see `../<crate>`. Tell the maintainer early that a new GitHub repo is needed.

## Phase 5 - integrate and gate

The integration worker (sonnet):
- bumps `EXPECTED_TEST_HARNESSES` by the number of new harness files
- updates `docs/patches.md` rows and feature docs only where they are now wrong
- writes one `## <today>` CHANGELOG section, as solutions not history, without blaming our patches and without naming contributors in prose
- runs the full local gate, one heavy job at a time, with bundle copies off `/tmp` when VMs or other sessions are running (tmpfs counts as RAM; a suite was killed for low memory):

```bash
touch patches/linux/<embedding>.nim && (cd patches && make -j"$(nproc)")
python3 scripts/check-upstream-absorbed.py tmp/app.asar.contents tmp/extract/usr/lib/claude-desktop/resources/ion-dist.asar
bash scripts/check-patch-sibling-noop.sh
nph --check $(git diff --name-only HEAD -- 'patches/*.nim'; git ls-files --others --exclude-standard 'patches/*.nim')   # the pre-commit hook rejects unformatted patches; later fix rounds unformat them
bash scripts/run-feature-tests.sh linux   # plus core and community; run without args when changing Extra Settings nav order
python3 scripts/apply_patches.py patches <stage_dir>   # stage_dir holds app.asar.contents/ + resources/ion-dist/ (from ion-dist.asar)
# then: node --check on every patched chunk
```

**Final review.** One review covers the whole change across all repos. Run it on `fable` when 2+ of these hold, and on `opus` otherwise:
- the change carries risk-bearing semantics
- tasks shared files
- a ruling changed a design decision
- the change is over 500 non-test lines

A worker that ends without a report (the notification says none was delivered) is asked for it with SendMessage; never re-dispatch the work.

Other sessions push to master meanwhile: agree the landing order with them early, `git fetch` before every gate, and expect a semantic rebase (read their diff, keep both sides' harnesses green) with a short live re-run after it. Weigh each finding against the live evidence. A reviewer's mechanism claim can be contradicted by a measured run, as finding 1 of the #299 review was. Record accepted findings as rulings in the spec.

## Phase 6 - ship

1. **Local build and live check BEFORE committing** (the maintainer usually wants to test first):
   - `build-local.sh` bundles pre-built bridges from `../computer-use/<bridge>/target/x86_64-unknown-linux-musl/release/` when present, without checking freshness. Rebuild them (`cargo build --release --target x86_64-unknown-linux-musl`) after any bridge change, and verify the sha inside the package.
   - `build-local.sh` fetches the LATEST upstream `.deb`. Check for an open "New Claude Desktop v... detected" issue first; when upstream has moved, pin the test build with `--deb tmp/claude-desktop_<version>_amd64.deb`, and tell the maintainer that the release is blocked until `/update` (which needs a clean tree, so the fix is committed first).
   - A package built inside a git worktree bundles NO bridges unless `../computer-use` resolves from the worktree (symlink it); check that all four bridges are in the built package, and which commits their binaries come from (a local build takes whatever is in each bridge checkout's `target/`, pushed or not).
   - Several sessions may share the host: announce an install to the other sessions first, and never test against `/usr/lib/claude-desktop` while another session can reinstall. Run live checks from an extracted copy of the package instead.
   - Give the install command only after the package exists, with the exact file name and its build time, never a `build/*.pkg.tar.zst` glob ahead of the build: a stale package from an earlier build was installed that way.
   - Build only when the maintainer asks; they install (`sudo pacman -U ...`). Check that the running app started after the install before testing.
   - Run the Xvfb repro against `/usr/lib/claude-desktop/claude` in a worker.
   - Exercise Computer Use in a real **Code tab session**. A plain chat never gets `computer_*` tools on Linux, and its "computer use is off" answer is misleading. When the maintainer authorizes it (e.g. while AFK), a worker may drive the real logged-in app with the bundled x11-bridge: back up and restore the settings files, kill only its own processes, never signal Claude, and use a virtual display for anything it starts.
     - Start the app detached (`setsid -f claude-desktop`), never under `timeout` or any wrapper that signals it. Make the maintainer restart the app after every reinstall (a running instance keeps the old asar). Before the first Code-tab turn, expect a "Sign in again" dialog after a long idle; ask the maintainer to log in, do not retry.
     - Multi-monitor, display names and compositor-vs-toolkit string differences (window titles, app ids) only show up live; the harness cannot. Plan one rebuild round for what the live run finds.
     - Bridge-level VM runs (KDE, Hyprland) need no login and are worth it when a backend's coordinate math has only run on a private bus. Run them in parallel with the host test.
   - Read `~/.config/Claude/logs/claude-patches.log` afterwards to confirm the exact argv or path.
2. **Bridge repos first.** That covers `patrickjaja/{wlroots,x11,gnome,kwin-portal}-bridge` (local checkouts usually sit next to this repo, e.g. `../computer-use/<bridge>`). CI fetches bridge HEAD from GitHub, so push the bridges before the main repo. A new shared crate goes first of all: bridges can only pin its git rev after it is pushed. When a push is blocked as an external write, commit locally and hand the maintainer one `! git -C <repo> push ...` line per repo. Watch the bridge's own CI after the push: its clippy is newer than the local one, and the main repo's CI builds bridge HEAD whatever that run says. No Claude footer or session trailer in any repo's commits (the `/commit-fast` rule), bridges included.
3. **Main repo.** Commit to `master` per `/commit-fast`. A push rejected because CI committed README versions or the Nix hash is safe to `git rebase origin/master` and push again; check that the CI commits touch other files first. Reference the issue numbers without closing keywords, so the issues close with the release comment instead.
4. **Release:** `gh workflow run build-and-release.yml --ref master -f force_rebuild=true` (or `/deploy force`). Watch the run in the background with `gh run watch <id> --exit-status`, then confirm the tag with `gh release view v<ver>-<n>`. A run that dies in `apt` with "Temporary failure resolving" is the runners' DNS, not the change: check status.canonical.com and `actions/runner-images` issues before retrying. `scripts/ci-dns-fallback.sh` switches the affected jobs to public resolvers; a re-run of an old run keeps its old workflow file, so dispatch a new run after a workflow fix.

## Phase 7 - close the loop with the reporter

Use the `/comment` voice for every comment:
- one per issue
- a fix comment is two or three sentences: thanks, what now works (and any new switch, by its menu path), the release. No bullet lists, no rationale, no edge cases
- name the fix and the **release** in bold. The maintainer may want it posted while the release run is still going; then say the build is running and name the expected tag, and close the issue once the tag exists
- no blame on our patches
- no internals and no speculation
- for a new UI feature, attach screenshots with a rectangle around what is new. The maintainer wants them as attachments of the comment itself. `gh` cannot upload those, so a worker uses claude-in-chrome with the maintainer's GitHub session (check they are signed in first). GitHub's comment editor creates its `<input type=file>` only when its attach button is clicked, so neither `read_page` nor `file_upload` finds one: in `javascript_tool` wrap `HTMLInputElement.prototype.click` to capture the input instead of opening the native picker, then `file_upload` each PNG on it, wait for the `<img ... user-attachments/...>` line, and revert the wrapper. `upload_image` only takes browser screenshots; the computer tool cannot drag a host file. Release assets (`gh release upload` plus embedded URLs) are only a fallback; ask before using them. Check every PNG for personal data (names, avatar, sidebar, paths, other windows) before uploading.

**Asking for more data.** Only after local reproduction is exhausted: the maintainer dislikes round-trips with reporters, and a logged-in scratch instance (Phase 2) answers most timing and lifecycle questions here. Give one action plus one copy-paste command, and end with "empty output is fine too" when that is true. Never ask them to look for strings themselves. Never explain what each line would mean. `claude-desktop --diagnose` is the default collector, but never ask for it again when the thread already has one. Use a targeted `grep` only when the evidence is not in `--diagnose`, which does not include `claude-patches.log`.

**After posting:**
- Close fixed BUG issues with `--reason completed`.
- A FEATURE REQUEST stays open: once the tag exists, EDIT the fix comment (never add a second one) so it links the release and asks whether they have time to test it and report back, naming `claude-desktop --diagnose` as the thing to attach for anything that fails. Close it once they confirm or go quiet.
- Keep a bug issue open only if its comment waits on reporter data.
- Answer follow-up questions from reporters in one or two lines. A compatibility question ("does it handle X?") is measured on a scratch rig first, so the answer says "tested", and the run is checked for what `--diagnose` would have shown: a healthy verdict on a broken state is a finding of its own.

## Phase 8 - self-improve (always, last step)

Before reporting done, update **this file**: `.claude/skills/check-issue/SKILL.md`.

1. List what went wrong or cost time in this run. That includes a wrong assumption, a confusing comment, a rejected push, a tool trap, a maintainer correction, or a gate that fired late.
2. **Fold, don't append.** If a lesson changes how a phase should be done, edit that phase's text. Only lessons with no natural home go under "Lessons" below, as one dated line each.
3. **Prune.** Delete a Lessons line once its rule lives in a phase. Keep this file under ~200 lines, and merge or drop the weakest lines rather than growing it.
4. Never write session-specific values into the phases (minified names, pids, versions). Those go stale on the next upstream release.
5. If a lesson belongs to another skill (`/comment`, `/test-native`, `/linux`, `/deploy`), edit that skill instead and leave a pointer only if it is needed.
6. Tell the maintainer in one line what changed in the skill. The edit ships with the next `/commit-fast` like any other tracked file.

## Lessons

- 2026-11-13 (#331): hardening added after a review is new code with its own regressions. A `did-start-navigation` untrack fired before upstream's `will-navigate` prevention and would have dropped the main view from theming; the final review caught it. Prefer narrowing the predicate over adding an event listener, and brief the final reviewer on every round's additions.
- 2026-11-13 (#331): workers that click in the real session list must match controls by exact label, never by a text prefix: one opened the maintainer's session titled "New session".
- 2026-11-13 (#331): the main checkout is shared. Another session's commit-all absorbed this run's uncommitted files, and `git push origin master` sends every local commit of every session. Keep unfinished rounds in a worktree, and say in the push report which foreign commits went out.
- 2026-11-13 (#331): pop-out windows are about:blank children whose React tree runs in the opener's realm; upstream clones DOM style nodes into them but not insertCSS sheets. Anything of ours that selects windows by URL skips them. Look-related CSS must be checked on a real logged-in session: three transparency defects (header ground, floating rail, docked rail) existed only in the 1P DOM.

- 2026-11-11 (Code-tab lock): a live worker that drives the real desktop sends every click and key through a guard that first checks the window under the point belongs to its own pid and, for typed input, is the active window (a click-through window let a typed prompt reach the maintainer's terminal). Place the test windows where nothing of the maintainer's lies underneath, including the dock area at the top right of that display. Code-tab test sessions leave transcripts under `~/.claude/projects`; say so in the report.
- 2026-11-11 (#327): two features that each passed alone met only on the reporter's single monitor (the glow overlay above a masked screenshot). When a change adds a window or a filter, ask which other window or filter of ours it can sit above or below on a one-monitor desktop, and note that the maintainer's three-monitor host hides such cases.
- 2026-10-26 (#297-#299): an upstream reload that "should" run after a watchdog crash request was lost in live runs. Prefer guaranteed recovery over avoiding a duplicate reload, and measure before accepting a reviewer's claim about the mechanism.
- 2026-11-11 (lock fix): a profile-copy scratch instance shares the DEVICE IDENTITY of the installed app: a cloud chat prompt sent from it is executed by the maintainer's own running app. Cloud-session checks need that app closed; with it running, test the Code tab only. In a VM, start a scratch tree with `CLAUDE_ELECTRON=<tree>/usr/lib/claude-desktop/claude`, or the launcher silently runs the guest's installed build.
- 2026-10-30 (#305): `nativeTheme.shouldUseDarkColors` follows Claude's own Appearance setting, not the desktop or panel; offer a switch for the mismatch instead of guessing the panel color, and call upstream's own wrapper rather than the inner function it wraps.
- 2026-11-02 (#293): upstream main has no task-end signal for cloud Cowork sessions (`worker_status` in `refreshRemoteChromeSessionMode`, cookie-authenticated, flips to idle with `result`; poll it instead of guessing with a timer).
- 2026-11-10 (#319): run the released build through odd repro steps before calling a regression; changing window identity also changes the KDE portal app id.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.