The Real Future of Software Developers: Debugging Edge Cases AI Cannot Handle
The Real Future of Software Developers: Debugging Edge Cases AI Cannot Handle
Everyone asks what software developers will do when AI writes all the code. The answer is simple: debug the edge cases AI cannot handle. And there are a lot of them.
The ScreenCaptureKit Reality
Building a native macOS AI agent means spending most of your time on things AI has never seen before. ScreenCaptureKit behaves differently on macOS 14 vs 15. The accessibility API returns different element hierarchies depending on whether the app uses AppKit or SwiftUI. Screen recording permissions work differently after a system update.
None of this is in any training dataset. These are the kinds of problems where you need a human who can set breakpoints, read Apple's sparse documentation, test on multiple OS versions, and reason about why a frame callback fires twice on one machine but not another.
What AI Does Not Know
Claude Code can write ScreenCaptureKit integration code that compiles. It can even write code that works on the OS version it was trained on. But it does not know that SCStreamConfiguration silently ignores certain pixel format combinations on Intel Macs. It does not know that CGWindowListCopyWindowInfo returns stale data for about 200ms after a window moves.
These are the things you learn by shipping a real product to real users with real hardware diversity.
The Developer Role Shifts
The future developer spends less time writing boilerplate and more time on:
- Platform-specific quirks that change with every OS update
- Performance edge cases that only appear at scale or on specific hardware
- Integration points between systems that have never been connected before
- User-reported bugs that cannot be reproduced without the exact same environment
This is harder work than writing CRUD endpoints. It pays better too.
- Building a macOS AI Agent with Swift and ScreenCaptureKit
- AI Replacing Knowledge Workers - The Edge Cases
- Shipping Your First macOS App - Lessons
Fazm is an open source macOS AI agent. Open source on GitHub.