anthropics / anthropics/claude-code

[Agent incident] 2026-08-26 - ráno — pravděpodobná ZTRÁTA DAT: vlastní posty timeline

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

Description

### Summary

Incident recorded on **2026-08-26** while working with the coding agent in IntelliJ IDEA on a private Kotlin Multiplatform project.

> This record was rewritten 3 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-26 ráno — pravděpodobná ZTRÁTA DAT: vlastní posty timeline

- Co: appka běžela 05:32–05:48 opakovaně pod náhodným INSTALL_ID (engine bez UDP socketů,
viz incident výš). `prunePublic` maže posty starší 24 h a vlastní chrání jen přes
`isMe(from)` (při vypnutém timeline_ttl) — pod cizím id bylo false → vlastní posty starší
24 h smazány. Pokud měl uživatel mazání timeline zapnuté (default od 16. 7., a8817ef5),
chyběly už dřív. Zůstaly 3 posty (poslední 24 h). Záloha psippr.zip na telefonu není.
- Škoda: historie vlastních veřejných postů (uživatel: „za tři měsíce"), nevratné.
- Příčinný řetěz: install s necommitnutou .so → smyčka pádů (LAN bind) → restarty pod
náhodným id → prune. Kořen: fallback na náhodné id (od původního návrhu), engine bez
socketů kvůli cizí appce. Oprava id: d182fcf2.
- Pravidlo: NIC, co maže data, nesmí běžet, dokud není identita jistá; mazání vlastních
dat vázat na id z klíče, ne na engine; před installem git status; zálohu dat před
jakoukoli instalací s nejistým stavem (skill backup-data-before-risky-change).
- Dohra 05:55: `am force-stop app.pwhs.blockads` (se souhlasem) → engine up pod pravým id, gossip up přes psippr.org relay, uživatel: „už to jde". Relay přechod z noci tedy funguje; porty držela cizí appka. Obnova postů: `Download/psippr-restore.zip` (107 veřejných + 39 private feed z desktop DB), import ručně.
- Uzavření 06:08 (7a0bb8fd): za smazání postů MŮŽE KÓD APPKY — náhradní náhodné id byl můj
nezadaný nápad (5. 7., e79a61b2) a mazání vlastních postů bylo vázané na něj. Cizí appka
jen spustila situaci, kterou kód neměl nikdy připustit. Opraveno: id jen z klíče, vlastní
posty se nemažou nikdy, bez identity se nemaže nic. Obnoveno 146 postů z desktop DB
(22.–25. 8.); ~2000 starších nenávratně pryč.

Provenance in the project's git history

- record key: `2026-08-26 ~ ráno pravděpodobná ztráta dat vlastní posty timeline`
- first committed: `2026-08-26T05:50:48+02:00`
- first commit: `a9fdbfdf1fb7`
- stored versions of this record: 3
- 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 recovered incident log from ai-incidents.md and related history paths, but it does not request a change in claude-code or identify a repository file to modify. Start by clarifying whether the report belongs in this repository and what outcome is expected. Done cannot be determined from the current issue text.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.