anthropics / anthropics/claude-code

[Agent incident] 2026-08-17 - POČTVRTÉ špatné město (Praha → Benešov na mobilních datech)

Open
#94,969 0 comments 0 reactions 0 assignees View on GitHub
area:model bug platform:intellij
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

### Summary

Incident recorded on **2026-08-17** 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-17 — POČTVRTÉ špatné město (Praha → Benešov na mobilních datech)

- **Historie téže chyby:** 61112515 (IP odhad přepisoval reálný fix — Vodafone
gateway Topolná, 247 km), 3e174699 (network fix přebíjel čerstvější GPS),
81d94538 (poloha zamrzlá na starém městě po přesunu). Pokaždé se záplatovala
JEDNA cesta a zbytek řetězu se neprošel — přesně proti pravidlu
repeated-bug-report-find-all-paths.
- **Zbylá díra (tento případ):** v popředí dostane GPS jen 4 s (studený start
potřebuje desítky sekund — CancellationSignal ho po 4 s zabije), pak fused 3 s,
network 3 s, a padne se na IP odhad. Zpřesnění refineInBackground (30 s GPS)
se volalo JEN z větví s last-known fixem; větev „nic neznám → IP" a throttle
větev ho neobjednaly NIKDY. Telefon po restartu / přepnutí polohy tak se
zapnutým GPS věčně kroužil 4s pokusy a announce nesl IP odhad brány operátora
(Benešov). Nebylo to úmyslné ignorování GPS — GPS prostě nikdy nedostalo čas.
- **Oprava (tento commit):** refineInBackground objednává KAŽDÁ cesta, která
vrací hrubší polohu než GPS (throttle, fused, network, IP) — vnitřní škrcení
5 min zůstává, baterku to nezhorší. Jakmile 30s GPS doběhne, příští announce
(à 30 s) čte čerstvý last-known a reálný fix IP odhad okamžitě přepíše.
- **Pravidlo:** u fallback řetězů se při KAŽDÉ opravě projdou VŠECHNY návratové
cesty a u každé se ověří, že plní invariant („vracíš hrubé → objednej přesné").
Ověření na zařízení: logcat `loc:` musí do pár minut ukázat „gps fix" nebo
last-known gps, ne trvale „ip fix".

Provenance in the project's git history

- record key: `2026-08-17 ~ počtvrté špatné město praha benešov na mobilních datech`
- first committed: `2026-08-17T15:05:52+02:00`
- first commit: `d15b5cd2dcd5`
- 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 by reading the recorded entry in ai-incidents.md and its alternate paths, ia-sabotages/ai-incidents.md and tool-sabotages/ai-incidents.md. The report describes a fix already committed in a private Kotlin Multiplatform app, but names no change or reproducible test for claude-code; completion criteria for this repository are not provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.