Skip to content

Preserve reader schema when recall updates access statistics - #85

Closed
jsflax wants to merge 2 commits into
mainfrom
fix/recall-preserve-reader-schema
Closed

jsflax wants to merge 2 commits into
mainfrom
fix/recall-preserve-reader-schema

Conversation

@jsflax

@jsflax jsflax commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Vector recall updates access statistics through a dedicated connection opened with only Memory.self. That subset replaces the stored dynamic-schema description, so an independent viewer cannot discover the graph owner and edge models even though typed recall still finds the saved rows.

The statistics connection now opens with for: localLattice.modelTypes. Its independent identity, 75 ms busy timeout, nil scheduler and absence of transport configuration stay unchanged. Recall ranking, viewer admission and the access-statistics policy are unchanged.

The regression uses the real remember/connect/reopen/recall flow, a deterministic vector embedder and an unavailable-embedder control. It checks both saved rows, the real edge, the actual recall mode and access-statistics outcome, the complete dynamic schema, and a detached public viewer read.

Validation:

  • Test-only head c2f75d5bdf505ce9423051c8e8bd0f7149620bd6: automatic Linux run 43733906229, attempt 1, compiled successfully and ran 99 test declarations in 22 suites. Exactly three issues, all in the vector case, prove the retained model list shrinks to Memory, the dynamic schema shrinks with it, and the viewer throws .incompatible. The no-vector case ran without a recorded issue; the framework reports the parameterized declaration as one failed result.
  • Fix head 9d9bc798f421e37725ee72f975a2a5d0f8ec379e: automatic Linux run 43734918624, attempt 1, compiled successfully and passed all 99 declarations / 107 expanded cases in 22 suites, with no skips or issues. The unchanged regression passed both Bool cases. Native run 43734918915, attempt 1, compiled both test and release products, and its broad/serial test selections passed. The job is red on the final MCP persistence case: busy remember returned a busy/locked failure in 6.579 seconds, exceeding the harness's < 6 bound. Its unchanged retry policy permits three 2-second attempts plus backoff under a 6.5-second admission cap; that cap is not a total request deadline. This mismatch is recorded, not waived. Recovery and third-process reopen assertions after the failed timing check did not execute. No rerun or threshold change. Both changed Swift files also parse and diff checks pass.
  • Existing Linux CI runs the backend target. Native CI compiles it but its runtime selections exclude it; a native CI success is not runtime qualification of this regression. No workflow changes or reruns.

This regression proves the vector-recall mechanism; it does not identify the cause of any separate generic viewer refusal without that execution's own evidence.

Native coverage limits: the broad selection reports 811 declarations / 81 suites: 797 passed declarations (891 expanded passing cases) and 14 framework skips. Four benchmark declarations returned early because their fixtures were absent. The six other MCP cases passed. Source and all 43 dependency identities were verified unchanged. No complete native-job success is claimed.

jsflax and others added 2 commits November 15, 2026 11:09
Exercise vector and full-text recall through real memory stores, then verify
that independent readers retain the complete schema, saved rows and edges.
Keep dedicated access-stat connection ownership and timeout assertions.

Co-Authored-By: Codex <noreply@openai.com>
Open the dedicated access-stat connection with the owning store model list
so recall does not replace dynamic-reader metadata with a Memory-only schema.
Retain its short busy timeout and independent, transport-free connection.

Co-Authored-By: Codex <noreply@openai.com>
@jsflax

jsflax commented Nov 17, 2026

Copy link
Copy Markdown
Owner Author

Consolidated in #88 (preserving registered localLattice.modelTypes across recall access-statistics handles).

@jsflax jsflax closed this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant