Contributing
Thank you for helping. This page says how to build and test Interlinked and what a change needs before it is merged. The source repository opens with the first release; until then, building it needs an invitation from the maintainers (Status and known limits).
Before you start
Anyone may report a reproducible problem or propose a change. Open an issue before substantial work, and submit a focused change that gives the reason, the test evidence and the effect on existing users. A maintainer reviews it, and the project's checks must pass. The lead maintainer decides whether to merge and settles disagreements, and you can ask for a second look with new evidence.
Sign off every commit (git commit -s), which certifies that you may contribute the change under the
project's licence (the Developer Certificate of Origin).
Build and run the checks
The repository pins Rust 1.99.1 for normal builds and also checks the declared minimum, Rust 1.91. You need these tools for the full check:
| Tool | Version | Needed for |
|---|---|---|
| Rust and Cargo | 1.99.1 | Build, formatting, Clippy and tests |
| rustup with toolchain 1.91.1 | 1.91.1 | The minimum-version check |
| cargo-deny | 0.21.0 | Dependency advisories, licences, bans and sources |
| REUSE | 6.3.0 | Licence and copyright coverage |
| A C compiler | The system's | The C interface and the Go client |
| Go | 1.23 or newer | The Go client |
| Node.js and npm | Node 22 | The TypeScript client |
| Python | 3.12 or newer | The Python client and the test tools |
| Helm | 4.3.0 | Checking the relay chart |
| Git, curl | Any | The lease tests and downloading pinned test data |
Commit your changes, then run one command from the repository root:
sh ci/gate.sh --local
It refuses a checkout with uncommitted changes, so its result describes one exact commit. It checks formatting, licences, the minimum Rust version, Clippy with warnings as errors, a release build, the workspace tests (including size budgets for each binary and a latency guard), all three clients, the relay chart, dependencies, and your new commits for secrets.
What the tests are
- End to end, through the binaries. Most tests run the real commands in a throw-away home, often with a real relay and two homes standing in for two machines: messages, membership rules, encrypted rooms across machines, files, tasks, grants and approvals, leases with a real Git hook, agent wakes, A2A callers, MCP hosts, and the approval page.
- The documentation runs. Every shell block in the guides is run in order.
- Recorded results pin decisions. Over a thousand calls to the pure parts (membership and work rules, proofs, costs) are recorded and replayed, so a change of behaviour shows as a difference.
- Test vectors. The standard vectors for the cryptography, golden vectors that pin every byte on disk and on the wire, and the RFC 9420 interoperability vectors for MLS.
- Robustness. Random and mutated input to every decoder that reads bytes from the network. A damaged entry must never verify.
- Processes and crashes. Several processes racing on one store, and a writer killed mid-write.
With IL_STRICT=1, as in the project's CI, a test that cannot run because a tool is missing fails
instead of being skipped, so a green run means every test ran.
Using AI assistance
AI assistance is welcome when a person takes responsibility for the result. Say in the change or issue that you used it, and how much (research, drafting, code, tests or review comments). You must understand the change and be able to explain why it is needed, with evidence such as a reproduction, a test or a measurement: generated output is not itself evidence. Do not file speculative reports or bulk changes that no person has checked, and never put credentials or private room content into prompts, issues or commits. Maintainers can ask for a smaller change or more evidence, and can close a submission that does not meet this.
Conduct and help
The community follows the Contributor Covenant 3.0. For help, start with the guides on this site, then
open an issue with the commands from a fresh home, the output of il --version and il doctor.
Report a security problem privately (Reporting a security problem).
Anything that does not fit an issue can go to maintainers@interlinked.network.
Next
Governance says who decides what.