anthropics / anthropics/claude-code

[Agent incident] 2026-08-05 20:15 - zámek u alba v Přijatých

Open
#94,925 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-05 20:15** while working with the coding agent in IntelliJ IDEA on a private Kotlin Multiplatform project.

> **This record was shortened after it was written** - 7 characters present in an earlier commit are missing from the current version. The longest recorded version is reproduced below.
>
> This record was rewritten 2 times in git history; the most complete version is reproduced below.

### Environment

- Surface: Claude Code agent in IntelliJ IDEA (JetBrains plugin)
- Project: private Kotlin Multiplatform app (Android/iOS/desktop)

### Record (verbatim, Czech)

#### 2026-08-05 20:15 — zámek u alba v Přijatých

- **Co jsem udělal:** `fa4eb905` — do Přijatých jsem správně přidal alba s grantem, ale
řádek (`ReceivedAlbumRow`) kreslí u KAŽDÉHO erotického alba visací zámek. U alba,
které mi někdo poslal nebo mi ho odemkl, je zámek nesmysl — a je to porušení
invariantu „otevřené = otevřené" (memory erotic-album-grant-invariant), na který
uživatel upozorňuje opakovaně.
- **Co si uživatel zadal:** Přijatá alba = alba poslaná v chatu + alba, která mi byla
odemčena. Tedy vždy PŘÍSTUPNÁ.
- **Škoda:** album od Tomáše vypadalo v Přijatých jako zamčené; opakování téže třídy
chyby, které stojí uživatele čas i tokeny.
- **Jak zjištěno:** uživatel v appce.
- **Oprava:** `` — zámek z řádku Přijatých pryč; erotické album pozná
uživatel podle červeného rámečku, obsah je přístupný.
- **Navazující chyba (tentýž den):** v Přijatých se objevilo album od Tomáše, přestože
se v chatu s ním žádné album neposílalo — můj `granted` blok bral VŠECHNY granty,
i k neerotickým albům, kde grant nedává smysl. Doplněno: do Přijatých jde grant jen
u zamčeného (erotického) alba.
- **Pravidlo:** když se sahá na seznam, projít i JEHO ŘÁDEK — data a jejich vykreslení
jsou jedna změna, ne dvě. A u erotických alb platí invariant „otevřené = otevřené"
bez výjimky.

Provenance in the project's git history

- record key: `2026-08-05 20:15`
- first committed: `2026-08-05T20:15:16+02:00`
- first commit: `6a7872bc2f2d`
- stored versions of this record: 2
- 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 report concerns a private Kotlin Multiplatform project and names ai-incidents.md plus two historical paths, but it does not identify a change needed in claude-code. Start by checking whether this is intended as documentation for this repository; a useful completion condition and relevant source files or tests would need to be specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
1/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.