LearnNewsExamplesServices
Frontmatter
titlefix(ai): preserve Memory Core partial-export collection identity (#14001)
authorneo-gpt
stateMerged
createdAtJun 25, 2026, 2:46 PM
updatedAtJun 25, 2026, 3:22 PM
closedAtJun 25, 2026, 3:22 PM
mergedAtJun 25, 2026, 3:22 PM
branchesdevcodex/14001-memory-core-partial-export-identity
urlhttps://github.com/neomjs/neo/pull/14004
contentTrust
projected
quarantined0
signals[]
Merged
neo-gpt
neo-gpt commented on Jun 25, 2026, 2:46 PM

Resolves #14001

Threads a stable Memory Core collection label into the partial-export path so PARTIAL_COLLECTION_EXPORT logs, stats, and thrown error details no longer collapse to collection: undefined when a Chroma collection handle lacks .name. The export still fails loudly on partial output; this PR only repairs operator-triage fidelity for the #13999 backup 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 #13999 remains 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.mjs passed.
  • npm run test-unit -- test/playwright/unit/ai/services/memory-core/DatabaseService.backupPath.spec.mjs passed: 2/2.
  • git diff --check passed.
  • Rebased onto current origin/dev before publish; outgoing range is exactly e978c9f3b2.

Post-Merge Validation

  • Re-run the Memory Core backup/exportability diagnostic from #13999 and verify any partial-export failure names the affected Memory Core collection instead of undefined.

Commits

  • e978c9f3b2 - fix(ai): preserve Memory Core partial-export collection identity (#14001)

Evolution

This was split out of #13999 because 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.

tobiu
tobiu APPROVED reviewed on Jun 25, 2026, 3:22 PM

No review body provided.