feat(memory): add version-aware development history core - #456
Draft
Anduin9527 wants to merge 17 commits into
Draft
feat(memory): add version-aware development history core#456Anduin9527 wants to merge 17 commits into
Anduin9527 wants to merge 17 commits into
Conversation
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
Signed-off-by: anduin9527 <anduin9527@gmail.com>
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.
Summary
append-only events, CAS-protected refs and rebuildable SQLite projections
version-bound Episodes with structured evidence
context injection through
ContextSelectionReceiptV1Architecture
The implementation follows the design accepted in #454:
and context-selection receipts.
iteration across tasks.
ranking and context injection.
Upstream integration
The branch includes the latest upstream
main.Upstream now owns migration
2026082401for Agent Bridge link relations, sothe unpublished Memory migrations were renumbered to:
2026082501_memory_core2026082502_memory_fts_search2026082503_context_selection_receiptNo Memory schema semantics changed during the renumbering.
Verification
cargo test --test db_migration_test -- --test-threads=1: 80 passedcargo test --lib internal::ai::memory: 114 passedcargo test --lib internal::ai::context_budget: 96 passedcargo test --lib internal::ai::prompt::builder: 14 passedcargo +nightly fmt --all --check: passedcargo clippy --all-targets --all-features -- -D warnings: passedReview guide
Suggested review order:
Scope
This Draft PR ends at M2-12.
The public
libra memoryCLI, benchmark, coverage gate and release closeoutremain in M2-13 through M2-15.
Refs #451
Builds on #454