Skip to content

Latest commit

 

History

History
75 lines (54 loc) · 2.86 KB

CONTRIBUTING.md

File metadata and controls

75 lines (54 loc) · 2.86 KB

Contributing

Languages: English (default) · فارسی

  1. Keep changes atomic and tested (cargo test --workspace, clippy -D warnings).
  2. English is the canonical docs language (SPEC, ADRs, schemas). Persian companions (.fa.md) must stay fact-aligned; do not invent language features in any README without SPEC + tests.
  3. Prefer fixing the compiler over weakening a test.
  4. Runtime changes: exercise rt/tests / size_echo_gates.
  5. See AGENTS.md for AI-oriented workflows and docs/COMPARE.md for honest peer positioning.
  6. Dual license: MIT OR Apache-2.0 (LICENSE.md). Contributions are dual-licensed the same way unless stated otherwise.
  7. Do not add Co-authored-by: Cursor <cursoragent@cursor.com> trailers. Optional local hook: git config core.hooksPath .githooks (strips that trailer on commit).

Build matrix

Host Runtime Notes
Windows --runtime=portable (default) or --runtime=iocp LLVM-MinGW clang on PATH (INSTALL.md)
Linux portable or --runtime=uring system clang; ASan+UBSan in CI sanitizer-rt
macOS portable best-effort; not a Quality-10 blocker

ADR workflow

  1. Irreversible decisions → new file under docs/adr/NNNN-slug.md.
  2. Status: Proposed → Accepted / Deferred / Superseded.
  3. Link the ADR from ROADMAP / PHASE docs and add a named gate.

Commit style

  • Imperative subject (~72 chars): Phase 34: deepen Track C tutorials
  • Body explains why; reference gates/ADRs when relevant.
  • No Cursor co-author trailer (see above).

Useful commands

cargo test --workspace
cargo clippy -p rynixc -p rynix-rir -p rynix-codegen -- -D warnings
python benchmarks/suite5/run_suite5.py --langs c,rynix
rynixc arch check
cd editors/vscode && npm install && npm run compile

Documentation

  • Do not mark ROADMAP ✅ without in-tree tests.
  • Suite5 Notes must disclose strength reductions (see benchmarks/suite5/README.md).
  • Keep machine-local ms tables dated and marked as sample runs.

RFCs (Track C)

Non-trivial language or process proposals use the RFC template:

  1. Copy rfcs/0000-template.md to rfcs/NNNN-slug.md.
  2. See process notes in rfcs/README.md — RFC before Track G language widen.
  3. Discuss in a PR; Accepted RFCs may require a follow-on ADR + named gate.
  4. Do not invent End-style domain theater or mark ROADMAP ✅ without evidence.

Good-first-issue labels

When labeling issues, prefer:

  • good-first-issue — docs typos, example polish, gate naming
  • docs — SPEC/ADR/Book only
  • runtime — rt/ / sanitizer care

Never Absolute-10 marketing stubs as starter tasks.

Onboarding

See docs/CONTRIBUTOR_ONBOARDING.md.