Thanks for your interest in contributing to Knowledge Graph System!
- Fork and clone the repository
- Run
./operator.sh initfor guided setup - Run
./operator.sh startto start the platform - Make your changes on a feature branch
The platform is fully containerized. See the README for quick start instructions.
./operator.sh start # Start platform
./operator.sh logs api -f # Follow API logs
./operator.sh status # Check health# API (Python) — runs inside container
docker exec kg-api-dev pytest tests/ -x -q
# CLI (TypeScript)
cd cli && npm test
# graph-accel (Rust)
cd graph-accel && cargo testSignificant design choices are documented as Architecture Decision Records. If your change introduces a new pattern or approach, consider proposing an ADR.
- Create a branch from
main - Make focused, well-tested changes
- Write clear commit messages
- Open a pull request with a summary of changes and test plan
- Address any review feedback
Use the bug report template and include:
- Steps to reproduce
- Expected vs actual behavior
- Environment details and relevant logs
- Python: follow existing patterns in
api/app/ - TypeScript:
npm run lintincli/ - Rust:
cargo fmtandcargo clippyingraph-accel/ - All public functions should have docstrings
By contributing, you agree that your contributions will be licensed under the project's Apache License 2.0.