# Contribute to OSMates

Report a bug, fix a page of this guide, or change the app's code, and what each kind of change needs.

## Choose where it goes

| You have | Take it to |
|---|---|
| A bug or a feature request | An [issue in osmates/osmates](https://github.com/osmates/osmates/issues/new/choose), with its form |
| A question or an idea | `#osmates-feedback` on [Discord](https://osmates.com/discord) |
| A mistake in this guide | **Edit on GitHub** at the end of the page |
| A change to the app | An issue first, then a pull request |
| A vulnerability | A private report, as [Report a security issue](https://osmates.com/docs/report-a-problem#report-a-security-issue) says |

## Fix a page of the guide

The guide is [osmates/docs](https://github.com/osmates/docs), under CC BY 4.0.

1. At the end of the page, click **Edit on GitHub**. Without write access to osmates/docs, GitHub makes a fork for you.
2. Make the change, following [STYLE.md](https://github.com/osmates/docs/blob/d64e5d1ae8fce55700025ea2c36166ddde741e16/STYLE.md).
3. Propose it as a pull request, and say what was wrong.

The pull request runs the guide's checks. The command reference, the MCP tools reference, and the Changelog come from the app's repository, so change those in osmates/osmates.

## Change the app

1. Open an issue before a feature or a large change. Say the problem, who it affects, and the result you want.
2. Read [Architecture and engines](https://osmates.com/docs/architecture), and the ADRs that touch your change.
3. [Build OSMates from source](https://osmates.com/docs/build-from-source), and run `make check` before each push.
4. Sign off each commit with `git commit -s`.
5. Open a pull request that links the issue and says how you tested the change.

The sign-off certifies the [Developer Certificate of Origin](https://developercertificate.org). There's no contributor license agreement. A maintainer reviews each pull request and runs the signed and guest tests it needs.

A change to what the app does also changes this guide. Open a draft pull request in osmates/docs that names yours, such as `osmates/osmates#123`. [CONTRIBUTING.md](https://github.com/osmates/osmates/blob/c3cf438e1cd234735e32f18c0f168d8e6f98009a/CONTRIBUTING.md) has the full rules.

## Know the licenses

Code you contribute to the app is under the MIT License, and text for the guide under CC BY 4.0. The OSMates name and icon aren't part of either, as [TRADEMARKS.md](https://github.com/osmates/osmates/blob/c3cf438e1cd234735e32f18c0f168d8e6f98009a/TRADEMARKS.md) says. Follow the [Code of Conduct](https://github.com/osmates/osmates/blob/c3cf438e1cd234735e32f18c0f168d8e6f98009a/CODE_OF_CONDUCT.md) in issues and reviews.
