cd backend
python -m pytestTargeted unit runs:
python -m pytest tests/unit/test_memory_service.py
python -m pytest tests/unit/test_mcp_metadata.pyLint:
cd backend
ruff check .cd frontend
npm run test
npm run typecheck
npm run lint
npm run build- Prefer focused test files first, then full suites.
- Mock external model calls in unit tests where possible.
- Namespace behavior should be explicitly tested with different
X-Memory-Namespacevalues.