惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
罗磊的独立博客
月光博客
月光博客
IT之家
IT之家
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
小众软件
小众软件
C
Check Point Blog
B
Blog RSS Feed
H
Help Net Security
博客园 - 司徒正美
L
LangChain Blog
MongoDB | Blog
MongoDB | Blog
B
Blog
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
LLMs Are Lowering Coding Cost — But They May Be Increasin...
Antonio Zhu · 2026-06-17 · via DEV Community

Over the last few months, I have gradually built a fairly stable AI-assisted development workflow for my side projects.

The workflow looks roughly like this.

Architecture and design are handled by Claude Sonnet / Opus. I maintain a set of engineering skills and design templates for feature planning. Once the design document is finalized, DeepSeek V4 is responsible for implementation. After coding is complete, I run an independent review workflow inside OpenCode to perform security review, architecture validation, data integrity checks, performance inspection, and test coverage analysis.

The process is structured enough that I have become fairly confident in it.

Recently, I decided to redesign the data storage architecture of one of my iOS projects.

The first version of the application was relatively simple. Data lived entirely in local SQLite storage. Users could manually export and import backup files, but data was stored unencrypted and there was no cloud synchronization.

During an AI-assisted security review, one issue was raised immediately.

Sensitive financial data was stored locally without encryption.

The feedback was correct.

This triggered a second architecture redesign.

The new design introduced AES-GCM encryption for all persisted data, and automatic backup to iCloud Drive. The goal was simple: keep user data private, avoid maintaining backend storage infrastructure, and allow users to restore data across devices without trusting a third-party server.

From a technical perspective, the stack became more complicated.

Flutter handled the application layer. SQLite remained the local storage engine. Flutter MethodChannel bridged into Swift native code. Swift then interacted with iCloud Documents API for cloud persistence.

Implementation was generated almost entirely through my AI workflow.

Everything looked fine.

Then I ran real-device testing.

The logs were clean.

JSON backup generation succeeded.

Encryption succeeded.

Flutter successfully invoked native Swift code.

Swift returned successful file write.

The application printed the following path:

/private/var/mobile/Library/Mobile Documents/...

Everything suggested success.

Then I opened Files.app on the iPhone.

Nothing.

No folder.

No backup file.

At first, I assumed iCloud synchronization was delayed.

I waited ten minutes.

Still nothing.

At this point debugging began.

I started checking the usual suspects.

Entitlements configuration.

iCloud container identifier.

Sandbox permissions.

Capability configuration.

Provisioning profile.

Everything looked correct.

I went back to AI-assisted debugging.

I used OpenCode with Claude Opus to review the native Swift implementation.

No issue found.

I switched models and repeated the review with DeepSeek.

No issue found.

I spent roughly two hours going through logs and rechecking assumptions.

Eventually I found the problem.

The Swift implementation used direct file writing.

content.write(to: url, atomically: true, encoding: .utf8)

This works perfectly in a normal filesystem.

But iCloud Documents API is not a normal filesystem.

Direct write does not properly trigger iCloud synchronization.

The correct implementation requires NSFileCoordinator.

There was a second issue.

When restoring backup on a new device, the code directly attempted file reading.

However, files stored in iCloud may not be downloaded locally yet.

The restore logic needed to call:

startDownloadingUbiquitousItem()

before attempting to read.

After fixing both issues, synchronization finally worked.

At that point I started thinking less about the bug itself, and more about the development process that produced it.

What I realized is this.

Throughout the entire development pipeline, every participant was validating code correctness.

Claude validated architecture.

DeepSeek generated implementation.

AI review agents inspected security and code quality.

I manually checked logs and exception handling.

But nobody validated system behavior.

This distinction feels increasingly important.

Code correctness and system correctness are not the same thing.

Historically, software development looked roughly like this.

Engineers write code.

Engineers review code.

Engineers understand code.

When bugs happen, engineers debug systems they understand.

But modern AI-assisted development increasingly looks different.

LLM writes code.

Another LLM reviews code.

Code volume expands rapidly.

Engineers understand less of the implementation details.

When bugs happen, debugging cost rises dramatically.

The interesting part is that none of the code involved in this bug was obviously incorrect.

The code compiled.

The APIs returned success.

The logs were clean.

Review passed.

And yet the system behavior was wrong.

I suspect this problem will become increasingly common.

LLMs are very good at generating syntactically correct code.

They are very good at code review.

But they remain weak at understanding complex runtime environments.

Especially when code interacts with operating system boundaries.

iOS sandbox behavior.

iCloud synchronization semantics.

Browser event loops.

Native runtime state.

Database isolation.

OS-level permission systems.

These are not code generation problems.

These are system behavior problems.

The industry currently spends a lot of time discussing how AI improves developer productivity.

I think we are missing the other half of the equation.

AI is clearly lowering coding cost.

But it may also be quietly increasing debugging complexity.

And as LLM-generated code becomes more common, I increasingly suspect one skill will become more valuable than coding itself.

Understanding what actually happens after the code runs.

Because in the AI era:

Code correctness does not guarantee system correctness.


A small iCloud synchronization bug reminded me of something I probably should have already known.

The faster AI helps us write software, the more important system-level verification becomes.

AI can write code.

But engineers still need to understand systems.

And when production breaks, understanding systems matters far more than generating code.