feat(storage): add SQLite session metadata foundation - #1371
Merged
likun666661 merged 1 commit intoJul 23, 2026
Merged
Conversation
likun666661
force-pushed
the
agent/sqlite-session-metadata-foundation
branch
from
July 23, 2026 05:59
ae9753a to
e03e7b0
Compare
likun666661
force-pushed
the
agent/sqlite-session-metadata-foundation
branch
from
July 23, 2026 06:01
e03e7b0 to
51b91b9
Compare
This was referenced Jul 23, 2026
likun666661
marked this pull request as ready for review
July 23, 2026 06:29
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.
Part 1 of #1370.
What changed
SessionHeaderpayloads plus indexed recency, flag, status, parent, revision, and label projectionsScope boundary
This foundation PR does not change production SessionStore wiring or defaults. Existing workspaces continue using file-backed headers until the follow-up cutover PR. StoredMessage transcript bodies remain JSONL.
Why
Session metadata updates currently rewrite the complete transcript and session listing walks file headers. This PR establishes the durable/queryable layer separately so the default cutover and legacy-format cleanup can be reviewed independently.
Validation
npm test --workspace @maka/storage— 430 passed, 1 skippednpm run typecheck—@maka/storageand preceding workspaces passed; the all-workspace command remains red on unrelated current-main CLI declaration drift and a Desktop test fixtureComposerHandle.setSkillsmismatchFollow-ups