Repository navigation
fix: integrate community reliability fixes and prepare 1.10.5 - #411
Merged
Merged
Conversation
`memorix memory store --help` showed the action overview and omitted `--entity` and `--topic-key`. That help misled real use into treating topic-key upsert as unavailable. `remember` still forwards only its original four flags. Co-authored-by: Cursor <cursoragent@cursor.com> Assisted-by: Cursor / Grok 4.7
receipt() compares expiresAt with the wall clock. The 2026-11-20 literals from #347 are now in the past, so active assertions fail on every full CI run. Co-authored-by: Cursor <cursoragent@cursor.com>
Streamable HTTP clients built on the MCP SDK keep a standalone GET/SSE stream open for their whole life but rarely send DELETE /mcp when they exit, so their sessions lingered until the 12 h idle timeout. A session is now closed when its last SSE stream has been closed for MEMORIX_SESSION_DISCONNECT_GRACE_MS (default 2 min, 0 disables) and the client sent no request since. Sessions that never open a GET stream and clients that keep posting without a stream still follow the idle timeout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stateless (2026-07-28) requests resolve the project root on every call, up to three times. For a server started outside a Git repository, each call falls through to a synchronous `git rev-parse` subprocess that blocks the event loop. On hosts with slow process creation (endpoint security scanners on Windows add 1-3 s per spawn) the stateless probe of Claude Code exceeded its 5 s budget and the client fell back to legacy sessions. Detection results, including "not a project", are now cached per path for 5 minutes (256 paths max). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shared semantic index matched only on observation_id, so a write from another project could replace the project label and hide the vector from the project that owns the observation. Co-authored-by: Cursor <cursoragent@cursor.com>
Cold-start backfill now treats a Lance row as present only for its own project, so the persisted-id fixture must use that key. The handle fixtures expired on 2026-11-20 and failed once CI ran after that date. Co-authored-by: Cursor <cursoragent@cursor.com>
# Conflicts: # src/cli/commands/serve-http.ts
# Conflicts: # tests/server/request-context.test.ts # tests/server/session-start-home-and-hydrate.test.ts
This was referenced Nov 27, 2026
This was referenced Nov 27, 2026
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.
Prepare Memorix 1.10.5 by integrating community PRs #406, #407, #408, #409, and #410. Contributor commits are retained in this branch.
The Lance fix uses project/observation merge keys and scoped cache/backfill checks. Review found that the proposed cleanup deleted another project's same-number row; normal upserts now preserve both projects, and retrieval rejects mislabelled vectors against canonical SQLite. Regression tests cover scoped deletion and both hybrid/vector retrieval.
The legacy HTTP fix releases silently disconnected sessions after a configurable grace. Added guards protect queued/running POSTs, ignore late close events after cleanup, and prevent timer overflow. Stateless project detection caches positive and negative results with a five-minute TTL and 256-entry bound. Relative lease fixtures and memory store help are included.
Validation: full local suite 3364 passed, 5 skipped; typecheck/build passed; all 557 dependency signatures and 95 attestations verified. The built production HTTP smoke passes for disconnect expiry, reconnection, open SSE, POST-only clients, and POST activity after disconnect. Non-Git discoveries measured 350ms, 5ms, and 4ms locally. CI now runs that smoke on Ubuntu, Windows, and macOS.
Root package, all plugin manifests, MCP metadata, changelog, and operator/developer documentation are synchronized at 1.10.5. Public registry visibility is verified separately after publication.
Closes #406
Closes #407
Closes #408
Closes #409
Closes #410