Skip to content

how to contribute

bondiano edited this page Nov 12, 2026 · 1 revision

Contributing

Start with the boundary you want to change, add a deterministic contract for the behavior, and run the full check before proposing it. Sych reviews its own pull requests, so reporting reviewer mistakes and incomplete coverage is part of contributing, not an exception to the workflow.

Contributor guide

Goal Guide
Prepare a branch, checks and self-review Development workflow
Choose tests, fixtures or a quality evaluation Testing
Investigate a local result or server failure Debugging
Find build, generation and performance commands Tooling
Follow code and evidence conventions Patterns and conventions
Operate a deployed server Deployment, Monitoring

For initial setup, follow Getting started. The pinned prerequisites are in rust-toolchain.toml, web/package.json and .github/workflows/ci.yml; the command definitions are in justfile.

Find the right implementation

Change Start here
Obligations, evidence acceptance, context or model passes Review analysis
Git, language servers, syntax, linters or CI reports Facts, Adapters
Providers, routing, cost or reservations Models
GitHub admission, jobs, publication, auth or operator APIs Server
Migrations, artifacts, import, retention or ledger persistence Storage
Commands and rendering CLI
Vue routes, queries and components Dashboard
Published guides and site assets Documentation website

The crate dependency direction is described in Workspace crates. Keep pure decisions in core, external integrations in adapters/storage and composition in app. A new route or DTO often needs changes across Rust contracts, generated OpenAPI and the dashboard client, not only one handler.

Minimum change checklist

  1. Follow the branch and pull-request rules in AGENTS.md. Do not overwrite unrelated local changes.
  2. Preserve snapshot/source-side identity, trust classes and separate execution/coverage/publication states. An unavailable check stays a gap.
  3. Add a focused regression near the owning boundary. Use fixture labels as expected behavior, not as claims about production quality.
  4. Regenerate contracts when needed, then run just check. This includes the dashboard, not only Rust. PostgreSQL and documentation-site checks are separate where applicable.
  5. For a pushed code change, wait for Sych's review of the current head and resolve or explain every finding and UNKNOWN; green CI alone is insufficient.

These pages describe the contribution process. This wiki-writing run did not execute a push, open a PR, run a paid review or perform the self-review cycle.

Key source files

Source Authority
AGENTS.md Mandatory agent branch, check and current-head self-review rules
README.md Project contribution guidance and Conventional Commits
justfile Exact local check recipes
.github/workflows/ci.yml Required Rust/dashboard and PostgreSQL jobs, CI evidence
crates/sych-core/tests/contracts.rs Versioned documents and generated schema/OpenAPI contracts
scripts/wait-sych Finite wait for the bot summary matching the PR head

Clone this wiki locally