Twitter/X

Anthropic engineer: "your agent doesn't know it keeps making the same mistake.

Brief

Phosphenq highlights an Anthropic engineer's 31-minute demo showing agents "meet you for the first time every session" and that Anthropic uses claude.md, memory files, and a nightly rewrite pass to make agents fix themselves overnight. The post links a Loop Engineering piece where Boris Cherny shipped 259 Claude-authored PRs in one month.

Why it matters

Anthropic engineer: "your agent doesn't know it keeps making the same mistake. it meets you for the first time every session." Anthropic's fix: claude.md + memory files + a nightly pass that rewrites them so agents self-correct overnight.

Key details

  • 31-minute video with key timestamps: 00:00 — a year of agent memory (claude.md to dreaming); 10:41 — what happens when a thousand agents write to one file at once (concurrency); 19:23 — every student got the same answer wrong because the curriculum was the problem; 28:23 — response to the Claude code leak.
  • Phosphen's 'Loop Engineering' example: Boris Cherny shipped 259 pull requests in a single month (last December), all written by Claude; Phosphen claims he built a system that 'codes while I sleep.'
Cleaned source text

Anthropic engineer:

"your agent doesn't know it keeps making the same mistake. it meets you for the first time every session."

in 31 minutes she shows how anthropic gets its agents to fix themselves overnight, and why the prompt was never the lever.

claude.md + memory files + a nightly pass that rewrites them - that's the whole system.

→ 00:00 - a year of agent memory in order, from claude.md to dreaming

→ 10:41 - what happens when a thousand agents write to one file at once

→ 19:23 - every student got the same answer wrong, and the curriculum was the problem

→ 28:23 - someone in the room brings up the claude code leak, and she answers

worth more than any paid agents course on your timeline right now

watch it, then read how i built one that codes while i sleep below.

Video

Phosphen (@phosphenq)

Article

Loop Engineering: Build an AI That Codes While You Sleep

Last December, Boris Cherny shipped 259 pull requests in a single month. Every one written by Claude. He says he did not open an editor the whole time.

His job was not to write code. It was to write

— https://nitter.net/phosphenq/status/2068468824421364103#m