Repository navigation
feat(memory): add scoped user-controlled memory records - #6970
Merged
chinawch007 merged 3 commits intoNov 17, 2026
Merged
Conversation
Add Root-backed memory management with revision checks, versioned user sources, suppression retention, scoped access and body-free Host receipts. Connect memory preferences and client recovery, with Host and storage coverage. Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
M4n5ter
added a commit
that referenced
this pull request
Nov 17, 2026
… targets - Rebase onto rust-preview (#6970) and document scoped memory records and create.incognito in plugins/agent/README*. - Fix stale test commands in products/maka/README*, products/maka/bundle/README*, and scripts/rust/README*. - Fix --browser chromium placement in platform/computer-use/README*, MCP config paths (.maka/mcp.json / .agents/mcp.json), summarize.py --output flag, OperationObserved enum name, Node.js 24+ prerequisite, and CLI README parity. Generated-by: Maka (Antigravity / Gemini)
Astro-Han
added a commit
that referenced
this pull request
Nov 17, 2026
#6970 added the required `incognito` field to `Create`, while #6958 added a `Create` literal for the SessionCreate tool without it, so rust-preview stopped compiling. The tool does not let the model opt in; `creation_policy` still makes a child incognito when its caller is. Generated-by: Claude Code
4 of 6 tasks
4 of 6 tasks
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
Add durable, user-controlled memory records to the Agent Host on
rust-preview, including provenance tied to the exact body version. Users can save, correct, pin, delete and explicitly restore an item; revision checks reject stale edits, and state survives restart.Refs #6959
memorySource.changeMemory.add_evidenceverifies the owned message, immutable fact identity, fingerprint and exact UTF-8 span at commit. Evidence stays attached to its original assertion when the body changes; appending evidence preserves management mode and priority timestamps.user_alwaysrecords the user's management choice. Model context projection, semantic reconciliation, Recall integration, automatic extraction and the full management UI remain subsequent PRs. Verified provenance establishes the authenticity of a quotation; it does not claim semantic entailment.Migration and retention
Root migrations 43–45 add records, assertion metadata and evidence associations. Existing PR1 databases retain their bodies; unknown metadata becomes
unspecified, and existing user-operation sources are backfilled into the evidence table. This does not import main's earlier memory database.Delete suppresses records and their versions, removes always mode, and retains matching content without a TTL. Ordinary detail, list, history and evidence APIs hide suppressed bodies. Explicit restore creates a new assertion and source; it does not expose suppressed history. Receipts retain IDs and revisions without another readable body copy. Incognito restricts memory use and sourcing; it does not erase chat history.
Verification
preset_execution_uses_durable_role_and_explicit_model_selectionencounteredApplication channel ended before a complete frame; it then passed two consecutive isolated nextest runs without a code or timeout change. The initial interruption remains undiagnosed.cargo check --offline -p maka-app-client -p maka-cli -p maka-workbench --tests -j 1: passed.cargo fmt --all -- --check, diff whitespace and staged new-file ASF headers: passed.Repository-wide
just checkand all CI shards were not run. The suite checklist below remains unchecked because the complete native invocation returned a failure, despite successful isolated reruns.AI use
Tool(s) and scope: OpenAI Codex contributed to implementation, tests, technical documentation and this PR description. Material implementation commits carry
Generated-by: Codex; preserve the trailer in the squash commit.Checklist
Does this PR entail a change in behavior?