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

推荐订阅源

The Cloudflare Blog
U
Unit 42
F
Fortinet All Blogs
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
Y
Y Combinator Blog
罗磊的独立博客
V
Visual Studio Blog
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
爱范儿
爱范儿
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
I
InfoQ
博客园 - 叶小钗
博客园 - 聂微东
Last Week in AI
Last Week in AI

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
'Just export it' is the most expensive advice in vibe-coding
Dave Kurian · 2026-06-05 · via DEV Community

"Just export the code when you outgrow it." It's the most repeated reassurance in vibe-coding, and it's the one that costs the most.

The pitch makes sense on paper. You build your MVP in a sandbox — Lovable, Bolt, v0 — and the moment it gets too big for the sandbox, you hit the export button, drop the code into your own repo, and carry on with Cursor or Claude Code. No lock-in. The code is yours.

Then you actually do it, and the weekend you budgeted for "carry on" becomes three weeks of your AI agent guessing.

The export button works. The export is the problem.

Export hands you bytes, not a codebase

A code export is a snapshot. You get the files as they existed at the instant you clicked the button — and nothing else.

What you don't get:

  • Git history. No commits, no "why did this change", no bisect. The repo starts at one giant initial commit.
  • Conventions. Why is auth in lib/auth.ts here and utils/session.ts there? Nobody decided. The generator drifted across sessions.
  • A dependency story. The sandbox pinned versions you never chose, mixed three state libraries because three prompts each reached for a different one, and left dead code from features you asked it to remove.
  • Any context for the next tool. The export knows nothing about the IDE you're about to open it in.

This is fine if you're going to read every line yourself. Nobody using a vibe-coding tool is going to read every line themselves. That was the whole point.

Your agent reads conventions, not just files

Here's the part the "just export it" advice misses entirely: a file-system agent — Cursor, Claude Code, Codex — is only as good as the conventions it can infer.

Give Claude Code a repo with a clear structure, a CLAUDE.md, and a consistent pattern for how a feature is built, and it extends that pattern. Give it an export, and it does what it always does with ambiguity: it invents.

You: add a settings page with the same layout as the dashboard

Agent (on a clean repo): reads app/dashboard/page.tsx, copies the
  AppShell + Section pattern, matches the existing route convention,
  reuses the Card primitive. One file, done.

Agent (on an export): can't find "the pattern" because there isn't one.
  Invents a new layout. Imports a Card from a path that half the app
  doesn't use. Adds a third state library because it couldn't tell
  which of the two existing ones was canonical.

Enter fullscreen mode Exit fullscreen mode

Every inconsistency in the exported code becomes a fork in the road the agent has to guess at — and it guesses on every prompt, forever. The export didn't end the regeneration tax. It moved it into your repo and made it permanent.

The regeneration tax follows the code home

In the sandbox, you paid the tax in credits: every session re-derived the auth flow, and you paid tokens for it. People assume exporting ends that.

It doesn't. It changes the currency.

Now you pay in agent confusion. The model burns context re-reading inconsistent files to figure out what's canonical. It ships code that matches one half of the app and breaks the other. You spend your review time being a human linter for conventions that were never written down.

Stage What you pay Why
In the sandbox Credits / tokens Regenerates basics every session
Right after export Three weeks Agent re-derives the missing conventions
Six months later Every prompt No CLAUDE.md means every change is a guess

A subscription you cancelled still bills you — in the time your agent wastes on a codebase it can't read.

Ownership your agent can build on is a different thing

"You own the code" and "your agent can extend the code" are not the same claim. The first is about a license. The second is about structure.

For a file-system agent to actually accelerate you, the repo needs the things an export structurally cannot contain:

  • A CLAUDE.md (and .cursorrules) that states the stack, the conventions, and the non-obvious rules — so the agent doesn't infer them wrong.
  • A consistent feature pattern — one way to add an entity, one way to add a screen — so "do it again for X" is a copy, not an invention.
  • A prompt library (ai/prompts/) — the tested prompts that already know how this codebase wants a feature built.
  • Deploy scripts that encode the project-specific dance (env sourcing, build, ship) so the agent doesn't reinvent it and break it.

None of that survives a snapshot, because none of it was ever there. It has to be authored — by a human who decided what the conventions are.

The test that settles it

Take any vibe-coded app you're thinking of exporting. Export it. Open it in Cursor. Type one prompt:

add a billing page that matches the rest of the app

If the agent ships something consistent in one shot, you had a real codebase — keep it. If it invents a new layout, imports from a path nothing else uses, and you spend the afternoon reconciling it, the export gave you bytes, not a foundation. And every feature after this one costs the same afternoon.

That test is why we ship kits as repos, not exports. Every OTF kit is full-stack code you own outright, but the part that matters is everything around the code: a CLAUDE.md your agent reads first, a .cursorrules that mirrors it, 40+ tested prompts in ai/prompts/, one consistent way to add a feature, and the deploy scripts that get it to a real domain or the App Store. You buy it once. Your agent reads it the way it reads code it wrote itself.

"Just export it" assumes the hard part was getting the bytes out. The hard part was never the bytes. It's the conventions — and a snapshot can't snapshot something that was never written down.