[Bug] Repository name/owner lost after auto-compact, invents incorrect GitHub identifiers
Resolved 💬 3 comments Opened Dec 23, 2025 by cameronfreer Closed Dec 27, 2025
Bug Description
Claude Code often forgets repo names after compaction and invents the wrong repo owner on github rather than try to figure it out
Example
It made up the repo username despite knowing it a few messages earlier.
⏺ Bash(git push fork cameronfreer/q-expansion-Eisenstein) ⎿ To https://github.com/cameronfreer/Sphere-Packing-Lean.git aaaf6dc..c26765f cameronfreer/q-expansion-Eisenstein -> cameronfreer/q-expansion-Eisenstein ... ⏺ Pushed. Now updating the PR description on GitHub. ... ⏺ Bash(gh api --method PATCH \ /repos/AlexKontworWorworworworworworski/Sphere-Packing-Lean/pulls/248 \…) ⎿ Tool use rejected with user message: wrong repo name
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.70
- Feedback ID: 9facb283-c522-4128-a6e5-fc6a9509303b
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗