Repository navigation
Enhance memory performance and fix browser response handling - #3243
Merged
Hillary Mutisya (hillary-mutisya) merged 18 commits intoOct 30, 2026
Merged
Conversation
Share bounded view readers and committed projections, overlap retrieval, batch evidence validation, and cancel obsolete Understanding operations while preserving privacy and publication checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Preserve non-ASCII answer titles in browser network consumers and verify the SSE charset and Unicode event payload. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Apply translation caching after the document-scoped translator is installed. Declare verified full GPT-5.4 mini capacities without introducing generation caps. Retain private benchmark failures and allow bounded case selection. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Preserve native extraction settings through a built-in index settings factory. Keep query roles fixed, retain existing translator decorators, and reject ambiguous opaque factory overrides. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep grounding strict, isolate query and initial-reader roles, and retain opt-in private model diagnostics for reliability measurements. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…onstruction Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep query and answer roles independently selectable. Preserve Responses API JSON output schemas, add verified Terra capacities, and observe Responses calls in latency benchmarks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Require schema presence for Responses and Chat Completions while retaining Messages omission and exact inspection/dispatch equality checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Choose retry target versions and history head under the admission writer instead of consuming a potentially lagging committed inventory. Preserve public expected-head and support guards and exercise a deterministic stale foreground inventory in maintenance failure recovery tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Preserve checkpoint-aware maintenance scheduling and writer-scoped retry admission alongside committed-generation reads. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Observe the authoritative store read while retaining nonempty and all-exclusive lease assertions. Include full publication diagnostics without weakening the ready-state assertion. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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
immutable reader/view caches, parallel retrieval and paced background warmup.
deeper-answer model roles, with cancellation, timing and structured-response
validation.
design while preserving grounding, exact-revision inspection and follow-ons.
policy check passes; dependency versions and manifest semantics are unchanged.
Base integration
Fetched
origin/mainbefore publication. Its latest commit,2ff659b94, wasalready an ancestor of this branch;
git merge origin/mainreported alreadyup to date. No conflicts or artificial merge commit were needed.
Motivation
Long imported conversations and maintained knowledge views expose expensive
repeated index loading and serial reading work. Users also need a readable
explanation of the evidence, not a page dominated by metadata or visual modules.
This change improves the normal read path and makes performance alternatives
measurable without promoting experimental quality/recall tradeoffs to defaults.
Behavior and configuration
background ingestion/maintenance. Warm a collection when opened and pace
background warmup five seconds after completion, with a startup trigger.
invalidation. Retain corpus scope, cancellation and exact-revision semantics.
TYPEAGENT_MEMORY_PERF_EXPERIMENTS; unknown switches fail explicitly.Provisional source previews are not validated answers or follow-on handles.
capacity metadata. Responses API calls preserve structured-output schemas.
A status/reference disagreement permits one same-model regeneration; other
invalid responses are not converted into successful answers.
insights in a supporting rail. Understanding adds readable state badges,
formatted prose, in-flow unknowns, compact source disclosures and a follow-on
composer directly beneath the explanation. Existing theme tokens remain.
of the experimental fast-reader configuration.
Validation
Verified locally on Windows with Node 24.22.1, at head
63679076a:pnpm run buildpassed in 67.583 seconds.memory service (191), KnowPro (35), AI client (52), agent server (7),
conversation persistence (20), and gateway/benchmark tooling (30).
focused native model-option/startup tests pass. No new skips were introduced.
against
origin/main; formatting passed. Ratchets were run on the committedfinal head, not an incomplete uncommitted file selection.
390/1600 pixels in light/dark themes. Overflow and desktop reading/rail
geometry checks pass. These fixtures are not live retrieval/latency evidence.
checked for parsed-JSON equality before and after the ordering change.