Claude AI Opens Merged PR for Magic-Link Bug While Developer Sleeps
Reddit user u/crazedbunny shared a production incident where Claude, running in an agentic setup, automatically fixed a broken magic-link sign-in on their SaaS pastecollage.com at 4:46 AM. By morning coffee, a merged PR was ready.
The Bug
Trailing whitespace from mobile keyboards caused the email validation regex anchor [^\s@]+$ to fail, breaking sign-ins. The fix: moving the trim/lowercase step to before validation. The PR was +13/-1 lines with a sensible commit message — exactly what the dev would have written manually.
Setup
The developer runs a project called auralog that ingests logs, Claude analyzes them, and if the model believes it knows the fix, it opens a PR against the repo. This is part of an agentic CI pipeline with direct merge authority.
Key Takeaways
- Agentic Claude can fix small, predictable bugs overnight without human intervention
- The PR was merged without any modifications — the output was production-ready
- This pattern works best for well-scoped issues with clear reproduction (email validation edge case)
The full writeup with screenshots of the actual PR is available on the developer's blog: https://auralog.ai/blog/the-magic-link-bug-that-fixed-itself/
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Code v2.1.51 changed 1M context billing without notification
Anthropic's Claude Code v2.1.51 update silently changed billing for 1M context windows on Max plans. Context tokens above 200K now bypass subscription capacity and go directly to Extra Usage charges, even when subscription budget remains available.

Pentagon Sends Anthropic Final Offer for Military AI Use Amid Dispute
The Pentagon sent Anthropic a best and final offer for unrestricted military use of its Claude AI model, with a Friday deadline to grant full access or face losing military business and being labeled a supply chain risk.

Kimi K2.6 vs Claude Opus 4.7: Hands-On Test with a Minetest Bounty Board Mod
A developer tested Kimi K2.6 and Claude Opus 4.7 on building a Minetest/Luanti bounty board mod with TypeScript backend and Google Sheets logging. Opus got it working cleanly; Kimi failed on the integration part.

Stanford Report Shows AI Experts and Public Have Diverging Views on AI Impact
Stanford's annual AI industry report reveals significant gaps between AI experts' optimism and public anxiety, with experts focusing on AGI risks while the public worries about jobs, medical care, and utility costs.