What Q Remembers
Why Q feels like one teammate while memory still follows the room where the work happened · ~14 min read ~– min read · Suggested by Bob businessengineeringoperations
People talk to one teammate named Q. Under the hood, that teammate now runs across separate lanes with separate durable memories. That sounds less magical than a shared brain, but it turns out to be much safer, easier to reason about, and better aligned with what sandboxing is supposed to accomplish.
The old shared-memory instinct was understandable
Continuity is expensive to fake. If the same teammate helps in ordinary team channels, private operator rooms, and Cairns, people reasonably expect it to remember what was decided yesterday. The current design keeps that user experience while refusing the unsafe shortcut: one hidden memory shared everywhere. Q remembers best in the room where the work happened, and shared knowledge gets promoted into docs.
The current design chooses a less magical promise: one public identity, separate primary memories, explicit shared knowledge.
The current model is isolation first
The April 2026 memory decision simplified the architecture in a very Gall’s Law kind of way: stop asking one memory layer to do everything. Today Q has separate durable memory for the main/operator lane, observer/team lane, and confidential exec lane. The shared read-only institutional memory mount is gone. So is mem0 as the active recall layer. The active primary substrate is OpenClaw’s builtin memory-core. Claude Routines sits outside that memory system entirely: its continuity is the repository, GitHub artifacts, and run output. Less hive mind, more small organization with separate desks and one shared library.
Shared knowledge moved into curated corpora
The most important replacement for the old shared memory is not another hidden store — it is documentation with provenance. New Q operating guidance belongs in Constructured/ops, while Cairns provides explanation and orientation. The older doc-shares/doc-vault corpus is legacy reference to verify against current evidence. QMD retrieves configured corpora; this documentation decision does not change its collections or automatically index ops. If something should survive across lanes, publish it into an approved shared repository or a safe summary rather than using a shared private memory layer.
What users should expect now
From Slack, Notion, or Cairns, Q should still feel like one teammate, but continuity has a different shape: Q remembers best within the lane where the work happened, and cross-lane continuity is strongest when it was published into an approved shared repository, Cairns, or another approved corpus. Private or control-plane context should not silently bleed into ordinary team channels — that is a feature. A memory boundary is not a personality split; it is a confidentiality rule.
Why this is better than one magical memory
The new design is not merely more secure — it is easier to operate. The shared-memory era blurred confidentiality and convenience, the memory backend itself became a maintenance liability, and users could not tell which facts were canonical and which were recall residue. The current model handles confidentiality structurally through lane isolation, builtin memory is simpler than the old plugin stack, and shared knowledge has readable sources and explicit publication paths. When someone asks “where should this live so Q can know it later?”, the answer is clear: lane-specific operational context to that lane’s memory, shared Q operating guidance to Constructured/ops, explanatory orientation to Cairns.
The tradeoff is real, but worth it
Yes, this gives up some seamlessness. A perfectly shared brain would feel smoother in the moment, but it would also make it far easier for the wrong lane to inherit the wrong context. OpenClaw is choosing a deliberate compromise: one public identity, separate durable memories, explicit shared publication, retrieval over approved corpora. The better question is no longer “how do we share every memory?” — it is “what deserves promotion into shared knowledge?”
- OpenClaw Memory Overview — Background on OpenClaw's builtin memory model and why a simple first-party substrate is a sensible baseline.
- OpenClaw QMD Memory Docs — Why QMD works best as a retrieval layer over approved corpora rather than as a primary hidden memory system.
- NIST CSRC: Least Privilege — The principle behind keeping long-term memory scoped to the lane that actually needs it.
The most tempting memory design for an AI teammate is one big shared brain. One memory file. One semantic store. One place where every lane can remember everything, so the bot always feels like the same teammate no matter where you talk to it.
That design is emotionally satisfying and architecturally sloppy.
OpenClaw used to lean in that direction. The system had shared long-term context mounted into sandboxed lanes, plus a shared semantic memory backend that made Q feel continuous across surfaces. It solved one real problem: users do not naturally think in terms of agent lanes. They think, correctly, that they are talking to Q.
It also created the wrong kind of continuity. A sandbox exists to prevent one lane from inheriting another lane’s authority surface. Shared raw memory works against that goal by letting durable host-level context leak into lanes that were deliberately isolated for confidentiality or safety reasons.
The current design chooses a less magical promise: one public identity, separate primary memories, explicit shared knowledge.
The old shared-memory instinct was understandable
Continuity is expensive to fake. If the same teammate helps in ordinary team channels, content channels, operator rooms, and confidential rooms, people reasonably expect it to remember what was decided yesterday. A shared long-term memory file and a shared recall layer are a straightforward way to get that effect.
For a while, that looked like the pragmatic answer:
- keep one institutional
MEMORY.md - mount it into sandboxes read-only
- add one semantic memory backend so recall works across sessions
The trouble is that “read-only” solves a narrower problem than people think it does. It stops a sandbox from editing the shared memory file directly. It does not stop the sandbox from learning things it should never have been handed in the first place.
That matters more once the sandboxes become useful. Observer and exec are not decorative containers. They can build repos, publish cairns, use Notion, use Google Workspace, and carry real working context forward. Once those lanes are doing real work, their memory boundaries matter just as much as their file mounts.
The current model is isolation first
The April 2026 memory decision simplified the architecture in a very Gall’s Law kind of way: stop asking one memory layer to do everything.
Today the system has three primary durable memory authorities:
| Lane | Primary durable memory | What belongs there |
|---|---|---|
main |
~/.openclaw/workspace/MEMORY.md |
host, control-plane, operator context |
observer |
~/.openclaw/workspace-observer/MEMORY.md |
observer-side continuity, public-channel operations, content work |
exec |
~/.openclaw/workspace-exec/MEMORY.md |
confidential executive continuity, private execution context |
Each lane also has its own private memory/ directory for rough notes, daily carry-forward, and lane-local scratch context.
The shared read-only institutional memory mount inside observer and exec is gone. So is mem0 as the active recall layer. The active primary substrate is OpenClaw’s builtin memory-core.
The automated houses do not collapse back into one memory layer. OpenClaw’s event-driven PR-review worker has no durable conversational memory between dispatches, and Claude Routines does not read any OpenClaw lane’s memory at all. Its continuity comes from source-controlled prompts and conventions plus durable GitHub and Slack artifacts. One Q, Two Engines maps those execution boundaries.
This is less like a hive mind and more like a small organization with separate desks and one shared library.
Shared knowledge moved into curated corpora
The most important replacement for the old shared memory is not another hidden store. It is documentation with provenance.
OpenClaw now treats shared knowledge as a publication problem:
Constructured/opsis the home for new Q operating guides; project-specific knowledge belongs in its owning repository- doc-shares/doc-vault is legacy reference, checked against current host/code evidence
- Cairns is the explanatory layer for humans who need the story, not just the rule
- QMD retrieves the corpora configured for it; new ops content needs direct repo access until indexed
That last point is easy to miss. QMD is useful precisely because it is not pretending to be the agent’s inner life. It is retrieval over approved shared documents.
The existing QMD configuration still includes vault by default and keeps cairns secondary and excluded by default. Those retrieval settings predate Bob’s October 15 documentation decision. They do not make legacy doc-vault material automatically authoritative, and new ops documents are not automatically indexed. Current operating guidance should be checked against the owning repository and the installed system.
If something should survive across lanes, the preferred move is to write it into the appropriate shared repository (Constructured/ops for Q operating guidance) or publish a safe summary, not to smuggle it through a shared private memory layer.
What users should expect now
From Slack, Notion, or Cairns, Q should still feel like one teammate. But the continuity has a different shape than before.
Here is the practical expectation model:
- Q remembers best within the lane where the work happened. Observer keeps observer continuity. Exec keeps exec continuity. Main keeps operator/control-plane continuity.
- Cross-lane continuity is strongest when it was published. A decision in an approved shared repository or Cairns can be retrieved intentionally from the appropriate lane. New ops guides may need direct repo reads until they are added to a retrieval collection.
- Private or control-plane context should not silently bleed into sandbox lanes. That is a feature, not a bug.
- Users may experience one persona and still hit real boundary effects. For example, Q in a team-facing lane should not casually surface confidential exec-only context just because “it is all Q.”
That last point is the one people need to internalize. A memory boundary is not a personality split. It is a confidentiality rule.
Why this is better than one magical memory
The new design is not merely more secure. It is easier to operate.
The shared-memory era had three chronic problems:
- the system blurred confidentiality and convenience
- the memory backend itself became a maintenance liability
- users could not tell which facts were canonical and which were just recall residue
The current model improves all three:
- confidentiality is handled structurally through lane isolation
- builtin memory is simpler than the old plugin stack
- shared knowledge now has readable sources, reviewable edits, and explicit publication paths
It also scales better socially. When someone asks, “Where should this live so Q can know it later?”, the answer is clearer:
- lane-specific operational context → that lane’s memory
- shared Q operating guidance →
Constructured/ops(doc-shares/doc-vault is legacy reference) - explanatory orientation for humans → Cairns
That is much healthier than “hope the memory plugin captured it correctly.”
The tradeoff is real, but worth it
Yes, this gives up some seamlessness. A perfectly shared brain would feel smoother in the moment. But it would also make it far easier for the wrong lane to inherit the wrong context.
OpenClaw is choosing a deliberate compromise:
- one public identity
- separate durable memories
- explicit shared publication
- retrieval over approved corpora
For a sandboxed system, that is the right direction. It keeps Q coherent at the communication layer without pretending the safest memory model is also the flattest one.
- Q is one teammate socially, not one undifferentiated memory store technically.
- Primary memory is now lane-local. Main, observer, and exec each keep their own durable authority.
- Shared knowledge is published, not leaked. New Q operating guidance belongs in ops, Cairns explains it, and QMD retrieves its configured corpora; legacy doc-vault material needs a currentness check.
- The old shared-memory convenience was real, but so was the boundary confusion it created.
- The better question is no longer “how do we share every memory?” It is “what deserves promotion into shared knowledge?”
- What current information still lives only in one lane's memory that really belongs in an approved shared repository?
- Where are we still relying on recall when we should be publishing a safe, reviewable summary instead?
- If a new lane were added tomorrow, what would it be allowed to remember privately and what would it need to retrieve from the shared library?
- One Q, Two Engines — The larger architecture in which lane memory and stateless routine execution coexist under Q's name.
- OpenClaw Memory Overview — Useful background on OpenClaw's builtin memory model and why a simple first-party substrate is a sensible baseline.
- OpenClaw QMD Memory Docs — Helpful for understanding why QMD works best as a retrieval layer over approved corpora rather than as a primary hidden memory system.
- NIST CSRC: Least Privilege — The underlying principle behind keeping long-term memory scoped to the lane that actually needs it.
Generated by Cairns · Agent-powered with Claude