Skip to content

docs: Code Mode round-2 direction — persistent REPL kernel - #468

Merged
dahai80 merged 1 commit into
mainfrom
docs/code-mode-round-2
Dec 2, 2026
Merged

dahai80 merged 1 commit into
mainfrom
docs/code-mode-round-2

Conversation

@dahai80

@dahai80 dahai80 commented Dec 2, 2026

Copy link
Copy Markdown
Owner

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 vm context, 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

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]>
@dahai80
dahai80 merged commit 6c35a5d into main Dec 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant