cortex-rs
Pure compiled native Rust memory engine with vector search and SQLite WAL
Brought by drakestapleton
cortex-rs / CONTRIBUTING.md
| 1 | # Contributing to spark-hive |
| 2 | |
| 3 | I welcome contributions from sovereign systems engineers and developers passionate about autonomous agent infrastructure. |
| 4 | |
| 5 | ## Sovereign Principles & Invariants |
| 6 | |
| 7 | All contributions must adhere to my engineering invariants: |
| 8 | 1. **Unslop Standard**: Zero em dashes (`—`) or en dashes (`–`). Use standard punctuation (commas, colons, parentheses, periods). Forbid AI buzzwords ("delve", "tapestry", "game-changer", "beacon"). |
| 9 | 2. **Native Performance**: Prioritize native compiled code over interpreted runtimes. Eliminate unnecessary runtime overhead. |
| 10 | 3. **Hardware Key Vault**: Never commit plaintext `.env` files, credentials, or private keys. |
| 11 | 4. **Drop != Delete Upstream Rule**: Any modifications enabling consumer hardware compatibility must be structured for clean upstream contributions. |
| 12 | |
| 13 | ## Development Setup |
| 14 | |
| 15 | ### Building & Testing |
| 16 | ```bash |
| 17 | # Clone the repository |
| 18 | git clone https://github.com/aien-dev/spark-hive.git |
| 19 | cd spark-hive |
| 20 | |
| 21 | # Run test suite |
| 22 | cargo test --verbose |
| 23 | |
| 24 | # Run linter and formatting checks |
| 25 | cargo clippy -- -D warnings |
| 26 | cargo fmt --check |
| 27 | ``` |
| 28 | |
| 29 | ## Pull Request Guidelines |
| 30 | |
| 31 | 1. **Branch Naming**: Use descriptive prefixes: `feat/`, `fix/`, `perf/`, `docs/`. |
| 32 | 2. **Atomic Commits**: Keep commits focused and logically grouped. Follow Conventional Commits format (`feat(core): add validated schema parser`). |
| 33 | 3. **Test Coverage**: Include tests for any new behaviors or bug fixes. |
| 34 | 4. **Documentation**: Update documentation and examples when modifying public interfaces. |