Contributing

Development setup

Install the Rust version pinned in rust-toolchain.toml. Formatting uses the separate nightly pin in rustfmt-toolchain. The Python and Node.js bindings are workspace members and use the same native Rust implementation.

Write a failing regression before fixing a problem. Keep semantic definitions in the shared structural-model and rdf-reasoning crates, and preserve explicit errors for unsupported profiles, failed native bindings and exhausted budgets. Graph-sized inputs must stream through asynchronous storage adapters.

Run the relevant checks before opening a pull request:

cargo test --locked
./scripts/fmt.sh --check
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
python3 scripts/test-release.py
python3 scripts/test-workflow.py

Changes to the disk-backed adapter also require cargo test --locked --features oxigraph-disk-tests --test schema_free_ground_disk. Commit hooks enforce formatting and Clippy for Rust changes. Use signed commits with a scoped conventional message, such as docs(site): describe an adapter. Submit changes through a pull request; do not push directly to main.

Documentation website

The public website uses the same GraphArch 0.2.41 repository layout as dotenvage. The README is the overview. Public guides declare their title, route, navigation order and stable document identity in Markdown front matter. Internal agent instructions and test fixtures are not selected as guide pages.

With GraphArch 0.2.41 installed, build and verify the actual publication:

grapharch build --offline --strict .
python3 -m unittest discover -s tests -p test_grapharch_publication.py

Generated output stays under output/grapharch/ and is not committed. The documentation workflow builds and checks pull requests. Only verified pushes to main upload output/grapharch/site/ and deploy it to GitHub Pages. The retained graph and publication artifacts remain available on the workflow run for review. The package publication pipeline remains separate.

Scope and releases

Document measured capabilities and exclusions. Full RDFS 1.2 entailment is in development; finite authored fixtures do not establish complete conformance. OWL-RL, general Datalog and SHACL 1.2 reasoning follow the RDFS work.

Cargo controls the alpha version shared by Rust, Python and npm. All three registries publish from the tested revision through the existing main workflow. See Alpha publication for artifact retention and recovery.

See Contributing for development setup, documentation builds and the pull request workflow.

Search documentation

Enter words to search this site.