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

推荐订阅源

J
Java Code Geeks
博客园 - 聂微东
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园_首页
量子位
阮一峰的网络日志
阮一峰的网络日志
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG
D
DataBreaches.Net
B
Blog
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
博客园 - 三生石上(FineUI控件)
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
IT之家
IT之家
aimingoo的专栏
aimingoo的专栏
B
Blog RSS Feed
H
Help Net Security
The Cloudflare Blog
U
Unit 42

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
Your AI Coding Agent Needs Scar Tissue
Sam · 2026-06-15 · via Hacker News - Newest: "AI"

The most expensive AI mistake is not when your coding agent gets something wrong.

It is when it gets the same thing wrong again tomorrow. That is the part that starts to wear you down. Not because the model failed once.

That happens.

The frustrating part is when you already corrected it.

You explained the repo pattern.
You told it why that migration broke.
You pointed out the weird CI issue.
You showed it the dependency that already failed.


The agent fixed the task.
The session ended.

Then two days later, a new session suggests the same bad idea like none of it ever happened.

That is the problem I have been thinking about lately. AI coding agents do not just need bigger context windows.

They need scar tissue.

Your agent needs scar tissue

What I mean by scar tissue

Scar tissue is remembered failure.
It is not generic documentation.
It is not a massive chat transcript.

It is not another bloated AGENTS.md file that gets stuffed into every prompt whether it is relevant or not.

Scar tissue is the durable memory of what went wrong, why it went wrong, and what should not be repeated.

Scar tissue equals remembered failure
Examples:

Do not use this migration pattern in this repo.
It passes locally but breaks staging because of X.

Do not replace this middleware.
It looks redundant, but it protects the admin route.

Do not use this package again.
We tried it and it failed on Vercel because of native dependencies.

The Stripe webhook handler must preserve the raw body.
Normal JSON parsing breaks signature verification.

This test failure usually means the mock user is missing a role.
Do not rewrite the auth flow first.

That kind of knowledge is incredibly valuable.

But most of the time, it disappears.

It lives in someone’s head.
Or buried in Slack.
Or trapped in yesterday’s AI session.
Or hidden somewhere in a pull request comment nobody will ever read again.

Context is not the same thing as learning

A lot of AI coding workflows still treat context like the solution to everything.

Add more files.
Add more instructions.
Add more docs.
Add more examples.
Add more project history.

Eventually the prompt becomes a junk drawer. The agent has more text, but not necessarily more judgment. That is the distinction I care about. Context tells the agent what is nearby. Scar tissue tells the agent what it learned the hard way.

Those are not the same thing.

Context vs scar tissue

The old pattern

This is what a lot of AI coding sessions look like:

Session 1:
Agent suggests bad approach.
Developer corrects it.
Agent fixes the issue.
Session ends.

Session 2:
Agent has no memory of the correction.
Agent suggests the same bad approach.
Developer loses trust.

The model did not technically “forget.”

It never had durable memory in the first place. It only had temporary working space. Once the session ended, the lesson vanished.

The better pattern

This is the pattern I want instead:

Session 1:
Agent suggests bad approach.
Developer corrects it.
The lesson gets stored as a durable project memory.

Session 2:
Agent starts a similar task.
The relevant scar gets retrieved.
Agent avoids the old mistake.

That is a different kind of AI coding workflow.

Not just faster.
Not just cheaper.
Not just fewer tokens.

More experienced.


Why this matters more as agents get better

The better coding agents get, the more this matters. When agents only wrote tiny snippets, forgetting was annoying. Now they can touch real architecture.

They can refactor files.
They can generate migrations.
They can write tests.
They can modify production-adjacent code.

That makes repeated mistakes more expensive.

If an AI agent is going to operate inside a real codebase, it needs more than instructions.

It needs a memory of consequences. It needs to remember the things that hurt.

Where Empirical fits

This is one of the use cases I am exploring with Empirical.

Empirical is a memory layer for AI tools.

Instead of stuffing every lesson, decision, preference, and warning into a giant prompt, Empirical lets an agent retrieve the specific memory it needs when it needs it.

For coding agents, that means the memory layer can hold things like:

Project decisions
Repo conventions
Failed approaches
Bug history
CI/CD quirks
Security gotchas
Dependency warnings
“Never do that again” lessons

That is the stuff that usually gets lost between sessions.

And it is also the stuff that makes a developer more useful over time.

Why should an AI coding agent be any different?

Empirical scar tissue workflow

The future is not just smarter agents

I do not think the next leap in coding agents is only going to come from smarter models.

Some of it will come from better memory.

Not memory as a transcript dump.
Not memory as “load the whole repo into context.”


Memory as accumulated judgment.
Memory as operational history.
Memory as scar tissue.

Because the real win is not just an agent that can write code. The real win is an agent that remembers why the last fix failed.

I wrote more about the idea here:

https://empirical.gauzza.com/blog/ai-coding-agent-scar-tissue-your-ai-coding-agent-needs-scar-tissue/