anthropics / anthropics/claude-code

[Agent incident] 2026-08-15 - mřížka Okolí ukazovala uživatele bez fotky (regrese základního pravidla, 13. 8.)

Open
#94,965 0 comments 0 reactions 0 assignees View on GitHub
area:agent 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-15** 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-15 — mřížka Okolí ukazovala uživatele bez fotky (regrese základního pravidla, 13. 8.)

- **Co:** při opravě „v mřížce nikdo, i když mi píšou" (13. 8.) jsem v commitu
be63998f uvolnil `isGridVisible`: dlaždici stačilo jméno z announce, i když
uložený profil žádnou vykreslitelnou fotku neměl. Tím jsem obešel základní
pravidlo appky platné od začátku — v Okolí NIKDO bez fotky a přezdívky
(profil bez nich vůbec nejde založit). Symptom (výpadek stahování fotek) jsem
zalepil poškozením konceptu místo opravy příčiny; příčina (nedotažené bajty
fotky) se řešila až o den později (43d9bfe4 záložní fotka v merge, 9cfe3be1
lazy dotažení bajtů dlaždice).
- **Škoda:** od 13. 8. se testerům v Okolí ukazovali lidé s panáčkem místo fotky
(Dušo, Tomáš, MChess…) — porušení základu produktu, hlášeno 15. 8.
- **Oprava:** `isGridVisible` nově tvrdě: `isMe || (profile.isComplete &&
avatarBytes != null)` — dlaždice se neukáže, dokud profil s reálnými bajty
fotky nedorazí; jméno z announce nestačí. Že peer nezmizí napořád, drží retry
(nekompletní cache se dotahuje při každém announce, prefetchTilePhoto dotahuje
bajty). Testy GridVisibilityTest.
- **Pravidlo:** výpadek funkce se opravuje u PŘÍČINY, nikdy uvolněním invariantu
produktu. Než sáhnu na podmínku, která něco skrývá/pouští, ověřit, jestli není
součástí závazného konceptu (grid-display-spec, isComplete) — a když ano,
zeptat se. Viz skill ask-before-own-ideas a never-change-unreported-logic.

Provenance in the project's git history

- record key: `2026-08-15 ~ mřížka okolí ukazovala uživatele bez fotky regrese základníh`
- first committed: `2026-08-15T10:44:26+02:00`
- first commit: `a991602d68ed`
- 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

Read the recovered record in ai-incidents.md and compare its stored versions in ia-sabotages/ai-incidents.md and tool-sabotages/ai-incidents.md, along with the referenced git history. The issue contains an incident report but does not specify a documentation change or acceptance criteria, so confirm the intended action before starting.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.