Contributing¶
Karni's contribution guide lives in the repository, next to the code it describes: CONTRIBUTING.md. The short version:
- Bugs: open an issue with a minimal reproduction. Security problems: never an issue. See Security.
- "Karni should have provided this": use the Friction issue template and show the project code you had to write. These reports are how the framework grows.
- New abstractions need three real occurrences of the pattern, an escape hatch, and an issue first.
- Breaking changes ship with a changelog entry, a codemod when they are
mechanical, a deprecation warning and a migration note. That is what makes
karni upgradework. See the stability promise. make test lint typecheckmust pass. Generated files (docs/cli.md,docs/errors.md,docs/settings.md,docs/ui.md, the schema snapshot) are regenerated, never hand-edited.- The tooling must scale. A benchmark (experimental,
scripts/benchmark/large_project.py) timeskarni check,karni contextand the tests on a 100-model project in CI, and fails when a step takes more than 1.5 times its baseline.
Everyone taking part follows the Code of Conduct. Karni is licensed under the Apache License 2.0. Contributions are accepted under the same licence, with no CLA.