What you need
What you need
- The rules for everyone in
AGENTS.md: the product model, the ground rules (safety by default, Nodes outward only, identity stays with the tenant, secrets nowhere, Swiss German, accessibility) and how work is done. - The architecture decisions (ADRs) under
docs/adr/that your change touches. - For larger changes, an issue beforehand that describes the goal.
- A local environment as in Run from source.
1
Create a branch
Fork the repository and create a branch from
main: feat/…, fix/… or docs/….2
Make the change
Work with
pnpm dev (Console in the browser), pnpm dev:gateway (a Node) or pnpm dev:desktop. If the behavior changes, change the docs and the glossary in the same PR.3
Write tests
Tests are part of the change: unit tests for logic, contract tests for MCP tools (schema, permissions, approval), Playwright for the interface in light and dark, 1440 × 900 and 390 px.
4
Check
5
Commit
Write Conventional Commits, for example
feat(console): …, fix(gateway): … or docs(adr): ….6
Open the pull request
Fill in the checklist of the PR template. An approval in review and a green CI are needed to merge.
Your PR is ready when the CI is green, the checklist is complete and open questions for the product owner are in the PR.
Write an architecture decision
Every change to the architecture, the product model (levels, servers, apps, tools), security defaults or design rules needs an ADR in the same PR. In the repository, thenew-adr skill helps with this.
1
Read
Read
docs/adr/README.md and the ADRs listed there on the topic.2
Take the next free number
Copy
docs/adr/0000-template.md to docs/adr/NNNN-short-title.md. Check open branches too, so that two decisions do not get the same number.3
Fill it in
Write the context, the decision (concrete and checkable), the consequences and the alternatives considered. The status is “Proposed” until it is accepted. If it replaces an older ADR, that one gets “Superseded by ADR-NNNN”.
4
List it and check
Add the ADR to
docs/adr/README.md, adapt AGENTS.md, the glossary or the design documents if rules change, and run node scripts/check-adr.mjs.How Mono writes
Every text a person reads follows «Sprache und Ton» (docs/design/sprache.md). The source is de-CH; fr-CH, it-CH, rm-CH and en follow through the keys in packages/i18n. The rules below are for the German source; the examples are therefore German.
Open core and Mono Cloud
Mono Cloud and its infrastructure live only under the private paths fromprivate-paths.json, and no part of the open core imports them; pnpm check enforces this boundary.
What does not belong in a contribution?
What does not belong in a contribution?
- Secrets, customer data, real names of tenants, partners, hosts or accounts, not even in tests. Examples use the demo world (Muster AG, Beispiel GmbH, Treuhand Berg AG, Garage Beispiel AG, Muster IT) and hosts under
*.example. - Code for a single hosting provider. A host builds on the Node through its seams.
- A new runtime dependency without a justification. New packages are at least two weeks old.
How does a contribution get into the repository?
How does a contribution get into the repository?
Development happens in Mono’s private repository, which also holds Mono Cloud; this repository is exported from it. A merged PR is applied there with its authorship and comes back with the next export. Its commit hash may change in the process.
Where does a vulnerability go?
Where does a vulnerability go?
Never into a public issue. The way is under Security.
Next
Run from source
Local environment and all checks.
Architecture
The parts and their contracts.
Security
Report a vulnerability confidentially.
Glossary
Mono’s terms.