Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

docs(contributing): the evidence a contributor owes scales with what they touched

Harald698573b41d60
diff --git a/.gitattributes b/.gitattributes
index bfe5be7c8a..f3921b2f53 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -46,3 +46,11 @@ install/tuf/*.json text eol=lf
# (jarvis/realtime/local_server/patching.py): a CRLF checkout would change
# every inserted line and fail the result hash. Pin them to LF everywhere.
*.patch text eol=lf
+
+# The shipped web bundle is BUILD OUTPUT that has to stay tracked: install.sh
+# clones this repository (`git clone --depth 1`) and the wheel ships dist/ as
+# package data, so a user needs no Node toolchain to run Personal Jarvis.
+# Marking it generated keeps it out of pull-request diffs and out of GitHub's
+# language statistics. Contributors never commit it; the maintainer rebuilds
+# the bundle from HEAD's sources (see CONTRIBUTING.md, "Opening your PR").
+jarvis/ui/web/dist/** linguist-generated=true
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 02b368bd77..a3174c8b42 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,8 +1,11 @@
-blank_issues_enabled: false
+blank_issues_enabled: true
contact_links:
- - name: Questions & community
- url: https://discord.gg/UPu6pFWrJ
- about: For usage questions, setup help, and general chat, please use Discord instead of an issue.
+ - name: Questions & community (Discord)
+ url: https://discord.gg/x7USduHxbc
+ about: Usage questions, setup help, and general chat. Fastest answer, usually same day.
+ - name: Ideas & design discussion
+ url: https://github.com/PersonalJarvis/PersonalJarvis/discussions
+ about: Propose a feature, ask how something is meant to work, or float an approach before you build it.
- name: Security vulnerability
- url: https://github.com/PersonalJarvis/PersonalJarvis/blob/main/SECURITY.md
- about: Please report security issues privately — do NOT open a public issue.
+ url: https://github.com/PersonalJarvis/PersonalJarvis/security/advisories/new
+ about: Report privately through GitHub. Please do NOT open a public issue.
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index a5510197a0..50fa0dcc45 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,38 +1,89 @@
<!--
-Thanks for contributing to Personal Jarvis! Please fill out the sections below.
-Keep all artifacts (code, comments, docs, this PR text) in English — see CONTRIBUTING.md.
+Thanks for contributing to Personal Jarvis.
+
+Tick only the block that matches your change. A one-line docs fix does not owe
+the same evidence as a new speech provider, and we do not pretend otherwise.
-->
## What does this PR do?
-<!-- A short, plain-language summary of the change and the motivation. -->
+<!-- Two or three sentences: what changed, and why. Plain language is fine. -->
+
+## Related issue
+
+<!-- "Closes #123", or "none" if there isn't one. Small fixes don't need an issue first. -->
+
+---
+
+## Everyone
+
+- [ ] **English only** — code, comments, docs, commit messages, and this PR text.
+ Maintainers have to be able to read every line that lands; CI enforces it.
+ Chat with us in any language you like on [Discord](https://discord.gg/x7USduHxbc).
+- [ ] **One logical change.** Unrelated fixes go in their own PR.
+- [ ] **No secrets, API keys, or personal data** anywhere in the diff.
+
+## Then pick your block
+
+<details open>
+<summary><b>Docs, comments, or translations only</b></summary>
+
+- [ ] Nothing else. Open it — this is the whole checklist.
+
+</details>
-## Related issues
+<details>
+<summary><b>Web UI / frontend change</b></summary>
-<!-- e.g. "Closes #123". Link any issue this addresses. -->
+- [ ] `npm run test` and `npm run build` pass in `jarvis/ui/web/frontend/`
+- [ ] It works in **light and dark mode** — colours come from theme tokens, not one hardcoded mode
+- [ ] Screenshot or clip below, before and after
+- [ ] You did **not** commit `jarvis/ui/web/dist/` — the maintainer rebuilds the shipped bundle
-## Type of change
+</details>
-- [ ] Bug fix (non-breaking change that fixes an issue)
-- [ ] New feature (non-breaking change that adds functionality)
-- [ ] Breaking change (fix or feature that changes existing behavior)
-- [ ] Documentation only
-- [ ] Refactor / internal cleanup (no behavior change)
+<details>
+<summary><b>Bug fix or ordinary Python change</b></summary>
-## Checklist
+- [ ] `pytest -m "not slow"` passes, and there is a test covering the fixed behaviour
+- [ ] `ruff check jarvis/` and `ruff format --check jarvis/` are clean
-- [ ] I read [`CONTRIBUTING.md`](../CONTRIBUTING.md) and, for larger changes, [`CLAUDE.md`](../CLAUDE.md) + [`docs/PHILOSOPHY.md`](../docs/PHILOSOPHY.md).
-- [ ] All artifacts are in English (code, comments, docs, commit messages).
-- [ ] Tests pass locally (`pytest -m "not slow"`), and I added tests for new behavior.
-- [ ] New brain/STT/TTS/tool/channel providers pass the contract suite (`pytest tests/contract/`).
-- [ ] No secrets, API keys, or personal data are included in the diff.
-- [ ] Lint/format is clean (`ruff check jarvis/` && `ruff format jarvis/`).
-- [ ] The change works on a headless Linux server (cloud-first), not only on a desktop — or local-only parts are gated behind an extras group with a graceful fallback.
+</details>
-## How was this tested?
+<details>
+<summary><b>New provider (wake / STT / TTS / brain / harness / tool / channel)</b></summary>
-<!-- Commands you ran, platforms you tested on (Linux / macOS / Windows), and what you observed. -->
+- [ ] `pytest tests/contract/` passes for the group you added to
+- [ ] No `import jarvis.*` inside the plugin module; entry-point registered in `pyproject.toml`
+- [ ] Secrets go through `get_secret()`; the provider degrades honestly without a key
+- [ ] Any heavy or platform-specific dependency is an extra, not a base install
-## Screenshots / recordings (if UI-facing)
+</details>
-<!-- Drag in before/after images or a short clip for any visible change. -->
+<details>
+<summary><b>Change to a shared contract (capability, config schema, turn-taking, credentials, OS backend)</b></summary>
+
+- [ ] Named which platforms and providers you touched, and what the others do now
+ (unchanged / emulated / degraded, with the reason)
+- [ ] `pytest tests/contract/` passes; a new gate has a test that fails without it
+- [ ] It still imports and boots on a headless `python:3.11-slim` container
+- [ ] `CHANGELOG.md` and the affected docs are updated
+
+</details>
+
+---
+
+## How did you test it?
+
+<!-- The commands you ran and the platform you ran them on (Linux / macOS / Windows).
+ "pytest -m 'not slow' on Ubuntu 24.04" is a complete answer. -->
+
+## Screenshots or recordings
+
+<!-- Only for visible changes. Drag the files straight in. -->
+
+<!--
+First PR here? You do not need to get every box right. Open it, and we will
+help you finish it in review. By contributing you agree your work is licensed
+under the MIT License.
+-->
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000000..efb74e9b05
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,138 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+We as members, contributors, and leaders pledge to make participation in our
+community a harassment-free experience for everyone, regardless of age, body
+size, visible or invisible disability, ethnicity, sex characteristics, gender
+identity and expression, level of experience, education, socio-economic status,
+nationality, personal appearance, race, caste, color, religion, or sexual
+identity and orientation.
+
+We pledge to act and interact in ways that contribute to an open, welcoming,
+diverse, inclusive, and healthy community.
+
+## Our Standards
+
+Examples of behavior that contributes to a positive environment for our
+community include:
+
+* Demonstrating empathy and kindness toward other people
+* Being respectful of differing opinions, viewpoints, and experiences
+* Giving and gracefully accepting constructive feedback
+* Accepting responsibility and apologizing to those affected by our mistakes,
+ and learning from the experience
+* Focusing on what is best not just for us as individuals, but for the overall
+ community
+
+Examples of unacceptable behavior include:
+
+* The use of sexualized language or imagery, and sexual attention or advances of
+ any kind
+* Trolling, insulting or derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or email address,
+ without their explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## A note on language
+
+Everything written into this repository is English — code, comments, docs,
+commit messages, issue and PR text. This is not a cultural preference, it is a
+practical one: maintainers have to be able to read and review every line that
+lands. Talk to us in whatever language you are comfortable with on Discord, and
+the assistant itself speaks many languages at runtime. The artifacts are
+English, and CI checks it.
+
+## Enforcement Responsibilities
+
+Community leaders are responsible for clarifying and enforcing our standards of
+acceptable behavior and will take appropriate and fair corrective action in
+response to any behavior that they deem inappropriate, threatening, offensive,
+or harmful.
+
+Community leaders have the right and responsibility to remove, edit, or reject
+comments, commits, code, wiki edits, issues, and other contributions that are
+not aligned to this Code of Conduct, and will communicate reasons for moderation
+decisions when appropriate.
+
+## Scope
+
+This Code of Conduct applies within all community spaces — this repository, the
+issue tracker, Discussions, and the Discord server — and also applies when an
+individual is officially representing the community in public spaces.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
+reported to the maintainers through
+[GitHub's private reporting form](https://github.com/PersonalJarvis/PersonalJarvis/security/advisories/new)
+or by direct message to a maintainer on
+[Discord](https://discord.gg/x7USduHxbc).
+
+All complaints will be reviewed and investigated promptly and fairly. All
+community leaders are obligated to respect the privacy and security of the
+reporter of any incident.
+
+## Enforcement Guidelines
+
+Community leaders will follow these Community Impact Guidelines in determining
+the consequences for any action they deem in violation of this Code of Conduct:
+
+### 1. Correction
+
+**Community Impact**: Use of inappropriate language or other behavior deemed
+unprofessional or unwelcome in the community.
+
+**Consequence**: A private, written warning from community leaders, providing
+clarity around the nature of the violation and an explanation of why the
+behavior was inappropriate. A public apology may be requested.
+
+### 2. Warning
+
+**Community Impact**: A violation through a single incident or series of
+actions.
+
+**Consequence**: A warning with consequences for continued behavior. No
+interaction with the people involved, including unsolicited interaction with
+those enforcing the Code of Conduct, for a specified period of time. This
+includes avoiding interactions in community spaces as well as external channels
+like social media. Violating these terms may lead to a temporary or permanent
+ban.
+
+### 3. Temporary Ban
+
+**Community Impact**: A serious violation of community standards, including
+sustained inappropriate behavior.
+
+**Consequence**: A temporary ban from any sort of interaction or public
+communication with the community for a specified period of time. No public or
+private interaction with the people involved, including unsolicited interaction
+with those enforcing the Code of Conduct, is allowed during this period.
+Violating these terms may lead to a permanent ban.
+
+### 4. Permanent Ban
+
+**Community Impact**: Demonstrating a pattern of violation of community
+standards, including sustained inappropriate behavior, harassment of an
+individual, or aggression toward or disparagement of classes of individuals.
+
+**Consequence**: A permanent ban from any sort of public interaction within the
+community.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage],
+version 2.1, available at
+https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
+
+Community Impact Guidelines were inspired by
+[Mozilla's code of conduct enforcement ladder][mozilla].
+
+[homepage]: https://www.contributor-covenant.org
+[mozilla]: https://github.com/mozilla/diversity
+
+For answers to common questions about this code of conduct, see the FAQ at
+https://www.contributor-covenant.org/faq. Translations are available at
+https://www.contributor-covenant.org/translations.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6207d94d12..6a235ed61b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -24,8 +24,25 @@
---
+## Your first PR, in five lines
+
+1. Fork, then `git clone` your fork. `pip install -e . --no-deps && pip install -r requirements.txt && pip install -e ".[dev]"`
+2. Pick something from [good first issue](https://github.com/PersonalJarvis/PersonalJarvis/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22), or just fix the thing that annoyed you.
+3. Change one thing. Run `pytest -m "not slow"` (or `npm run test` in `jarvis/ui/web/frontend/` for UI work).
+4. Open the PR. Tick only the block in the template that matches your change — a docs fix owes nothing else.
+5. Stuck at any point? Ask on [Discord](https://discord.gg/x7USduHxbc). Same day, usually.
+
+Small PRs get merged. You do not need to read the rest of this file to open one, and you do
+not need to understand the whole system to fix a piece of it. Everything below is reference
+for when you go deeper.
+
+**One exception, and it is not negotiable:** everything written into the repo is English.
+
+---
+
## Contents
+- [Your first PR](#your-first-pr-in-five-lines)
- [What to work on](#what-to-work-on)
- [Before you start](#before-you-start)
- [Development environment](#development-environment)
@@ -166,18 +183,27 @@ Tests use fakes from `tests/fakes/`, not mocks. New providers have to pass the c
## Opening your PR
-Run through this before you open it:
+The checklist in the PR template **scales with what you touched**; there is no single bar
+for everybody. Pick your block and ignore the rest:
+
+| Your change | What it owes |
+|---|---|
+| Docs, comments, translations | Nothing beyond English artifacts |
+| Web UI | `npm run test` + `npm run build`, works in light **and** dark mode, a screenshot. Do not commit `jarvis/ui/web/dist/` — the maintainer rebuilds the shipped bundle |
+| Bug fix, ordinary Python | `pytest -m "not slow"` green, a test for the fixed behaviour, `ruff` clean |
+| New provider | The above plus `pytest tests/contract/`, no `import jarvis.*` in the module, honest degradation without a key |
+| A shared contract (capability, config schema, turn-taking, credentials, OS backend) | The above plus: which platforms you touched and what the others do now, a boot on headless `python:3.11-slim`, `CHANGELOG.md` |
-- [ ] Tests pass (`pytest`), including `tests/contract/` for new providers
-- [ ] `ruff` and `mypy` are clean; the frontend builds and `vitest` is green
-- [ ] Everything new or changed is English (the CI language gate is required)
-- [ ] New wire-format enums use the five-layer pattern plus a parity test
-- [ ] No new base-install dependency on Windows-only or GPU-only packages
-- [ ] User-facing changes update the docs and `CHANGELOG.md`
+Unsure whether you are in the last row? Open the PR and ask. Guessing high wastes your
+evening; we would rather tell you in review.
Describe what changed and why, and link the issue it closes. By contributing you agree your
work is licensed under the [MIT License](LICENSE).
+> [!NOTE]
+> **A first PR does not have to be perfect.** Failing CI on a rule you had never heard of is
+> normal and is not a rejection. Say so in the PR and we will walk you through it.
+
## Community
<p align="center">
diff --git a/README.md b/README.md
index 45ac13e430..bf1e769480 100644
--- a/README.md
+++ b/README.md
@@ -562,10 +562,32 @@ land anywhere else, and questions are welcome there.
## Contributing
-Pull requests are welcome, and [`CONTRIBUTING.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/CONTRIBUTING.md) has the full
-guide. The short version: artifacts are English, read [`CLAUDE.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/CLAUDE.md)
-before larger changes, new providers must pass `pytest tests/contract/`, and security issues
-go to [`SECURITY.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/SECURITY.md) privately.
+Pull requests are welcome, and there is no bar you have to clear before opening one.
+[`CONTRIBUTING.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/CONTRIBUTING.md)
+opens with **your first PR in five lines**; the checklist scales with what you touched, so a
+docs fix owes nothing that a new speech provider owes. One rule holds for everyone:
+**everything written into the repo is English**, because a maintainer has to be able to read
+every line that lands. Talk to us in any language you like on
+[Discord](https://discord.gg/x7USduHxbc).
+
+Security issues go through [`SECURITY.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/SECURITY.md)
+privately, never a public issue. Everyone here follows the
+[Code of Conduct](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/CODE_OF_CONDUCT.md).
+
+### Where a human beats the agents
+
+Most commits here are written with AI assistance, and that is exactly why some work is
+wide open. These are the places a person contributes something no agent can:
+
+- **Real hardware.** AMD and Intel GPUs, Apple Silicon and Intel Macs, the distro your
+ laptop actually runs, the microphone you actually own. The maintainer has one Windows box.
+ Label [`area:hardware`](https://github.com/PersonalJarvis/PersonalJarvis/labels/area%3Ahardware).
+- **Providers we have no key for.** Every wake, STT, TTS, brain, and channel plugin is
+ swappable; adding one is self-contained work that `pytest tests/contract/` grades for you.
+- **Your language.** The assistant speaks whatever you configure, and native speakers catch
+ what a translation pass never does.
+- **Telling us it broke.** A precise bug report on a setup we cannot reproduce is worth more
+ than a patch.
## License