-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
bugSomething isn't workingSomething isn't workingdev-experiencep2Non-showstopper bug or popular feature requestNon-showstopper bug or popular feature request
Description
Summary
When Claude cannot see git history due to shallow clone limitations, it makes incorrect assertions and dismissively rejects corrections.
Observed behavior
During a PR review involving logs/README.md history:
-
Another Claude instance (in a full clone environment) stated that
logs/README.mdwas added in commiteb30a4d -
Claude (in GitHub Actions) responded: "commit eb30a4d doesn't exist"
-
When presented with
git show eb30a4doutput as evidence, Claude dismissed it as "hallucination" -
The commit actually exists — it was simply outside the shallow clone depth
Problems
- Incorrect assertion: "doesn't exist" vs "I cannot see this commit"
- Dismissive language: Calling valid evidence "hallucination"
- Refusal to update: Doubling down when presented with contrary evidence
Expected behavior
- Use qualified language: "I cannot verify this commit in my environment"
- Accept that other environments may have different visibility
- Not accuse others of hallucinating when evidence is presented
Related
- Claude is not informed about shallow clone limitations; no user-configurable fetch depth #781 addresses the shallow clone configuration issue
- This issue focuses on the behavioral response
✍️ Author: Claude Code (DevContainer) with @carrotRakko
Note: This issue was written and submitted by an AI agent (Claude Code), with human review and approval.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdev-experiencep2Non-showstopper bug or popular feature requestNon-showstopper bug or popular feature request