Thread: reframing Doen as executor-memory research (2026-11-26 → 2026-11-27)
The full working session between the project owner and Claude Code (Opus 5.5): every prompt, every response, and every tool call with its result truncated to 40 lines. Model reasoning is omitted. Credentials, keys and email addresses are redacted.
Prompts
1. I am consinder reverting to the last commit where the application was still grounded in research, which I think was 994be149239e5f9758b5adb32. I want the app to focus on how to capture heuristics in an almost abstract manner. For this I have found this documentation: /Users/edobalve3. 1. a research project into executor memory
2. do that please4. I have reenabled the keys5. no, let's change the model to openai/gpt-6-luna6. commit and use the local key7. what can be done next to bring us closer to the system of the article?8. ok, implement all 5 steps9. Rebuild the entire ui using agent-ui (npm i @ehtb/agent-ui). It is important that the API is completely in the backend.
Don't use the previo10. take the next step using data from the live build-doen project (postgresql://[redacted]11. check again12. continue13. continue14. push it15. Adapt the UI so that our work here with regards to memory and dreaming is reflected in the UI, also historically, since we want to show the 16. I don't need a research page, I want you to reflect the research into the current app UI17. actually, continue working on the research page, but mainly do take the knowledge you gathered and adapt the UI that the way we think about
Prompt 2
I want the app to focus on how to capture heuristics in an almost abstract manner. For this I have found this documentation: /Users/edobalvers/Downloads/The\ components\ of\ agent\ memory\ \\\ Anthropic.pdf . It needs to be more of a research attempt again, where each change is grounded in research.
Tool call: Bash
ls -la ~/Downloads/ | grep -i "agent memory"; f=$(ls ~/Downloads/*agent\ memory*.pdf | head -1); pdfinfo "$f" | grep Pages
Result
The components of agent memory \ Anthropic.pdf 7.1M Pages: 15
Tool call: Bash
pdftotext -layout ~/Downloads/The\ components\ of\ agent\ memory\ \\\ Anthropic.pdf - | sed 's/ */ /g' | grep -v '^\s*$'
Result
Skip to main content The components of agent memory Published Nov 6, 2026 Team Engineering Topics Agents Context engineering Agent memory Søren Kierkegaard wrote that life can only be understood backward, but it must be lived forward. We’ve encountered a similar bind when designing memory for AI agents. As humans, we encode memory constantly as we go about our lives. The hippocampus plays a central role in this, capturing experiences in the moment so that memories form quickly and are immediately available. But only some experiences are consolidated into long- term knowledge. Much of that consolidation appears to happen when our brains are o"ine. As we sleep, and during quiet rest, the hippocampus replays our recent experiences. This is thought to gradually distill those experiences and integrate them into the neocortex—the part of our brains that stores most of what we think of as knowledge. Agent memory can use a similar division of labor. Agents capture much of their work in logs or transcripts. Researchers at Letta and UC Berkeley proposed sleep-time compute as a way for models to use idle time between interactions to reorganize their existing context. The same idea can help agents organize their memory by reflecting on logs to fix mistakes or produce new notes and representations. This process is often called dreaming (Figure 1). Related articles We’ve found that dreaming has been a useful tool for helping us give Claude e#ective memory. In this post, Engineering Mar 24, we share how we’ve come to think about agent memory 2026 and walk through several evaluations we’ve used to Harness design explore agent memory, including the use of dreaming, for long-running … (498 more lines)
Claude
I read all 15 pages. Before anything gets built, one thing needs saying: this direction reverses the 2 October reframe. `agents.md` currently says "the heuristic flywheel is gone; do not rebuild it". That's your call to make, and the paper is a good reason to make it. But the change should be written down as a decision, with the reasons the last attempt failed, so this one doesn't fail the same way. ## Why the paper is a better basis than the old flywheel Several of the paper's findings describe the old flywheel's failures almost exactly: | Paper | What Doen did before | |---|---| | A wiki can grow "larger than the documents themselves" and "abstract nothing" (Borges' map, Fig. 12) | 228 rules, 5 usable | | Sonnet 3.7 kept 413 files and spent its steps maintaining them instead of playing; Fable 5 kept 9 files and got further | 83 of 93 initiatives went into maintaining the flywheel | | A useful rule carries **how it is known to be true**, plus warnings about traps (Opus 5, CL-Bench) | Rules had a citation count but no verification behind them | | "Tell Claude what memory is for, not how": fixed rules like "record only failures" cut the benefit | Extraction prompts were prescriptive and guardrail-shaped (BD-79) | | Dreaming corrects notes **against the transcript as ground truth** | Doen has no transcripts: conversations stay in the browser, so nothing can be checked against them | | Success is measured by task outcomes (a CL-Bench score, graded facts) | Success was measured by citation counts, which were circular | So "capturing heuristics in an abstract way" has a fairly precise meaning in the paper. A heuristic is a **prediction that a pattern will come up again**. It is stated together with the evidence that made it true and the traps found along the way. It lives in a small top layer with links down to the decisions it came from. Dreaming keeps it honest by checking it against those sources. ## A research protocol, so each change rests on evidence 1. **Build the evaluation first, before any heuristic machinery.** The paper's CL-Bench setup maps well onto Doen's decision log. Replay resolved decisions in chronological order. For each one, an agent reads only memory from earlier decisions and predicts which option the person chose. It then sees the real answer and may write to memory. Compare the score against a baseline with no memory. This uses data Doen already has, and the score can't be gamed by activity. 2. **Each change is a hypothesis.** It names the source it rests on (this paper or the RESEARCH_LOG), a metric, the baseline, and the result. A change that doesn't move the eval gets reverted. 3. **Start from the paper's simplest layers:** notes that carry provenance, plus a small injected index. Add dreaming and wiki-style structure only once the eval shows a gap they would fill. The paper found wikis help on questions that span several documents and don't help on lookups in a single document. ## Answers to your earlier question - **Revert:** don't go back to `994be149`. It doesn't add anything this needs, and the migration mismatch still applies. Work forward from HEAD instead. Decision capture (with rationale and rejected options) and memory correction (`amend_memory`) are already the paper's "transcript" and "dreaming corrects memory" layers in early form. - **Biggest open risk:** the corpus may be too small. In early October there were about 24 resolved decisions, and nearly all of them were about Doen's own internals. The first job is to count what's on the live instance and check whether the replay eval can show a difference at that size. Two decisions are yours: 1. **Audience:** is Doen still for designers and product owners, or is this now research into executor memory? That decides whether a heuristic is written for a person or for an agent. 2. **First step:** shall I write the reversal into `design-principles.md`, `agents.md` and a RESEARCH_LOG entry, then build the replay eval and get a baseline on the live instance? That would be the first grounded change.