Contributing to Omnigrex
Start with a GitHub Issue describing the problem, desired behavior, and how to verify it. Keep changes focused on that outcome and explain the reason for the change in the Pull Request.
Set up
Section titled “Set up”Clone the repository, install mise, and install Docker Engine with Compose v2 or Docker Desktop. Docker is needed for the Compose configuration check and integration tests; the normal local gate does not start a deployment.
mise installmise run checkThe gate checks Go formatting, static analysis, dead code, race-enabled unit tests, Compose configuration, and local documentation links. See development for source-built images and local stacks, and testing for focused and backend-specific gates.
Understand the project
Section titled “Understand the project”- Read AGENTS.md (GitHub) for repository working conventions.
- Use CONTEXT.md terminology.
- Start with the architecture overview, then read applicable decisions (GitHub).
- Put implementation plans in
docs/plans/and consequential choices in the decision log. - Keep the accepted
docs/plans/first-iteration.mdspecification intact.
Write behavior-focused tests for implementation changes and run the narrowest applicable tests plus mise run check.
Run Docker-backed integration tests when their behavior is affected.
The testing guide explains fixtures, backend requirements, and opt-in live tests.
Documentation
Section titled “Documentation”Document current supported behavior in the relevant audience guide or reference page. Link to authoritative operator procedures instead of copying secret, deployment, or recovery commands. Update navigation and incoming links when moving a page. Keep historical plans and evidence labeled as such; an accepted decision is not evidence that delivery is complete.
Use descriptive task titles, explain prerequisites and success conditions, and introduce terminology before relying on it. Put each full sentence on one physical line when writing or substantially editing long Markdown files. Use plain hyphens rather than em dashes.
mise run docs-checkThe documentation check validates repository-local Markdown links and heading anchors without network access. Operational shell examples also have focused executable checks; preserve those when moving procedures.
Third-party material
Section titled “Third-party material”When copying or adapting third-party code, prompts, or documentation, record the upstream source, pinned revision, affected local files, and modifications in THIRD_PARTY_NOTICES.md (GitHub).
Preserve the original copyright and license text under third-party/<component>/LICENSE, rather than adding legal metadata to agent-facing instructions.
Add the notice and license paths to the release packager’s licenseFiles allowlist in scripts/release/artifacts.go.
Both orchestrator images copy the third-party/ directory and notices to /usr/share/licenses/omnigrex/.
Include the notices and referenced licenses alongside any separately distributed binaries or adapted files as well.
Submit a change
Section titled “Submit a change”Describe what changed, why, and the checks actually run.
Call out unavailable checks or remaining limitations explicitly.
Never include .env, private keys, provider credentials, private deployment metadata, compatibility artifacts, or backups in a commit or public report.
