Skip to content

Contributing ​

By contributing you license your work under the MIT License and agree to follow the Code of Conduct. The full rules are in CONTRIBUTING.md, including the rules for changes.

Ways to help ​

  • Report a bug or suggest an improvement. Open an issue with what you did, expected and saw.
  • Improve these docs. Use the Edit this page on GitHub link on any page. Preview larger changes with pnpm docs:dev.
  • Fix a bug or add a feature. Open an issue first for anything larger than a small fix.
  • Write a module. Follow Custom modules. Core needs no change.

Security issues

Do not report a vulnerability in a public issue. Follow the private process in SECURITY.md.

Before you start ​

  1. Read Architecture and Security for the layers and guarantees a change must keep.
  2. Set up a checkout with Getting started.
  3. Connect only to servers you are allowed to access, and use disposable servers in development.

Rules that matter most ​

  • Apps depend on modules, modules on Core, never the reverse. Doctor and Deploy never depend on each other.
  • Every remote command is a structured command run by the Core executor, never a concatenated shell string.
  • Secrets live only in the OS keychain, never in the database, logs, IPC responses, fixtures, docs or commits.
  • Doctor stays read-only. CI checks that it exposes no mutating or privileged command.
  • Call a feature verified only after it ran on a real server and the result is in docs/verification/.

Before you open a pull request ​

CI runs the same checks.

sh
cargo fmt --check
cargo clippy --workspace --all-targets -- -D warnings
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test --workspace --all-features
pnpm typecheck
pnpm lint
pnpm build            # production frontend builds
shellcheck tools/*.sh # when you change scripts

Release bundles: tools/build-release.sh, see release.md.

Pull requests ​

  • One change per pull request, with a short what and why.
  • Update the document that owns the topic (documentation index).
  • Add an "Unreleased" entry to the changelog for user-visible changes.

Released under the MIT License.