anthropics / anthropics/claude-code

[Agent incident] 2026-08-13 - 20:0x — merge commit v repu s rebase-only historií + navrácený soubor

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

Description

### Summary

Incident recorded on **2026-08-13** 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-13 20:0x — merge commit v repu s rebase-only historií + navrácený soubor

- **Co:** pokyn byl „zakomponuj práci z ai-sabotage", provedeno `git merge` — projekt
přitom měsíce jede čistou lineární historii (rebase + ff, skill git-merge-workflow).
Merge navíc potichu vrátil `doc/komunikace-analyza.md`, který byl z `doc/` záměrně
vyhozen (stavěla se z něj uživatelská PDF příručka — starší incident).
- **Commit id:** merge 8a5865bf (lokální, nikdy nepushnut); přepsáno na 05cb7b9a+40cec0bd.
- **Škoda:** žádná ven (nepushnuto); důvěra a čas na úklid.
- **Oprava:** historie přepsána na lineární, soubor odstraněn, strom ověřen diffem
proti referenčnímu stavu (prázdný = shoda).
- **Pravidlo:** přenos práce mezi větvemi VŽDY cherry-pick/squash na lineární commity,
merge do main NIKDY; po každém přenosu diffnout výsledný strom proti zdroji a
zkontrolovat soubory přidané/smazané jen na jedné straně.

Provenance in the project's git history

- record key: `2026-08-13 ~ 200x merge commit v repu s rebaseonly historií navrácený sou`
- first committed: `2026-08-13T19:42:01+02:00`
- first commit: `301f8666fad9`
- 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

Start with the incident record in ai-incidents.md and the related paths ia-sabotages/ai-incidents.md and tool-sabotages/ai-incidents.md. The report provides no Claude Code entry point, reproduction in this repository, or expected product change; a concrete scope and acceptance criteria are needed before implementation can begin.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, kotlin
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.