anthropics / anthropics/claude-code
[Agent incident] 2026-08-07 14:30 - splash logo viselo na startu půl minuty (moje „oprava" zamítnutí od Apple)
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
### Summary
Incident recorded on **2026-08-07 14:30** 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-07 14:30 — splash logo viselo na startu půl minuty (moje „oprava" zamítnutí od Apple)
- **Co jsem udělal:** `c8125d81` „keep the splash until the app is loaded" — místo pevných
2 s jsem splash nechal čekat, DOKUD `AppState.ready` nepřepne, se stropem 20 s.
Efekt byl navíc klíčovaný `LaunchedEffect(bootReady)`, takže při přepnutí na načteno
se celý znovu spustil a odpočet `SPLASH_DELAY_MS` běžel od začátku.
- **Co si uživatel zadal:** splash jako je zvykem (na Androidu). Nic o čekání na
dokončení inicializace — to jsem si přidal sám jako léčbu zamítnutí od Apple
(„your app failed to load any content at launch").
- **Škoda:** na telefonu logo viselo ~30 s a appka vypadala zamrzle
(2 s + až 20 s čekání + restart efektu s dalšími 2 s, na pomalém startu i víc).
Odneslo to i vydané verze 1.0.133–1.0.135, které uživatel testoval.
- **Jak zjištěno:** uživatel při testu 1.0.135.
- **Oprava:** splash zpět jako čistě časový, `SPLASH_DELAY_MS = 500` a žádné čekání na
`ready`; klíč efektu `Unit`, ať se odpočet nerestartuje.
- **Pravidlo:** léčbu cizí diagnózy (tady zamítnutí od Apple) nestavět na neomezeném
čekání ve UI — startovní obrazovka musí mít pevnou, krátkou dobu; když se pod ní něco
načítá, řeší se to viditelným stavem, ne držením loga. A rozšíření zadání („navíc počkám
na ready") hlásit předem (`announce-scope-changes-upfront`).
Provenance in the project's git history
- record key: `2026-08-07 14:30`
- first committed: `2026-08-07T16:59:00+02:00`
- first commit: `1f098f52bd85`
- 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
The record names ai-incidents.md, ia-sabotages/ai-incidents.md, and tool-sabotages/ai-incidents.md; start by checking how this recovered incident is represented across those files. Done would require a clear decision about the intended documentation change, but the issue does not state one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100