You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ClawVM (arXiv:2604.10352) introduces a virtual memory layer for stateful tool-using LLM agents that manages state as typed pages with minimum-fidelity invariants, multi-resolution representations under a token budget, and validated writeback at every lifecycle boundary.
The harness (prompt assembler, tool mediator, lifecycle observer) is the natural enforcement point — placing the contract there makes residency and durability deterministic and auditable.
Results: Across four workload families and six token-budget levels, ClawVM eliminates all policy-controllable faults (refetch, duplicate-tool, post-compaction bootstrap, flush-miss) from 67.8 mean faults/config to 0, and reduces paging instability by 77.4%.
Relevance to Zeph
Zeph's compaction subsystem (soft/hard/microcompact) operates on the full message history as a flat sequence. ClawVM's page model offers:
Typed pages (structured tool state, conversation context, memory excerpts) that degrade gracefully under token pressure
Minimum-fidelity invariants per page type — context can be summarized to pointer, never silently dropped
Description
ClawVM (arXiv:2604.10352) introduces a virtual memory layer for stateful tool-using LLM agents that manages state as typed pages with minimum-fidelity invariants, multi-resolution representations under a token budget, and validated writeback at every lifecycle boundary.
The harness (prompt assembler, tool mediator, lifecycle observer) is the natural enforcement point — placing the contract there makes residency and durability deterministic and auditable.
Results: Across four workload families and six token-budget levels, ClawVM eliminates all policy-controllable faults (refetch, duplicate-tool, post-compaction bootstrap, flush-miss) from 67.8 mean faults/config to 0, and reduces paging instability by 77.4%.
Relevance to Zeph
Zeph's compaction subsystem (soft/hard/microcompact) operates on the full message history as a flat sequence. ClawVM's page model offers:
This is directly applicable to Zeph's
zeph-core/src/agent/context/compaction logic and thezeph-memorystore routing.User Stories
Implementation Sketch
context_assembler.rsSource
Estimated Complexity
Medium-high. Requires redesigning the compaction contract in
zeph-core/src/agent/context/. No external dependencies.Spec
Pending
/sdd specifysession.