Repository navigation
docs(harness): correct session log claims after the native journal redesign - #3561
Merged
jujn merged 1 commit intoOct 14, 2026
Merged
Conversation
…design The v1 harness reference docs still describe the removed dual-file session storage (<sessionId>.jsonl + <sessionId>.log.jsonl, SessionTree, MemoryFlushManager.offloadMessages, sessions.json index and the offloadBeforeCompact option). That writer is gone from main: the native session journal (JournalSessionLog over AtomicSessionStorage, under .agentscope-runtime/) is the lossless full history, session_search and session_list read it directly, and transcripts are projected at read time. Rewrite the session page around the journal and correct the coupled storage-layout, lifecycle and cross-reference claims in the workspace, architecture and memory pages (both languages). Fixes agentscope-ai#3473.
jujn
approved these changes
Oct 14, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This was referenced Oct 14, 2026
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.
Fixes #3473
As agreed in the issue thread, this corrects the v1 harness reference docs in place, without touching the versioned blogs.
The v1 docs still described the removed dual-file session storage (
<sessionId>.jsonl+<sessionId>.log.jsonl,SessionTree,MemoryFlushManager.offloadMessages, thesessions.jsonindex and theoffloadBeforeCompactoption). That writer is gone from main: the native session journal (JournalSessionLogoverAtomicSessionStorage, under.agentscope-runtime/) is the lossless full history,session_search/session_listread it directly, and transcripts are projected at read time viasessionTranscript.Changes (both languages):
session.md— rewritten around the journal: storage layout under.agentscope-runtime/agents/<agentId>/sessions/<userId>/<sessionId>/, backends (local files / SQLite / pluggableSessionLogStore), howRuntimeContextroutes the journal, and listing sessions without a separate index fileworkspace.md— directory layout tree and the compaction/flush lifecycle rowarchitecture.md— journal nodes in the memory-lifecycle diagram and the compaction scenariomemory.md— compaction flow, removal of theoffloadBeforeCompactrow (the option no longer exists inCompactionConfig), and the cross-reference lineAll statements were verified against main at e68dd78 (
JournalSessionLog,WorkspaceSessionLogStore,LocalFilesystem.sessionStorage,CompactionConfig,SessionSearchTool). The blogs are left untouched as dated announcements.Note for #2735: with this redesign, loading history for a frontend is
agent.session(ctx).transcript()(orsessionTranscript(ctx)), full-fidelity export goes throughSessionExportSink, and the v2 session-log page documents both — the lossy flat file no longer exists to parse.