I fixed an outage with Claude Code. Then I asked Codex to break it again.
On the morning of 5 December, Codex raised our checkout's database pool from 20 to 100 in 3 of 3 runs. That is the exact change that had taken checkout down.
Same morning, same repo, same request: with one shared note, it refused in 3 of 3 runs and named the outage behind the rule.
That note came from a different AI. Here is the whole day, hour by hour, with the real numbers, including two bugs I found in my own tool.
The honest note first: this is a demo repo with a fictional team and a made-up incident. The Datadog monitor is real (a trial account), and so is every run below. Nothing was edited after the fact.
Where I started
I build cachly alone, with several AI coding tools. Each of them is good at its job. None of them knows what the others learned.
So I built the smallest version of the problem I could:
- A checkout service with 4 replicas.
- A Postgres database that allows 100 connections.
- A commit that raised each replica's pool to 100: 4 × 100 = 400 connections against a limit of 100.
A real Datadog synthetic test calls a slow checkout endpoint every 15 minutes. Its first run failed at 00:38 with 6 seconds against a 4-second limit.
09:35: Claude Code fixes it
Claude Code read the alert through Datadog's MCP server, then the code and the git history:
- It found 400 against 100 and put the pool back to 20.
- It wrote down the lesson in cachly: what broke, why, and the commit that caused it.

One honest note: Claude Code would have refused the bad change without cachly too. It read the git history and the comment in the code. The gap is not Claude. The gap is everyone else.
09:41 to 09:53: the next AI
Same repo, a new session in Codex, one sentence: "Raise the DB pool to 100."
- Without cachly: 3 of 3 runs raised it.
- With cachly and its hooks: 3 of 3 refused and named the earlier incident.
- With cachly but without hooks: Codex did not ask cachly on its own (1 run). That is why the hooks matter.
In one run without cachly, Codex even wrote the problem into its own summary: four replicas × 100 exceeds the limit of 100. It wrote that after it had made the change.


15:00: no shortcuts
The morning runs used a flag that skips Codex's hook approval. So I approved the hooks once, the normal way, and ran it again without the flag: 3 of 3 refused.
15:08 to 15:51: Cursor, and my first bug
Cursor without cachly raised the pool in 2 of 3 runs. In the third run it asked first.
With cachly, the first runs did not count. Cursor was reading a different memory: a leftover login file from another account on my laptop. That was a bug in cachly. A missing setting fell back to that file without a word.
It was fixed and released the same afternoon. At 15:51, on a fresh copy set up with one init command and no hand edits: 2 of 2 refused, reading the right memory.
16:10: the second bug
When I checked the lesson afterwards, it was not my text anymore.
Cursor had "confirmed" it by writing it again in its own words, four times. The facts that mattered were gone: "not deployed" and "not verified against telemetry". It looked like a confirmation. It was a rewrite.
I restored the original at 16:25.
18:25: the fix that wasn't
A new version was supposed to stop this: a different author without a new fact only counts as a confirmation.
Run 8 still rewrote the lesson. Cursor's text contained "4x20=80". The check counted the 80 as a new fact, but it was only arithmetic.
The next version, in progress as I write this, changes the rule completely. A later agent can only add a note under a lesson. It can no longer replace the text or flip the outcome.
Update, same evening: version 0.14.15 is out. A later agent that tries to flip the outcome now gets "Outcome change rejected", and nothing is written. A replay of the calls from run 8 against the published package, with a stand-in for the database, passed all 10 checks: both calls were rejected and the lesson stayed byte for byte the same. Against 0.14.14 the same replay passed none of the 10 checks. A fresh run with Cursor is next.
One lesson, three tools, one day, and two bugs that only showed up because a second AI touched the same memory.
What cachly does for me today
- Every fix I explain once goes into one shared memory.
- Claude Code, Codex (through its hooks) and Cursor read it before they touch the code.
- Each lesson shows who wrote it and when it was last checked.
- Lessons older than 5 and 10 days get a visible mark, so no AI trusts a stale note blindly.
How you can make your team's AIs remember one incident
Everything below comes from the runs above.
- Pick one rule that already cost you an outage, a revert or a long night.
- Write the why next to it. "Pool max = 20" looks like a tuning knob. "Pool max = 20, because 4 × 100 = 400 took checkout down" does not.
- Put the decisive fact in the first sentence. Many tools only show the start of a note.
- Make it reachable from every AI your team uses, not just yours.
- Turn on the hooks wherever the tool has them. Without them, Codex did not ask on its own.
- Ask a second AI for the risky change on purpose, three times. Count the refusals.
- Run the same request without the memory. That is your baseline.
- Read the lesson again after every run. If it changed, find out who changed it.
- Give every note an author and a last-checked date, and keep the history.
Count refusals, not promises.
If you want to try it on your own repo, npx @cachly-dev/mcp-server@latest autopilot connects the AI tools it finds.
Which rule in your repo would your colleague's AI break first?
cachly.dev
For solo developers, teams and whole companies
Explain it once. Every AI knows it.
Shared team memory between your code, your tickets and your AI. Hosted in the EU, in every tool. cachly keeps the fixes, the decisions and the traps, so the next session starts with them. Claude Code, Cursor, Copilot, Windsurf, Codex, Gemini CLI and JetBrains all read it. Free for one project, no card needed.
Servers in the EU · one command, restart your editor, done · 1 project free
Four ways to install
- Claude Code
/plugin marketplace add cachly-dev/cachly-mcp /plugin install cachly-brain@cachlyThen turn on auto-update once:
/plugin→ Marketplaces → cachly → Enable auto-update- Any MCP editor
npx @cachly-dev/mcp-server@latest autopilot- JetBrains
- JetBrains Marketplace: cachly-brain