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

推荐订阅源

Google DeepMind News
Google DeepMind News
S
Security Affairs
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
Microsoft Azure Blog
Microsoft Azure Blog
雷峰网
雷峰网
Recent Announcements
Recent Announcements
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
博客园_首页
The Cloudflare Blog
M
MIT News - Artificial intelligence
博客园 - 【当耐特】
MyScale Blog
MyScale Blog
S
SegmentFault 最新的问题
P
Proofpoint News Feed
Y
Y Combinator Blog
Jina AI
Jina AI
博客园 - 聂微东
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
F
Full Disclosure
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
T
Tailwind CSS Blog
J
Java Code Geeks
Vercel News
Vercel News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Stack Overflow Blog
Stack Overflow Blog
罗磊的独立博客
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
T
The Blog of Author Tim Ferriss
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
博客园 - 三生石上(FineUI控件)
W
WeLiveSecurity
PCI Perspectives
PCI Perspectives
Attack and Defense Labs
Attack and Defense Labs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
宝玉的分享
宝玉的分享
IT之家
IT之家
Hacker News: Ask HN
Hacker News: Ask HN
The Register - Security
The Register - Security
T
The Exploit Database - CXSecurity.com
T
Threat Research - Cisco Blogs

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 Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
AutoDream Validated What I Was Already Building: An Agent Memory System That Works
BlazOrbit · 2026-05-08 · via DEV Community

A few days ago, the documentation for Claude Code AutoDream circulated — Anthropic's new feature that consolidates Claude's automatic memory across sessions. The technical community received it as an innovation. I read it with a different feeling: validation.

Not because AutoDream is minor — it's a major step toward making AI agents maintain long-term coherence — but because a few months ago, Claude and I co-designed an equivalent system (and in some respects a more structured one) for the BlazOrbit project.

A note on origins: It wasn't just me drawing the memory architecture on paper and imposing it on the agent. It was Claude herself who, in an early session, proposed an incremental work system when I asked her to design a protocol for long development sessions. Her first version was fragmented: tasks/, notes/, ideas/ directories, scattered state files. I made her rethink it. I asked for something simpler — a single living document that would act as a continuous session. From that conversation, .exclude/plans/next-session.md was born: a rolling file with no done/, no archive/, no ideas/ — just candidates, deferred items with an aging counter, and loose notes. Everything else (AGENTS.md as index, .exclude/agents/ as depth, WORKFLOW.md as contract) settled in over subsequent sessions, but the seed was an iteration between human and AI, not a unilateral decree.

AutoDream didn't teach me what to do; it gave me the vocabulary to explain why a system born from that iteration works.

This post is that exercise: mapping AutoDream's phases against my current protocol, showing where they converge, and explaining why certain design decisions are what really matter when an agent's memory grows beyond a couple of sessions.

To avoid staying in theory, I audited Claude's actual memory from my project — the files Claude has been automatically writing in ~/.claude/projects/<project>/memory/. What I found confirms the thesis and adds nuances that only become visible when you contrast the agent's memory against the system we co-designed.


My Memory Architecture in One Sentence

AGENTS.md is the startup index; .exclude/agents/ are the topic files; .exclude/WORKFLOW.md is the orchestration protocol; .exclude/plans/next-session.md is the accumulated signal transcript; and .agents/skills/ are the modular exportable capabilities.

Translated into AutoDream's language:

AutoDream Layer Equivalent in My System Role
MEMORY.md (index, <200 lines) AGENTS.md (index, soft cap 350 lines) What the agent reads on wake-up
Topic files (debugging.md, api-conventions.md…) .exclude/agents/<area>.md (css-architecture.md, testing.md, state-axes.md…) Deep knowledge by domain
Session transcripts (JSONL) .exclude/plans/next-session.md + .exclude/tasks/active/ Signal accumulated between sessions
Dream system prompt .exclude/WORKFLOW.md Consolidation protocol
N/A .agents/skills/blazorbit-user/ + docs/ARCHITECTURE.md Reusable capabilities + public face

Real Audit: What's in Claude's Memory for My Project

Before continuing with theory, let's look at data. This is what Claude has automatically accumulated in memory/ for BlazOrbit:

memory/
├── MEMORY.md                           (6 lines, 1,039 bytes)
├── startup_protocol.md                 (20 lines, 2,518 bytes)
├── reference_workflow_docs.md          (18 lines, 1,407 bytes)
├── user_role.md                        (11 lines, 837 bytes)
├── reference_rs0041_autogen.md         (12 lines, 1,516 bytes)
├── changelog_policy.md                 (9 lines, 784 bytes)
└── bobinitializer_static_ssr.md        (28 lines, 1,881 bytes)

Enter fullscreen mode Exit fullscreen mode

The index (MEMORY.md) is impeccable: 6 lines, 6 pointers, not a word wasted. The topic files have structured metadata (name, description, type, originSessionId). There's no random-notes.md, no contradictions, no relative dates like "yesterday".

But there's something more interesting: Claude didn't invent this structure ex nihilo. She learned it from the system we co-designed.

Compare the startup_protocol.md from Claude's memory with .exclude/WORKFLOW.md from the repo. They say practically the same thing: read AGENTS.md, then WORKFLOW.md, then next-session.md, then tasks/active/. The agent's memory is a mirror of the protocol we sedimented across sessions.

This is the first important lesson: when a human and an agent co-design a clear structure, automatic memory converges toward it. Without that structure, the agent's memory generates noise. With it, it generates a reflection.

What Claude's Memory Captured Well (That Isn't in AGENTS.md)

Automatic memory shines at capturing one-off decisions that arose in session that the human never formalized in a permanent doc:

  • bobinitializer_static_ssr.md: The exact workaround to prevent BOBInitializer from hiding ChildContent in static SSR, with the Razor snippet and explanation of why. This isn't in AGENTS.md or docs/ARCHITECTURE.md. It surfaced in a debugging session and Claude caught it.
  • reference_rs0041_autogen.md: The detail that PublicAPI.Unshipped.txt isn't enough for Razor; you also need GlobalSuppressions.cs with one attribute per component, and that there's an autogen project that reconciles this. A toolchain detail I mentioned in passing.
  • changelog_policy.md: The rule that [Unreleased] stays empty until release 1.0.0. A process decision I made but never wrote down anywhere committed.

These three files are pure value. They're things I know but didn't formally document because they were "obvious" or recent. Automatic memory acts here as a conversational context backup.

What Claude's Memory Unnecessarily Duplicates

Now the problematic part:

  • startup_protocol.md duplicates .exclude/WORKFLOW.md (the "Session start" section).
  • reference_workflow_docs.md duplicates .exclude/agents/INDEX.md and AGENTS.md itself (the "Project layout" section).
  • user_role.md duplicates the "Language policy" section of AGENTS.md and the "I don't commit" rule from WORKFLOW.md.

These three files add no new information; they rephrase it. They're not contradictory — Claude is too good for that — but they are redundant. They consume context tokens that could be used for real work.

This is where the AutoDream parallel comes in: if I let this accumulate for 30 more sessions, those 3 files would keep growing in granularity and eventually diverge from the repo's source of truth. My system invalidates them by design (verify against live code before claiming), but AutoDream would be the one having to prune them if I didn't have that protocol.

What Claude's Memory Doesn't Know (Because My System Handles It First)

Today, during this session, we created a complete plan for BlazOrbit.Charts in .exclude/plans/bob-charts.md (237 lines, 7-phase structure). Claude's memory doesn't know about it. Her last write was May 7, 2026; the plan is from May 8.

Why doesn't it matter? Because my system doesn't depend on Claude remembering. The plan lives in the repo, in a file the agent reads at session start (next-session.md points to it, or directly to the file if it's active). The agent's memory is a cache; the repo is the database. If the cache falls behind, the startup protocol refreshes it.


Phase by Phase: The Same Cycle, Named Differently

AutoDream describes four phases. My protocol doesn't name them that way, but it executes the same operations in the same order.

Phase 1: Orientation

AutoDream: ls of the memory directory, read MEMORY.md, skim existing topic files to avoid duplicates.

My system: At the start of each session, the agent executes sequentially:

  1. git branch --show-current (branch context).
  2. Read AGENTS.md root.
  3. Read .exclude/plans/next-session.md.
  4. Glance at .exclude/tasks/active/.
  5. Attend to the user.

The subtle but important difference: my orientation includes version control state as the first step. Memory doesn't live in a vacuum; it lives in a repo with a branch policy. If the agent doesn't know what branch it's on before editing, architectural memory becomes dangerous.

Audit evidence: Claude's memory (startup_protocol.md) has internalized this exact list. The agent learned the orientation I imposed and now repeats it as its own memory. It's a perfect example of how a well-designed human protocol becomes the agent's "dream."

Phase 2: Gather Signal

AutoDream: Search session transcripts for specific patterns: user corrections, "remember this," architectural decisions, recurring themes. Uses narrow grep, not exhaustive reading.

My system: Signal isn't searched in transcripts (I don't store them as JSONL; Claude does, but I don't depend on them). It lives in two places:

  • .exclude/plans/next-session.md: a rolling backlog with sections Candidate streams, Deferred (with a deferred: N counter), and Loose notes / ideas. It's the equivalent of the "daily logs" AutoDream mentions as priority #1.
  • The live code itself: the protocol's hard rule is "I verify before claiming." If a memory assertion is going to guide an action, the agent must validate it against the code using Glob/Grep/Read before acting.

Audit evidence: The three memory files that deliver the most value (bobinitializer_static_ssr.md, reference_rs0041_autogen.md, changelog_policy.md) are exactly the kind of signal that surfaces in session and that a human doesn't formalize. My next-session.md has a "Loose notes / ideas" section for this, but Claude's memory does complementary work: it converts those loose notes into permanent topic files. On a project without my protocol, those three details would have been lost. In my project, both systems coexist: the human jots in next-session.md, the agent consolidates in memory/.

Phase 3: Consolidation

AutoDream: Merge new signal into existing topic files, convert relative dates to absolute ones, remove contradicted facts, prune obsolete memories, merge overlapping entries.

My system: Consolidation is not a periodic batch; it's a continuous rule:

"After modifying code: if the change touches a contract documented in AGENTS.md or .exclude/agents/, update the corresponding section in the same turn."

There's no sleep phase. Every time code changes, memory updates in place. If I discover drift between doc and code, there are three options:

  • If trivial (typo, renamed item): fix doc in the turn.
  • If structural: fix what I can and flag the rest as an item in next-session.md.
  • If a .exclude/ file becomes obsolete: delete it or have it clean up discards and completed work. There's no "history" file. Memory is a working cache, not a log.

AutoDream converts "yesterday" into "2026-03-15." My system does something equivalent but distributed: .exclude/agents/INDEX.md marks each area with a verification date (stable (2026-05-05)). When a section is re-confirmed against the code, the date updates. When a date is months old, the agent knows to re-read that area before trusting it.

Audit evidence: Claude's memory has no relative dates; it already uses absolute ones (2026-05-02, 2026-05-03). That's good. But it also has no "stability date" mechanism like my INDEX.md. If bobinitializer_static_ssr.md becomes obsolete because I change the framework, Claude has no convention to mark it as drift. My system does: the file would move to drift in INDEX.md and the agent would revalidate it in the next session.

Phase 4: Prune and Index

AutoDream: Keep MEMORY.md under 200 lines, remove pointers to dead files, reorder by relevance, resolve contradictions between index and content.

My system: This is where my protocol is more structured than AutoDream. There's not a single index with one cap; there are cascading structural caps:

File Soft Cap Action When Exceeded
AGENTS.md (root) 350 lines Move section to .exclude/agents/<area>.md
.exclude/WORKFLOW.md 250 lines Move heuristics to .exclude/agents/conventions.md
.exclude/agents/<area>.md 500 lines Subdivide by sub-area
.exclude/agents/INDEX.md 100 lines Re-organize table by domain
.exclude/plans/* 200 lines Split into sub-plans

When the root AGENTS.md grows beyond 150 lines in a section, that section expands into .exclude/agents/<area>.md and leaves a ≤20-line summary + pointer in root. The index (INDEX.md) is a living map that promotes or demotes material according to its stability.

AutoDream deletes random-notes.md. My system doesn't even allow it to be created: if a note doesn't fit into an existing area, it either becomes an ad-hoc plan with "done" criteria, or it gets discarded.

Audit evidence: Claude's MEMORY.md has 6 lines (excellent), but the pruning pressure is external: I impose it through the protocol. Without WORKFLOW.md reminding the agent not to create loose files, Claude's memory would have 20 files instead of 6. The structure of Claude's index is an effect, not a cause. The cause is the system.


Where My System Goes Beyond AutoDream

Anthropic's architecture solves the memory decay problem for a generic agent. My system solves the same problem but adds layers that only make sense when a human and an agent collaborate for months on a real software project.

1. Deliberate Bilingualism

AutoDream operates in a single language (English). Claude's memory for my project is also in English, even though I prefer Spanish in conversation. My system intentionally separates:

  • English: code, XML docs, root AGENTS.md, commits, public artifacts.
  • Spanish: .exclude/WORKFLOW.md, conversation with the user, planning notes.

Why? Because AGENTS.md is read by the agent at every session, and the agent reasons better in English for technical identifiers. But the protocol is designed and reviewed by the human, and my working language is Spanish. AutoDream doesn't have this separation because Claude doesn't converse with a human in their native language within the dream cycle. Mine does.

2. Public / Private Split

AutoDream doesn't distinguish between memory the project needs to publish and memory that's just for the agent. My system has an explicit boundary:

  • docs/ARCHITECTURE.md: the public face. Contains the same rules as .exclude/agents/ but without internal references. It's what I read when I need to remember how the build pipeline works.
  • .exclude/agents/: the private face. Includes operational heuristics like "when in doubt, if breaking it isn't caught by CI, it's a soft rule."

This separation means I can open the repo publicly without filtering my agent interaction protocol. AutoDream, living in ~/.claude/, is inherently private, but it has no mechanism for selective promotion to the project.

3. Modular Exportable Skills

The .agents/skills/blazorbit-user/ directory is a reusable knowledge package that doesn't belong to a single repo. It contains:

  • SKILL.md: the mental model and golden rules.
  • references/components.md, references/variants.md, references/icons.md: auto-regenerated catalogs built by reflection over the compiled assembly.

This is a level of abstraction AutoDream doesn't have: the ability to export a complete knowledge domain and reuse it in other contexts. If tomorrow I start a project that consumes BlazOrbit, I don't copy .exclude/agents/; I activate the blazorbit-user skill and the agent already knows how to use the library without me explaining anything.

4. Deferred Counter with Forced Decision Threshold

AutoDream triggers every 24h + 5 sessions. My system has a more aggressive aging mechanism:

"Items with deferred: N indicate how many sessions they've been deferred; upon reaching 3, a decision is mandatory: (a) promote to top-priority, (b) downgrade to loose ideas, (c) delete."

There's no sleep cycle waiting. If something has gone untouched for three sessions, the protocol forces a decision in the fourth. This prevents the backlog from becoming a graveyard of "maybe someday."

5. Branch Policy as Part of Memory

AutoDream is read-only with respect to code during sleep. My system goes further: memory includes the rule of when not to edit. The protocol requires:

  • If on develop, suggest creating a derived branch before editing.
  • If on master or a tag, stop and ask.
  • Short-lived PRs (1–3 days).

Architectural memory is useless if the agent applies it on the wrong branch. AutoDream assumes the execution environment is safe; my system doesn't trust that premise.


The Four Invariants That Make This Work

AutoDream and my system look different in implementation, but they share the same design invariants. These are what really matter:

Invariant 1: The Startup Index Has a Hard Cap

AutoDream: 200 lines for MEMORY.md.

My system: 350 lines for AGENTS.md, with migration pressure at 150.

Why it works: If the agent reads too much on startup, it consumes context window it needs for real work. A short index forces deep knowledge to be referenced, not included.

Evidence: Claude's MEMORY.md for my project has exactly 6 lines. It's not Anthropic magic; it's that the system only generates 6 topic files worth remembering, because everything else is in the repo or was discarded.

Invariant 2: Deep Memory Is Partitioned by Domain

AutoDream: topic files (debugging.md, api-conventions.md).

My system: .exclude/agents/<area>.md (css-architecture.md, component-lifecycle.md, testing.md).

Why it works: A monolithic memory file forces the agent to load debugging patterns when it just wants to know how the CSS pipeline works. Partitioning allows loading on demand.

Invariant 3: Memory Is a Cache, Not a Log

AutoDream: removes contradicted entries, prunes obsolete ones, deletes random-notes.md.

My system: deletes obsolete files from .exclude/, no done/, no archive.

Why it works: If you keep everything, the agent wastes time reasoning about facts that are no longer true. Memory must be aggressively destructive. The value isn't in what you remembered, but in what you decided not to remember.

Evidence: Claude's memory has no bob-charts.md. The plan exists in the repo (.exclude/plans/bob-charts.md, 237 lines), but since it's a temporary plan rather than a project invariant, Claude didn't memorize it. Correct. If the plan went to memory/, it would be noise tomorrow once it's implemented.

Invariant 4: The Final Source of Truth Is the Code, Not the Memory

AutoDream: converts relative dates to absolute ones to avoid temporal confusion.

My system: "Verify before claiming" — the agent must re-read the code before acting on a memory.

Why it works: Notes can lie. Comments can be outdated. The only artifact that doesn't lie is the executable code. Memory that isn't grounded in the reality of the repo is hallucination with a timestamp.

Evidence: startup_protocol.md in Claude's memory duplicates .exclude/WORKFLOW.md. If Claude acted on startup_protocol.md without re-reading WORKFLOW.md, she could be working from a stale version. My protocol prevents this: the agent reads the live file before the memory cache.


Conclusion: AI Memory Isn't Magic, It's Information Discipline

AutoDream is an excellent implementation of a pattern that, until now, every Claude Code user had to build by hand or suffer the consequences. Anthropic has done the work of systematizing it, and that's valuable.

But what has worked for me over months in BlazOrbit isn't the automation of sleep; it's the waking protocol. It's the decision that memory lives in the repo, not in ~/.claude/. It's the separation between index and depth. It's the rule that doc and code update in the same turn. It's the line cap that forces restructuring before memory becomes noise.

The audit of Claude's actual memory confirms something I suspected: my system doesn't replace automatic memory; it feeds and disciplines it. Without AGENTS.md and .exclude/WORKFLOW.md, Claude's memory would have generated 20 disorganized files. With them, it generated 6 clean files that faithfully mirror the human protocol. But even so, the agent's memory duplicates information already in the repo and falls behind recent plans. Those are the gaps that only a human protocol, reaffirmed session by session, can close.

If you're building a project with AI agents, don't wait for AutoDream to arrive. You can have an equivalent system today with four markdown files and a couple of golden rules:

  1. A short index you read at startup.
  2. Topic files by domain, with size caps.
  3. A rolling backlog that ages aggressively.
  4. And above all: memory is reviewed against the code, never the other way around.

The rest is implementation details.


Memory system and continuous session audit for BlazOrbit. Audited and written by Kimi K2.6 as technical comparison with AutoDream. Reviewed and corrected by the author.