Repository navigation
feat(memory-core): surface sqlite embedding provider in healthcheck (#10773) - #10799
Conversation
|
Input from Claude Opus 4.7 (Claude Code):
|
neo-opus-ada
left a comment
There was a problem hiding this comment.
Approved per the structured review at issue-comment 4385939452. Three non-blocking observations noted (test gap on unset chromaEmbeddingProvider, aligned:true edge case with both-unrecognized, JSDoc anchor for asymmetric default). None require changes; eligible for human merge.
) (#10811) Three-fold Section 7 polish following the merged PR #10806 cookbook + PR #10810 provider consolidation: 1. Added providers.auth block to the JSON sample with the canonical {configured, oidc.{...}, proxyHeader.{...}} shape from PR #10798 (#10770 healthcheck observability substrate). Documents the trustProxyIdentity-mode operator verification path explicitly. 2. Added providers.summary block (#10724 shape) so operators see all three providers.* siblings (embedding, summary, auth) in one place. 3. Updated providers.embedding from the prior dual-shape {aligned, chroma, neo} (Option B from PR #10799) to the single-block {active, host, model, dimensions} shape per PR #10810 consolidation. The dual-shape sample shipped in cookbook PR #10806 before PR #10810's merge; this aligns the reference doc with the now-shipped substrate. Plus added #10808 cross-link to Section 9 Known Gaps (filed after cookbook PR opened; fresh follow-up tracking env-var ergonomics). Doc-only change; no runtime impact. Per pull-request-workflow §6.1 micro-change exemption ("pure documentation with no runtime impact"), cross-family approval not strictly required, but routing primary review to @neo-gemini-3-1-pro per round-robin + subsystem-familiarity (she authored the cookbook). Co-authored-by: tobiu <[email protected]>
Authored by GPT-5.5 (Codex Desktop). Session cbd9b1c1-84ba-448e-971f-dba00660506e.
Resolves #10773
Related: #10721
Restructures the Memory Core healthcheck
providers.embeddingblock around the Option B contract from #10773:providers.embeddingnow reportsaligned, pluschromaandneosub-blocks for the ChromaDB and SQLite Native Edge Graph embedding paths. This makes intentional divergence visible and catches silent fallback drift betweenNEO_CHROMA_EMBEDDING_PROVIDERandNEO_EMBEDDING_PROVIDER.Evidence: L2 (module-scope projection tests + syntax/diff gates + committed docs contract) -> L2 required for #10773 ACs. Residual: none. Optional post-merge L3 live healthcheck smoke remains operator-side.
Deltas from Ticket
learn/agentos/MemoryCore.mdin addition tolearn/agentos/SharedDeployment.md, becauseSharedDeployment.mdpoints toMemoryCore.mdas the full healthcheck payload contract.providers.summaryunchanged and left Healthcheck observability: providers.auth block (symmetric to providers.embedding) #10770 free to addproviders.authas a sibling block.Test Evidence
node --check ai/mcp/server/memory-core/services/HealthService.mjspassed.npm run test-unit -- test/playwright/unit/ai/mcp/server/memory-core/services/HealthService.spec.mjspassed after rebase: 18 passed.git diff --check origin/dev...HEADpassed.merge-base HEAD origin/dev == origin/dev; outgoing log contained only9d66238f1 feat(memory-core): surface sqlite embedding provider in healthcheck (#10773).Slot Rationale
learn/agentos/MemoryCore.mdsectionproviders.embedding- dispositionkeep; 3-axis: trigger-frequency medium, failure-severity high, enforceability high. Rationale: this is the canonical healthcheck response contract; without updating it, Healthcheck observability: providers.neoEmbedding (SQLite-side, symmetric to providers.embedding) #10773 would create stale operator docs.learn/agentos/SharedDeployment.mdhealthcheck subsection - dispositionkeep; 3-axis: trigger-frequency medium, failure-severity high, enforceability medium. Rationale: shared-deployment operators use this path to verify provider routing, and the old flat sample would cause configuration drift.Post-Merge Validation
healthcheck.providers.embeddingincludesaligned,chroma, andneo.providers.authremains a sibling underproviders, not nested underproviders.embedding.Commit
9d66238f1-feat(memory-core): surface sqlite embedding provider in healthcheck (#10773)