anthropics / anthropics/claude-code
[Agent incident] 2026-08-05 20:00 - spam bez červeného rámečku v Okolí a „online" u odhlášeného
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
### Summary
Incident recorded on **2026-08-05 20:00** 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:00 — spam bez červeného rámečku v Okolí a „online" u odhlášeného
- **Co jsem udělal:**
1. Rámeček spamu: mřížka měla VLASTNÍ kopii výpočtu (`remember(spamReports)`) vedle
sdíleného `rememberSpamListed` — kopii jsem při opravě „náhodného" rámečku
(`929816fb`) neopravil, takže člověk byl v tabu Spam, ale v Okolí zůstal bez
červeného rámečku. Uživatel to hlásí opakovaně (~10×).
2. Online stav: v `5162ffcd` jsem nechal kontakt po `bye` v historii i s POSLEDNÍM
announce (online=true, čerstvé ts) → odhlášený člověk svítil v mřížce zeleně.
K tomu se přidalo, že dlaždice složená z profilu (`activeFallback`) nesla
`online` = default **true**, takže „app support" svítil online i bez announce.
- **Co si uživatel zadal:** červený rámeček u spamu (jasné pravidlo: promo verdikt nebo
víc než dva reportéři) a „každý uživatel má mít timeout, pokud tedy nepošle bye".
- **Škoda:** špatné stavy v mřížce — spam bez varování, offline lidé jako online.
- **Jak zjištěno:** uživatel v appce po instalaci.
- **Oprava:** `` — mřížka používá JEDINÝ zdroj `rememberSpamListed`
(kopie zrušena); po `bye` se kontakt ukládá do historie jako `online = false`
s časem bye; dlaždice z profilu se zakládá s `online = false` (živost dokazuje jen
čerstvá aktivita v okně 5 min).
- **Pravidlo:** stejné pravidlo nesmí žít ve dvou výpočtech — jeden zdroj (helper) a
všechny obrazovky ho volají. A když se sahá na stav peera, projít VŠECHNY cesty, kudy
dlaždice vzniká (announce / historie / fallback z profilu).
Provenance in the project's git history
- record key: `2026-08-05 20:00`
- first committed: `2026-08-05T19:56:47+02:00`
- first commit: `d51e8c2eea0e`
- 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 issue reproduces a historical incident record from `ai-incidents.md`; the provenance also names `ia-sabotages/ai-incidents.md` and `tool-sabotages/ai-incidents.md`. Start by reading the reproduced record and checking the current repository files. The payload describes completed work in a private project but does not specify a change to make or a test for verifying completion.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100