I let AI write 100% of my code for 30 days. Here’s what broke
说明与用途
AI 能快速生成脚手架和模板,但无法保持系统整体一致性,导致架构漂移并写出看似正确但错误的代码。人类审查和独立检查者是安全发布的关键。
问题
Can an AI write all application code without human coding, and what failures arise when relying solely on AI for production code?
结果
AI can rapidly scaffold and generate boilerplate, but it struggles with system‑wide coherence, introduces subtle architectural drift, writes plausible‑but‑wrong code, and fails to handle edge cases. Human review and separate skeptic roles are essential to catch these issues.
工作流
- 1. Set a rule: no manual application code for 30 days.
- 2. Prompt AI to scaffold Next.js app with Postgres, Drizzle, and auth.
- 3. Generate boilerplate: CRUD endpoints, Zod schemas, table components.
- 4. Review AI output line by line, rejecting or re‑prompting as needed.
- 5. Handle configuration, secrets, and dashboard actions manually.
- 6. Log any “breaks” (issues that required manual intervention).
- 7. After 30 days, ship the product to production.
- 8. Analyze the 9 logged breaks and adjust guardrails for future use.
证据
The AI is brilliant at the file in front of it and blind to the one three folders over.
The billing webhook handler it wrote acknowledged Stripe events before persisting them.
When something broke that the AI couldn't see, asking it to fix it produced changes, not fixes.
- 记录日期: 2026-09-15T15:45:24.931Z