Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.83 KB

CONTRIBUTING.md

File metadata and controls

47 lines (34 loc) · 1.83 KB

Contributing to IGris

Thanks for helping. A few rules keep the project easy to trust.

Where things are

Path What
crates/igris-core The pipeline: orchestrator, decision layer, config, git helpers.
crates/igris-detect What is installed on the machine: agents, logins, Herdr, local models.
crates/igris The program: the terminal app (src/tui/) and the commands.
examples/ The example igris.toml and the chat-assistant files.
scripts/ The installers, their tests, the end-to-end checks and preview.py.
preview/ The README images and GIFs, made by scripts/preview.py.
site/ The website (Astro) and the pipeline page it embeds.
.github/ CI and release workflows, issue and pull request templates.

Set up

  • Rust: rustup installs the toolchain pinned in rust-toolchain.toml on the first build.
  • Website (optional): Node 20 or newer, in site/.

Before you open a pull request

Run what CI runs:

cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test
cargo deny check
  • A bug fix starts with a test that fails without the fix.
  • New dependencies are pinned to an exact version (=x.y.z) and must pass cargo deny.
  • Never commit secrets, .env files or personal paths.
  • After a change to the terminal app, cargo build && scripts/tui-e2e.sh drives the real program in tmux. To refresh the README images, run scripts/preview.py (needs tmux, chromium and Pillow).

Branches and commits

  • Branch: <type>/<area>-<task>, where type is feat, fix, docs or chore.
  • Commit subject, one line, past tense: <Action>: <what changed>.
  • Pull requests are squash-merged once CI is green.

License

By contributing you agree your work is licensed under Apache-2.0. No CLA. Please follow the Code of Conduct.