Repository navigation
# feat(recall): retrieve effective memories with suppression guards - #7147
Merged
chinawch007 merged 4 commits intoNov 21, 2026
Merged
Conversation
Index current scoped assertions and resolve evidence at read time. Apply the same restrictions to historical passages, model replay, source expansion and copied attachments. Generated-by: OpenAI Codex
Build the final Recall schema and backfill existing records directly from migration 0050. Exercise the same baseline for upgrade and replay tests. Generated-by: OpenAI Codex
Share indexed evidence range lookups across history readers and derive redaction from the caller's scope. Stop formatting Recall text when the requested page is full while preserving byte offsets and the structured result. Generated-by: OpenAI Codex
Create Recall projections without backfilling existing memories or history. Preserve the upgrade boundary across history rebuilds and use the recorded tool classification during replay. Generated-by: OpenAI Codex
M4n5ter
added a commit
that referenced
this pull request
Nov 22, 2026
…on, and retire lock race
Fix the three remaining CI failures on rust-preview:
- `maka-agent-engine` (`driver::witness::tests::*`): supply valid JSON
`{"services": []}` for `RunSpec.tool_selection` instead of empty non-JSON
bytes so the `agent_memory_read_alias_insert` trigger added in #7147 does
not fail with SQLite `malformed JSON`.
- `maka-agent-native` (`ax_session_tools::universal_read_and_human_symmetric_session_tools_coordinate_rooms_and_workers`):
align Step 7 with #7147's history-reader suppression guard—assert that the
parent's history-resource `Read("maka://...")` omits `resultPath`/`status`
for Agent callers, and assert via Agent `SessionRead({ sessionId: child_id })`
that an ordinary workspace `Read("checklist.txt")` retains `resultPath`.
- `maka-cli::integration` (`initialize::public_init_persists_settings_from_stdin_and_rejects_reconfiguration`):
wait until the retired host actually releases the `RootOwner` lock before
testing reconfiguration rejection and reopening the store.
Generated-by: Maka (Gemini)
5 of 6 tasks
M4n5ter
added a commit
that referenced
this pull request
Nov 22, 2026
…es (#7151) * fix(desktop): await pasted drafts before pane switches and submission Restore desktop.type_text(...) at four call sites in desktop_new_session.rs that immediately press an already-visible submit/close button or switch pane focus after pasting, eliminating the Windows CI paste/focus race. Closes #7067 Generated-by: Maka (Gemini) * test(ci): fix witness JSON fixture, SessionRead suppression expectation, and retire lock race Fix the three remaining CI failures on rust-preview: - `maka-agent-engine` (`driver::witness::tests::*`): supply valid JSON `{"services": []}` for `RunSpec.tool_selection` instead of empty non-JSON bytes so the `agent_memory_read_alias_insert` trigger added in #7147 does not fail with SQLite `malformed JSON`. - `maka-agent-native` (`ax_session_tools::universal_read_and_human_symmetric_session_tools_coordinate_rooms_and_workers`): align Step 7 with #7147's history-reader suppression guard—assert that the parent's history-resource `Read("maka://...")` omits `resultPath`/`status` for Agent callers, and assert via Agent `SessionRead({ sessionId: child_id })` that an ordinary workspace `Read("checklist.txt")` retains `resultPath`. - `maka-cli::integration` (`initialize::public_init_persists_settings_from_stdin_and_rejects_reconfiguration`): wait until the retired host actually releases the `RootOwner` lock before testing reconfiguration rejection and reopening the store. Generated-by: Maka (Gemini)
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
A corrected or deleted memory could still turn up in a search through an old conversation or tool result. This change makes the current assertion discoverable and applies its evidence restrictions when the model follows a historical reference.
agent.recalland the model-facingRecalltool with a separately paginatedfactsresult. Each fact includes its scope, record revision, assertion version and readable sources. Existing title and passage matches remain available.output_offset. The tool still returns the full structured result for the query.Verification
At
3e5433feeb, all nine focusedcargo nextesttests passed acrossmaka-agent-stateandmaka-agent-native. They cover upgrade and reopen from version 50, migrated and newly written history, replay of tool aliases, partial masking of UTF-8 text, and stopping at a text page boundary while preserving the continuation offset. Rust formatting and the PR diff whitespace check passed.The pre-refactor build also passed 113 state, facts and assistant tests, 34 selected native agent tests and the Workbench desktop test. The desktop screenshots show results from two conversations and the empty list while the new scope is loading. The contract and TypeScript checks, strict Clippy for the state and native crates, and the source-archive license check passed on that build. The full workspace
just checkwas not run.AI use
OpenAI Codex contributed to the Rust implementation, migrations, regression tests, rebase and PR description. All three commits include the
Generated-by: OpenAI Codextrailer.Checklist
Does this PR entail a change in behavior?