Skip to content

Latest commit

 

History

History
89 lines (72 loc) · 4.75 KB

CONTRIBUTING.md

File metadata and controls

89 lines (72 loc) · 4.75 KB

Contributing

Omarchy M4 Native is maintained by studioxradio aka kb2uka (Kb2uka). It is experimental on the M4 Air and very experimental on other M4 machines. Only the 13-inch M4 Air, Mac16,12 / J713, has this project's tested installer profile.

Branch policy

All contributor pull requests must target develop. This includes fixes, features, documentation and packaging changes. Create your working branch from the latest develop and select develop as the pull request's base branch.

main is reserved for releases. Only the maintainer, studioxradio aka kb2uka, promotes a validated develop revision to main for a release. Contributors must not open pull requests against main or push changes directly to it. Retarget a contribution opened against the wrong branch to develop before review.

Merging a contribution into develop does not publish an installer, tag a release or qualify another Mac model. Release promotion and publication remain the maintainer's decisions.

Attribution policy

This rule applies to every contributor and every pull request. Do not name or credit AI assistants, models, tools or vendors in pull request titles, descriptions, comments or reviews, or in commit messages, author credits or co-author trailers. Do not add generated-by signatures or automated assistant credits. Attribute contributions to the actual human contributors only.

Before submitting or updating a pull request, check its text and commit metadata for compliance. Correct noncompliant attribution before review or merge. Preserve all required upstream copyright and license notices; this policy does not authorize removing or replacing another author's credit.

Preparing a contribution

  • Keep the change focused and explain the problem and resulting behavior.
  • For hardware changes, identify the exact model, board, kernel and relevant userspace versions. Distinguish source inspection, offline tests and actual hardware observations.
  • Include relevant test results and before/after evidence. Run git diff --check and the checks that exercise the changed path. State checks you could not run.
  • Preserve existing copyright and license notices, identify imported code and provide corresponding source where its license requires it.
  • Keep credentials, personal browser data, machine identities, personalized firmware and raw session transcripts out of commits and pull requests. Use concise, redacted evidence.

Fresh installation, repeat boot and hardware behavior must be verified on the supported target before they are described as working. A passing offline check does not establish support for another board, codec or power state. Supported boards are listed in M4 boards; a change that adds one updates that table and its gates together.

M4 packages

Every update reaches owners through omarchy-m4-update. Like omarchy-update on stock Omarchy, it is the one command an owner runs, and it brings every M4 fix and new feature. Do not add an opt-in package, a manual pacman -S step, a script to download and run, or any other second install path. A new package goes into packaging/omarchy-m4/channel.json and the setup script's package list. Because an Air runs the setup script it already has, also make the next omarchy-m4-boot depend on the new package so that the first omarchy-m4-update run installs it. omarchy-m4-gpu is the worked example. If a feature needs a way to turn it off, give it an off switch in the installed package (as the speaker and GPU packages do with a hold file), not a separate install step.

M4 kernel, devicetree and boot changes ship through the signed package channel (package-channel.md). Any change to a package's contents needs a new pkgrel or pkgver; CI refuses to rebuild a published file name with different contents. Packages may only install the paths listed for them in packaging/omarchy-m4/channel.json and never the protected video, Widevine, audio, speaker or boot paths. A new kernel or devicetree also needs its hash in tools/m4-boot-compose.py. For a kernel, it also needs a requalified audio and video stack. Include the hardware evidence.

Automated checks and security review

PRs run on standard GitHub-hosted runners. External contributors need maintainer approval before their workflow runs. See CI and security for tests, security checks, limits and the public-repository activation status.

Every contribution needs maintainer review, including edits to workflows, scanner configuration, dependency files and CODEOWNERS. Explain any new external download, executable payload or install hook. Do not weaken a check to obtain a green result. Report security problems through SECURITY.md.