Thank you for your interest in contributing to apcore!
- Report bugs: Open an issue describing the problem
- Propose features: Open an issue with the
enhancementlabel - Submit code: Fork, branch, and open a pull request
- Improve docs: Fix typos, add examples, clarify language
- Review PRs: Help review open pull requests
The specification lives in docs/spec/protocol-spec.md. Changes to the spec require an issue discussing the change before a PR is opened. Spec changes must be reviewed and approved by at least 2 maintainers — or by all maintainers when fewer than 3 exist, per GOVERNANCE.md § Decision Making. With a single maintainer listed in MAINTAINERS.md, that is one approval. This qualifier used to be missing here, which made the requirement read as unsatisfiable for a single-maintainer project and put this file in conflict with GOVERNANCE.md.
Clone this repository once. Each SDK has its own setup and test commands.
| SDK | Directory | Setup |
|---|---|---|
| Python | python/ |
python -m pip install -e '.[dev]' |
| TypeScript | typescript/ |
pnpm install --frozen-lockfile |
| Rust | rust/ |
cargo build |
Run the commands from the corresponding SDK directory. The test suites read the shared fixtures in conformance/ at the repository root.
Each SDK workflow runs for changes to its language directory or workflow file. Changes under conformance/ or schemas/ run all three SDK test suites. Python and Rust are tested on their declared minimum versions as well as the primary versions. The TypeScript suite uses the development Node toolchain.
Each SDK has a distribution workflow that builds its package and runs the marked documentation examples against the installed package. The TypeScript distribution workflow uses the minimum supported Node version for the installed-package checks. Changes to the executable example pages or their extractor run all three distribution checks. You can also run all three manually via Core distribution verification. Update the marked examples directly when their public API calls change.
- Fork the repository and create a branch from
main - Make your changes with clear commit messages
- Add or update tests as appropriate
- Ensure all tests pass
- Open a PR with a description of the changes and why they are needed
- Wait for review — maintainers aim to respond within 7 days
All contributions must be signed off with DCO:
git commit -s -m "Description of change"
This certifies that you have the right to submit the contribution under the project's license. See developercertificate.org.
- Follow the existing code style in each SDK
- Write tests for new functionality
- Keep PRs focused — one logical change per PR
- Update documentation when changing user-facing behavior
When a change affects the protocol or module behavior, include the affected SDKs and their conformance drivers in the same pull request.
Please see SECURITY.md for instructions on reporting security vulnerabilities. Do not open public issues for security bugs.
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.