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

推荐订阅源

IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园_首页
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
ThreatConnect
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东
H
Help Net Security
T
Threat Research - Cisco Blogs
Blog — PlanetScale
Blog — PlanetScale
A
Arctic Wolf
G
Google Developers Blog
量子位
U
Unit 42
I
InfoQ
V
V2EX
F
Fox-IT International blog
P
Privacy & Cybersecurity Law Blog
V
Visual Studio Blog
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
C
CERT Recently Published Vulnerability Notes
博客园 - 三生石上(FineUI控件)
T
The Exploit Database - CXSecurity.com
T
Tailwind CSS Blog
SecWiki News
SecWiki News
Know Your Adversary
Know Your Adversary
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
The Hacker News
The Hacker News
Project Zero
Project Zero
Application and Cybersecurity Blog
Application and Cybersecurity Blog
月光博客
月光博客
Recent Commits to openclaw:main
Recent Commits to openclaw:main
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
GRAHAM CLULEY
C
Cisco Blogs
I
Intezer
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
Recorded Future
Recorded Future
T
Tenable Blog
W
WeLiveSecurity
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
T
The Blog of Author Tim Ferriss
www.infosecurity-magazine.com
www.infosecurity-magazine.com
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
PCI Perspectives
PCI Perspectives

DEV Community

I built a local MCP server that gives Claude Code real PR context — 33s reviews instead of 90s How I built AgentRAM: a memory API for AI agents without a vector DB AI, Pig Butchering, and the New Frontier of Scams: Why Scammers Are Becoming Developers Journey Begins: Google Cloud Get Certified Program Edition 2 (2026) Feeding Raw HTML to Your LLM Is a Token Tax. I Measured It on 10 Real Pages — Median 7.4 , and It Hits Every Scheduled Run Beyond Strict Mode: 5 Advanced TSConfig Settings for Bulletproof TypeScript The bug I kept seeing in math practice: right answers that were too slow gotracer: Turn Go Execution Traces into Actionable Findings Forget Python: Why PHP is the Real Future of AI for the Web Stop Reinventing the Wheel: 5 Hidden Gems in PrestaShop's Tools.php File AI Tools & Products Radar — May 28, 2026 New Benchmark Reveals Hidden Trade-offs in AI Model Tuning Methods What I Learned Building My First Chrome Extension for Google Calendar Trider – The AI Habit Tracker That Actually Gets You (Free, No Ads) 4 Best AI TTS APIs in 2026 Claude Opus 4.8: What Developers Need to Know About Anthropic's New Flagship Claude Opus 4.8: What Developers Need to Know About Anthropic's New Flagship Full Stack Developer Looking for Internship Opportunities How Microservices Talk to Each Other Using WebClient After burning through tens of billions of tokens, I built an Android-like OS that runs entirely in the browser The PrestaShop Modules "Jungle": An Unexpected Opportunity for Your Site? I Ship One AI Testing Feature Every Day — Here's What 6 Days Looks Like Only 2 of 128 YC-backed dev tools companies block unchecked merges Read environment variables from .env file in Angular PrestaShop Added an AI Onboarding System Directly to Its Repo The AI Control Plane Is Becoming the New Shadow IT How-To Spec-Driven AI Development Veltrix Events Were a Disaster Until We Fixed One Crucial Thing Phone-as-keyboard for any USB host — building a driverless HID bridge PrestaShop Development: Is Documentation Really the Problem? Python List Methods Explained Simply (Add, Remove, Sort) Impostor Syndrome in Tech - The Honest Version Nobody Posts About I Built a Tool to Stop Guessing LLM API Costs. Here Is What I Learned. Constraint Decay: Why Your AI Coding Agent Passes Tests But Breaks Production KairoDB-Human-Readable Databases Your best pull request could be a -500 (and that's seniority) I Built a Terminal Typing App Because I Was Tired of Leaving My Terminal Sending SMS from AWS Lambda Markdown to PDF: 8 methods compared (and why most of them disappoint) Coordinar deploys de frontend y backend sin orquestado, usando Github Actions I had to restore an entire database just to recover one deleted row The Sovereign Vault: Building High-Integrity AI with MCP & Local Vision I Built a Lightweight Python RAG Orchestrator That Works with SQLite, PGVector and Qdrant Redis — The Engine of Instant Gratification The Project I Couldn’t Finish 2 Years Ago - Notebook for ChatGPT Less Greedy Code, Less Misery: The Power of SRP Through a Battle-Tested Lens Which Cloud Is Best for Containers & Microservices? Why IBM Cloud Stands Out Modern css kills js 15 AI Coding Hacks Nobody Talks About (2026) Your AI Agents Need an Architecture, Not Just a Prompt AI coding assistants are making juniors worse and seniors lazier AI can generate HTML. Publishing it is still weirdly annoying. Shopify vs Magento for AI Commerce in 2026: Platform-Mediated vs Merchant-Controlled AEO I scanned Langfuse. It observes its own LLM calls through its own platform. Prompt caching in production: the 4 patterns that cut my Anthropic bill (and when not to bother) Why Does My Android Camera Stop Recording When the Screen Turns Off? Doze, WorkManager, and the Right Way to Build a Foreground Service We patched Chromium with 49 C++ hooks to beat Cloudflare — here's how BrowserHand works I Replaced 30 Minutes of Daily Browser Chores with One Cron Job Rename a Kubernetes PVC Without Losing Your Data: PersistentVolume Rebinding A Week in the Life of a Treasure Hunt Engine that Almost Went Off the Rails Architecture of Chaos Part 4 (Finale) — Split-Brain Surgery, Chaos Engineering, and Shipping to Production The Road to KiwiEngine — The Strange Feeling of Publishing Your Own Ecosystem Day 93: Bridging React to iOS Widgets and Face ID The Hidden Cost of Complex AI Platforms: Why Developer Experience Matters Running FreeIPA on Ubuntu Using Podman – Part 2: Step-by-Step Deployment In 2026, you can just prompt your way to a working Android app. 🤯 Why DDR5 Bandwidth Kills Dual-LLM Inference on APUs (Benchmarks Inside) OpenSparrow v2.6 – AI-powered search (RAG), bulk operations, and keyboard shortcuts The New Shape of Supply-Chain Trust Why Analytics Is Product Infrastructure The Fallacies of GenAI Development Stop Building AI Assistants. Build AI Firewalls. I built a "what is my IP" site because I was tired of the ugly ones How to Stop Your AI Agent Before It Does Something You Can't Undo I Just Wanted to Scrape One Page. Why Did I Write 50 Lines of Puppeteer? Amazon STAR Method 2026: The Complete Cheat Sheet (30+ Questions + Scored Examples) Building a Japanese-First Read-Later PWA: From Pocket Shutdown to Launch How to show weather on your personal website in 3 lines of JavaScript (no API key needed) Building user-customizable themes with Tailwind CSS I turned an abandoned Go project into a full terminal Arcade Game Part 2 of 4: Building a Real k6 Test Suite Against a Live Kubernetes App How I structured 12 Flutter paywall screens to share the same purchase logic I Added a Live Dashboard to My LLM Proxy. Zero Instrumentation. Just a URL Change. Free Security Audit API: Scan Your Code in 30 Seconds I Built an Uncensored AI Chatbot With a Mystical Sphinx Persona Agent memory poisoning. The 4-stage enterprise damage chain. 18 developer tools I use to improve my workflow I Found a Free Domain Platform Built by an 18-Year-Old — and It Actually Works Why smart contract deployment still needs better infrastructure Navigating Layoffs: A Comprehensive Guide for Professionals How to Track Website Visitors Without Cookies in 2026 Building a no-signup PDF toolkit with 32 small file tools How to Optimize Images for Website Speed in 2026 (Without Losing Quality) Mastering CSS Grid Subgrid: A Complete Guide ffmpeg-ai: A Free CLI That Turns a Prompt Into a Finished YouTube Short ECS + FARGATE + CONTAINERIZATION + OBSERVABILITY + PRODUCTION ARCHITECTURE Microsoft Told Engineers to Ease Off Claude Code Evolution of Developer Skills Beyond the Cheat Sheets: How to Actually Reason About Partitioning VS Sharding in System Design Interview AI Coding Agents Search Like It's 2009. Provenant Cuts Tokens by 65 .
I Vibe-Coded an App in a Weekend. Three Weeks Later I Couldn't Explain It.
Keoni Murray · 2026-05-29 · via DEV Community

I was debugging a Stripe webhook handler in a side project I'd vibe-coded over a weekend. The app was simple, a subscription billing tool I'd built with Claude Code. It featured user auth, payments and a dashboard. It worked. Users signed up. Money moved.

Then a user reported getting charged twice after upgrading their plan. I opened the webhook handler and stared at it. There were no obvious bugs.

It handled customer.subscription.updated events, checked for idempotency, and updated the user record. All correct. But there was a conditional branch I didn't recognize, a check for overlapping billing cycles that I couldn't explain. I knew I'd discussed this with Claude during the session. I vaguely remembered rejecting a simpler approach because of a race condition. But which approach? Why this one?

The session was gone. The commit message said Add Stripe webhook handler. The git diff showed me what changed. Nothing showed me why.

I spent almost two hours reverse-engineering my own code before I found the bug. The fix took four minutes.

That wasn't the first time. A week earlier I'd spent most of a morning trying to pick up a feature I'd started with Cursor the Friday before. I knew I'd made progress, the commit history showed four clean commits. But I couldn't remember the approach I'd landed on for handling rate limits, or why I'd structured the retry logic the way I did. So I did what I always end up doing: started a new session and re-explained everything from scratch.

The thing is, AI coding tools are great at the building part. Describe what you need, iterate, ship. But they don't remember anything. Every session starts from zero. Close the terminal and the thinking behind the code is gone. Git tracks what changed. Nothing tracks why. You don't notice how much that costs you until you add it up.

It shows up everywhere once you start paying attention

The debugging session was bad enough. But context loss compounds in ways I didn't expect.

I review PRs from teammates who use Claude Code and Cursor. The diffs are clean, well-structured, tests pass. But I can't review them because I don't know why these decisions were made. Was there a reason they used a queue instead of a direct API call? Was that an intentional choice or just what the AI suggested first? I spend twenty minutes reverse-engineering intent before I can even start the actual review. And I know they're doing the same thing with my PRs.

I've hit the compaction wall mid-session more times than I can count. Two hours in, Claude understands my codebase, my constraints, my preferences. Then the context window fills up. It summarizes the conversation to make room and loses the critical details. It starts contradicting itself, forgetting constraints I set an hour ago, suggesting approaches I already rejected. It's like your collaborator got swapped out mid-conversation and nobody told you.

I've watched a teammate try to onboard onto a codebase I'd built mostly with AI. Half the files were decisions I couldn't fully explain anymore, not because the decisions were bad, but because the reasoning existed in a Claude session I'd closed weeks ago. The code worked. The why was gone.

It hit me: the tools that made me faster at writing code were making me slower at everything that comes after, reviewing, debugging, onboarding, maintaining. I was generating code at 10x speed and paying for it later at 0.5x.

The workarounds I tried

I tried fixing this myself.

I set up a CLAUDE.md file in my repo, a static context file that gets loaded into every AI session. It helped. But it's manual, it goes stale the moment my codebase evolves, and it caps out at a couple hundred lines before it starts bloating every session. More importantly, it captures project-level context, not session-level context. It can tell Claude "we use Zustand for state management." It can't tell Claude "last Tuesday we discussed three different approaches to the auth flow and here's why we chose this one."

I tried keeping manual session notes. That lasted about a week. I'd skip them when I was tired, or when a session ended in frustration, which is exactly when the context matters most.

I looked into custom MCP memory servers, SQLite-based solutions, personal scripts. Some of them are impressive. But they're fragile, they're individual, and they don't solve the fundamental problem: context should live in my development workflow, not a side project I maintain on my own time.

Every workaround I tried had the same flaw. They depend on me being disciplined enough to do the thing, every time, without fail. And I'm not. Nobody is. That's the whole reason we have CI/CD, linters, and formatters.

Context as Code

After all the workarounds failed, I kept coming back to the same question: why is context something I have to manually maintain in the first place? My code lives in the repo. My tests live in the repo. My CI config lives in the repo. But the reasoning behind my AI-generated code lives in a chat window that disappears?

That's when I remembered we've already solved this exact problem before, with Docs as Code. Documentation was always stale because it lived in a separate system. The fix was simple: bring it into the repo, use Git and Markdown, treat it as part of the workflow. It worked because it stopped depending on people remembering to update a wiki.

AI coding has created a new version of the same gap. But it's not the documentation that's falling behind, it's the context. The reasoning behind why code was written. The decisions made during the session. The alternatives considered and rejected. All of it living in a chat window that gets destroyed after every commit.

I've started thinking about this as Context as Code. Capture the reasoning alongside your code, store it in version control, write it in a format anyone can read. A durable record of why your codebase looks the way it does. Not in a separate tool. Not in a wiki. Not in your head. In your repo, connected to the commit it belongs to.

If Docs as Code made stale documentation unacceptable, Context as Code should make undocumented AI commits feel just as incomplete.

How to start practicing Context as Code

You can try this on your next commit without installing anything.

After your next AI coding session, create a file in your repo, something like context/2026-05-22-stripe-webhook.md. Fill in three things:

What I asked the AI to do. The goal of the session in a sentence or two. "Build a Stripe webhook handler that processes subscription upgrades and handles idempotency."

What approach it took and why. The pattern or solution the AI landed on, and the reasoning behind it. "Used a two-step verification that checks both the event ID and the subscription period to prevent duplicate charges during overlapping billing cycles."

What I rejected and why. The approaches you discussed and decided against. This is the part you'll be most grateful for later. "Rejected a simpler idempotency check using only the event ID — Claude flagged a race condition where two events could fire within the same billing cycle transition."

That's it. One file. Five minutes.

It won't feel worth it the first time. Then three weeks later you'll be debugging a file you can't explain, check the context folder, and find the exact reasoning in front of you. The two-hour debugging session takes ten minutes.

If the manual version clicks but the discipline doesn't stick, that's why we built Jolli Memory. It captures context as you work, stores it in its own Git-backed project store, and never touches your code repo. Works with Claude Code, Cursor, Codex CLI, Gemini CLI, and Copilot. Local-first, free, and open source.

The reasoning should survive

I'm not going to stop vibe coding, it's genuinely changed how I build things. But I'm done accepting that the thinking behind my code disappears every time I close the terminal.

Try it on your next commit. One file. Five minutes. See if it changes how your Monday morning goes.