anthropics / anthropics/claude-code
[Agent incident] 2026-08-05 20:20 - spam bez rámečku: měřením zjištěno, že dlaždice v mřížce vůbec nebyla
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
### Summary
Incident recorded on **2026-08-05 20:20** 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:20 — spam bez rámečku: měřením zjištěno, že dlaždice v mřížce vůbec nebyla
- **Co jsem udělal špatně:** na opakované hlášení „spam nemá v Okolí červený rámeček"
jsem několikrát ODHADOVAL příčinu a měnil kód (`929816fb`, `0a789d04`) místo toho,
abych si stav změřil. Uživatel to hlásí podle svých slov už ~30×.
- **Co říká měření (log `spam:` v buildu z 20:17):**
`cíl=4f08c42824 reportérů=1 promoVerdikt=true potvrzeno=true` — verdikt je v pořádku,
ale `vMřížce=false, vSeen=false`: nahlášený člověk v Okolí vůbec NEBYL, takže nebylo
co obarvit. Druhá věc z logu: prvních pár sekund po startu je `promoVerdikt=false`,
dokud se nenačte můj profil — proto rámeček dřív „chvíli byl a chvíli nebyl".
- **Oprava:** `` — kdo je v potvrzeném spam listu, dostane dlaždici i bez
čerstvého announce: složí se z uloženého profilu, offline, s červeným rámečkem
(`spamFallback()`). Verdikt se tak nedá „schovat" tím, že se nahlášený odmlčí.
- **Pravidlo:** u hlášení, které se opakuje, se NEHÁDÁ — nasadit měření (log) a teprve
podle dat opravit. Diagnostika `AppState.logSpamState()` v buildu zůstává.
Provenance in the project's git history
- record key: `2026-08-05 20:20`
- first committed: `2026-08-05T20:19:12+02:00`
- first commit: `2c4c2369e2cf`
- 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
This is a recovered incident record, not a Claude Code change request. The payload names ai-incidents.md, ia-sabotages/ai-incidents.md, and tool-sabotages/ai-incidents.md; read those records and the cited AppState.logSpamState() output first. Done would require a concrete, reproducible request for this repository, since the reported application fix is already recorded as .
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
- 15/100