Skip to content

feat: route composite cube writes by responsibility#2022

Draft
RerankerGuo wants to merge 2 commits into
MemTensor:mainfrom
RerankerGuo:feat/responsibility-aware-composite-routing
Draft

feat: route composite cube writes by responsibility#2022
RerankerGuo wants to merge 2 commits into
MemTensor:mainfrom
RerankerGuo:feat/responsibility-aware-composite-routing

Conversation

@RerankerGuo

Copy link
Copy Markdown

Summary

  • Fixes Improve responsibility-aware routing in CompositeCubeView #1705.
  • Add explicit metadata-based routing for CompositeCubeView writes and feedback while preserving fan-out fallback.
  • Preserve cube provenance on merged search results by filling missing cube_id values.
  • Add multi-cube regression tests for target-cube routing, responsibility routing, fallback fan-out, and search provenance.

Validation

  • python3 -m py_compile src/memos/multi_mem_cube/composite_cube.py tests/multi_mem_cube/test_composite_cube.py
  • python3 -m pytest tests/multi_mem_cube/test_composite_cube.py -q (blocked: No module named pytest)
  • PYTHONPATH=src python3 manual regression invocation (blocked: No module named pydantic)
  • make format (blocked: poetry: Command not found)

@Memtensor-AI Memtensor-AI changed the base branch from main to dev-v2.0.22 July 2, 2026 02:23
@Memtensor-AI

Copy link
Copy Markdown
Collaborator

Automated Test Results: PASSED

Cloud test-engine full-audit rerun against dev-v2.0.22 completed successfully.

  • Run: tr-85560456-4a3 on cloud test-engine 10011
  • memos_python_core/changed-repo-python: 4 passed, 0 failed, 0 skipped

Manual code review is still required before merge.

@CarltonXiang CarltonXiang deleted the branch MemTensor:main July 3, 2026 07:25
@syzsunshine219 syzsunshine219 reopened this Jul 3, 2026
@syzsunshine219 syzsunshine219 changed the base branch from dev-v2.0.22 to main July 3, 2026 08:20
@syzsunshine219 syzsunshine219 added the needs-audit Requires manual audit before merge label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-audit Requires manual audit before merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve responsibility-aware routing in CompositeCubeView

4 participants