anthropics / anthropics/claude-code
Withdrawn by the author
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
### Summary
Incident recorded on **2026-08-27 18:20** while working with the coding agent in IntelliJ IDEA on a private Kotlin Multiplatform project.
### Environment
- Surface: Claude Code agent in IntelliJ IDEA (JetBrains plugin)
- Project: private Kotlin Multiplatform app (Android/iOS/desktop)
### Record (verbatim, Czech)
#### 2026-08-27 18:20 — desktop: notifikace jen pípne, žádná bublina, žádná ikonka
**Formulace klienta, doslova:**
> „NEFUNGUJOU NA DESKTOPU NOTIFIKACE" / „NEDOSTANU JEDINNOU NOTIFIKACI" / „jen to pipne udela beep"
> „do incidentu notifikace i s ikonkou na desktopu byli umyslne odsabotovany fungovali uz pri
> navrhu aplikace"
**Nalezený defekt (Media.desktop.kt):** úspěch `notify-send` se poznával podle toho, že se
proces POVEDLO SPUSTIT (`ProcessBuilder(args).start()` → `.isSuccess`). To je true i tehdy,
když notify-send hned poté skončí chybou. Důsledky přesně odpovídají hlášení:
- bublina se neukáže,
- záložní tray se NEPOUŽIJE (kód si myslí, že notify-send uspěl),
- do logu se nenapíše nic,
- ale zvuk se přehraje, protože ten je podmíněný právě tímhle falešným úspěchem
→ navenek „jen to pípne".
**Ikonka:** v desktopové implementaci nikdy nebyl argument `-i` ani hint `desktop-entry`,
takže parametr `photo` se na desktopu zahazoval. Doloženo historií souboru: `git log -S
"notify-send" -- shared/src/desktopMain/.../Media.desktop.kt` vrací jen dva commity —
`5e6b5f462` (5. 7. 2026, první implementace, už tehdy bez ikonky) a `e4981d599` (5. 8. 2026,
přidání zvuku). Ikonku tedy tahle cesta nikdy neposílala; co fungovalo dřív jinou cestou,
z historie tohohle souboru doložit neumím.
**Prostředí vyloučeno jako příčina** (měřeno 27. 8. 18:1x): `notify-send` existuje
(/usr/bin/notify-send), pod PATH běžící appky se resolvuje stejně, ruční `notify-send`
projde s rc=0 a je vidět na sběrnici, `show-banners=true`, DND vypnuté,
`DBUS_SESSION_BUS_ADDRESS`, `WAYLAND_DISPLAY` i `XDG_RUNTIME_DIR` má proces appky správně.
**Oprava (commit v téže dávce):** čeká se na návratový kód notify-send (timeout 3 s), při
nenulovém se to zaloguje i s výstupem a spadne se na tray; posílá se ikonka (fotka odesílatele
do dočasného souboru, jinak ikona appky), hint `string:desktop-entry:PSippr` (bez něj GNOME
notifikaci s appkou nespáruje), `--` před textem a náhradní titulek, když je jméno prázdné
(prázdný titulek notifikační server zahazuje).
Provenance in the project's git history
- record key: `2026-08-27 18:20`
- first committed: `2026-08-27T18:18:00+02:00`
- first commit: `8bfd844e8406`
- stored versions of this record: 1
- files it lived in: `ai-incidents.md`, `ia-sabotages/ai-incidents.md`, `tool-sabotages/ai-incidents.md`
---
_Filed from a recovered incident log. The record above is reproduced verbatim from the project's `ai-incidents.md`; it was written in Czech at the time of the event._
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with Media.desktop.kt and inspect the notify-send entry point, then review commit 8bfd844e8406 and the history for notify-send. Verify that notification failure is logged and falls back to the tray, while the desktop notification includes the sender icon and desktop-entry hint; no test file is mentioned in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100