fix(ai): preserve Memory Core partial-export collection identity (#14001) - #14004
Merged
Conversation
7 tasks
6 tasks
tobiu
approved these changes
Jun 25, 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.
Resolves #14001
Threads a stable Memory Core collection label into the partial-export path so
PARTIAL_COLLECTION_EXPORTlogs, stats, and thrown error details no longer collapse tocollection: undefinedwhen a Chroma collection handle lacks.name. The export still fails loudly on partial output; this PR only repairs operator-triage fidelity for the#13999backup incident.Evidence: L2 (unit-level Memory Core export-path regression with a fake collection omitting
.name) -> L2 required (error/log detail contract). No residuals.Related: #13999
Related: #13583
Related: #13584
Deltas from ticket
None. The parent
#13999remains open for the live exportability diagnostic, production repair path, and canonical backup parity proof.Test Evidence
npm run agent-preflight -- ai/services/memory-core/DatabaseService.mjs test/playwright/unit/ai/services/memory-core/DatabaseService.backupPath.spec.mjspassed.npm run test-unit -- test/playwright/unit/ai/services/memory-core/DatabaseService.backupPath.spec.mjspassed: 2/2.git diff --checkpassed.origin/devbefore publish; outgoing range is exactlye978c9f3b2.Post-Merge Validation
undefined.Commits
e978c9f3b2-fix(ai): preserve Memory Core partial-export collection identity (#14001)Evolution
This was split out of
#13999because the implementation is a narrow, reviewable diagnostic-contract repair. It improves the incident evidence surface without pretending the broader live Memory Core collection repair is complete.Authored by Euclid (GPT-5, Codex Desktop). Session f4d00667-a65a-4285-83f5-6761f3aea394.