Skip to content

feat(mcp): add incremental memory updates#52

Merged
ramonlimaramos merged 1 commit into
mainfrom
codex/issue-48-incremental-memory-update
May 31, 2026
Merged

feat(mcp): add incremental memory updates#52
ramonlimaramos merged 1 commit into
mainfrom
codex/issue-48-incremental-memory-update

Conversation

@ramonlimaramos

@ramonlimaramos ramonlimaramos commented May 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • add update_memory for partial memory updates, metadata patches, and content append/replacement
  • validate memory field length limits before database writes and document those limits in tool descriptions/docs
  • refresh content-derived embedding/HRR/entity links after content updates and invalidate cache after updates
  • pin urllib3>=2.7.0 so the security job remains green after new pip-audit advisories

Closes #48

Tests

  • uv run pytest tests/ -q
  • uv run ruff check src/ tests/
  • uv run bandit -r src/synapto/ -c pyproject.toml
  • uv run pip-audit
  • uv run ruff format --check src/synapto/server.py src/synapto/repositories/memories.py src/synapto/repositories/entities.py tests/unit/test_memory_retrieval_tools.py tests/unit/test_tool_metadata.py

Note: full-project ruff format --check src/ tests/ still reports pre-existing formatting drift in unrelated files, so this PR validates formatting only for touched Python files.

@ramonlimaramos ramonlimaramos force-pushed the codex/issue-48-incremental-memory-update branch 3 times, most recently from 41f2b9f to d681c40 Compare May 15, 2026 18:52
@ramonlimaramos ramonlimaramos force-pushed the codex/issue-48-incremental-memory-update branch from d681c40 to c60c2ab Compare May 15, 2026 18:54
@ramonlimaramos ramonlimaramos self-assigned this May 15, 2026
@ramonlimaramos ramonlimaramos merged commit 0f0de47 into main May 31, 2026
5 checks passed
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.

Incremental update + document hard limits in tool descriptions

1 participant