Repository navigation
docs: Code Mode round-2 direction — persistent REPL kernel - #468
Merged
Merged
Conversation
Adds §7 to the Code Mode design doc: session-scoped persistent context for REPLTool (Scroll 2608.21690 convergence — actions and session memory are one mechanism), minimal design (per-session vm context, lifecycle on clear/compact/resume, size guard, no trust-level change), and the same bench gate as the POC: persistence must show a measured delta on the 27B before it replaces the stateless default. Co-Authored-By: Claude Code <[email protected]>
This was referenced Dec 2, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Appends §7 to
docs/research/code-mode-design.md: cross-call persistence for REPLTool as the round-2 Code Mode direction, from the Scroll paper (arXiv 2608.21690) convergence finding — actions (Code Mode) and session memory (event log) converge on a persistent kernel. fusion-code already ships the log half (transcripts + L2 manifest #462); the missing half is session-scoped REPL state.Minimal design: per-session
vmcontext, dropped on clear/compact/resume, retained-state size cap, no trust-level change. Gate unchanged from the POC: 27B must show a measured delta (repeat reads / tokens on multi-step tasks) before persistence replaces the stateless default.Doc-only change; validator ERROR 0.
🤖 Generated with Claude Code