Current section
Files
Jump to
Current section
Files
ash_arcadic
CONTRIBUTING.md
CONTRIBUTING.md
<!--
SPDX-FileCopyrightText: 2026 BaseLabs Holdings LLC
SPDX-License-Identifier: MIT
-->
# Contributing to AshArcadic
Use this guide to prepare a contribution and run the checks that qualify
changes to AshArcadic.
## Prerequisites
Use the toolchain in `.tool-versions`. The first Elixir and Erlang
versions form the default lane. See [Compatibility](documentation/topics/about-ash-arcadic/compatibility.md)
for the supported toolchains and database baseline.
## Build and test
1. Branch from `main` and make the change. Update `CHANGELOG.md` under
`[Unreleased]` when behavior, dependencies, or contracts change.
2. Push the work branch. The quick workflow runs `mix check` and the
covering tests against ArcadeDB on GitHub-hosted runners.
3. Open a pull request against `main` after the quick workflow passes.
A maintainer lands accepted commits through qualification on
`kci/<full sha>`. The `qualified` job must succeed before `main` moves.
Qualification runs Dialyzer, the live suite on the supported toolchains,
and the shipped Livebooks on the default toolchain. The integration
workflow starts the database and discovers notebooks in the unpacked
Hex archive.
## Documentation
Keep user guides under `documentation/` and consumer rules in
`usage-rules.md`. Regenerate the DSL reference when extension
declarations or their docs change.
```console
mix spark.cheat_sheets --extensions AshArcadic.DataLayer,AshArcadic.Replicant
```
CI checks cheat-sheet freshness, ExDoc warnings, and REUSE licensing
through `mix check`. Give authored files an SPDX header. Keep the
license sidecars for generated DSL reference files.
## Versioning and deprecations
Follow [Semantic Versioning](https://semver.org) for the documented DSL,
public modules, telemetry, and application configuration. Deprecate a
public form in a minor release before removing it in a later major
release. Keep the deprecated form working through at least one minor
release cycle. Use `@deprecated` to name the replacement and the release
that deprecates it. Keep warning text free of application data.
## Code of conduct and license
Follow the [Contributor Covenant](CODE_OF_CONDUCT.md). Contributions
are licensed under the [MIT License](LICENSE).