Thank you for your interest in contributing! This document provides guidelines and instructions.
Be respectful, constructive, and inclusive. We're all here to build something useful.
- Check existing issues to avoid duplicates
- Include: OS, PostgreSQL version, pgvector version, error logs, steps to reproduce
- Use the bug report template
- Describe the use case clearly
- Explain why existing features don't cover it
- Include proposed API if possible
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Write tests for your changes
- Run the test suite (
pytest tests/ -v) - Commit with clear messages
- Open a PR against the
mainbranch
# Clone your fork
git clone https://github.com/YOUR-USERNAME/xMemory-framework.git
cd xMemory-framework
# Set up development environment
python -m venv venv
source venv/bin/activate
pip install -r requirements-dev.txt
# Set up test database
createdb xmemory_test
psql -d xmemory_test -f sql/schema.sql
psql -d xmemory_test -f sql/functions.sql
# Run tests
pytest tests/ -v- Python: Follow PEP 8 (enforced by ruff)
- SQL: Lowercase keywords, snake_case identifiers
- Docs: Markdown with 80-char line width
- All new features must include tests
- Maintain >80% code coverage
- Run
pytest tests/ -v --cov=xmemorybefore submitting
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.