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.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
docs: bring the README up to the current product, rewrite CONTRIBUTING and SECURITY
Ruben Lütkee2cd6d441427
diff --git a/.agents/skills/publish-new-version/SKILL.md b/.agents/skills/publish-new-version/SKILL.mdindex 52b0c93f74..1538c45600 100644--- a/.agents/skills/publish-new-version/SKILL.md+++ b/.agents/skills/publish-new-version/SKILL.md@@ -45,8 +45,8 @@ Verify each, **with evidence**, before anything is shipped:pinned to the maintainer's keys / provider / OS. Confirm (test or honest trace):fresh-install-with-one-key, headless-Linux boot, cross-family fallback all reach aworking path. If you cannot verify, say so and STOP — do not assume.-- **Community health files present & intact** — README, LICENSE, CODE_OF_CONDUCT.md,- TRADEMARK.md, issue/PR templates.+- **Community health files present & intact** — README, LICENSE, TRADEMARK.md,+ issue/PR templates.Report every item as **PASS** or **STOP** with the evidence. No silent skips.diff --git a/.claude/skills/publish-new-version/SKILL.md b/.claude/skills/publish-new-version/SKILL.mdindex 52b0c93f74..1538c45600 100644--- a/.claude/skills/publish-new-version/SKILL.md+++ b/.claude/skills/publish-new-version/SKILL.md@@ -45,8 +45,8 @@ Verify each, **with evidence**, before anything is shipped:pinned to the maintainer's keys / provider / OS. Confirm (test or honest trace):fresh-install-with-one-key, headless-Linux boot, cross-family fallback all reach aworking path. If you cannot verify, say so and STOP — do not assume.-- **Community health files present & intact** — README, LICENSE, CODE_OF_CONDUCT.md,- TRADEMARK.md, issue/PR templates.+- **Community health files present & intact** — README, LICENSE, TRADEMARK.md,+ issue/PR templates.Report every item as **PASS** or **STOP** with the evidence. No silent skips.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 875d1d7288..bc241b3def 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -7,8 +7,7 @@<h1 align="center">Contributing</h1><p align="center">- Thank you for helping build Personal Jarvis.<br/>- This guide covers dev setup, the architecture, what to build, and getting your PR merged.+ Dev setup, the architecture worth knowing before you touch it, and what gets a PR merged.</p><p align="center">@@ -19,19 +18,19 @@</p>> [!IMPORTANT]-> **All artifacts in this repo are English** — code, comments, docstrings, docs, commit-> messages, and PR text. You can talk to us in any language (the assistant itself speaks-> de/en/es at runtime), but everything written *into the repo* is English. CI enforces this.+> **Everything written into this repo is English**: code, comments, docstrings, docs, commit+> messages, PR text. Talk to us in whatever language you like, and the assistant itself+> speaks several at runtime, but the artifacts are English and CI checks it.---## Contents-- [Contribution priorities](#contribution-priorities)+- [What to work on](#what-to-work-on)- [Before you start](#before-you-start)- [Development environment](#development-environment)-- [Architecture in 60 seconds](#architecture-in-60-seconds)-- [Plugin, Tool, or Skill?](#plugin-tool-or-skill)+- [The architecture worth knowing](#the-architecture-worth-knowing)+- [Plugin, tool, or skill?](#plugin-tool-or-skill)- [Conventions](#conventions)- [Testing](#testing)- [Opening your PR](#opening-your-pr)@@ -39,28 +38,35 @@----## Contribution priorities+## What to work on-We value contributions in this order:+Bug fixes come first, always: crashes, wrong behaviour, lost data, anything that made the+voice path worse than it was.-| # | Priority | What it covers |-|:---:|---|---|-| 1 | **Bug fixes** | Crashes, incorrect behavior, data loss, voice-path regressions. Always top priority. |-| 2 | **Cross-platform** | Linux, macOS, Windows, headless servers. A feature that only works on one OS is *incomplete* — see [`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md). |-| 3 | **Security hardening** | Prompt injection, the instruction-source boundary, the risk-tier policy, path traversal, privilege escalation — see [`SECURITY.md`](SECURITY.md). |-| 4 | **Performance & robustness** | Voice latency budgets, retry logic, graceful degradation, the "conversation never blocks" contract. |-| 5 | **New providers / plugins** | Wake · STT · TTS · brain · harness · tool · channel. Provider-agnostic, and must pass the contract suite. |-| 6 | **New skills** | Broadly useful ones only. Generated skills land as drafts and are never auto-activated. |-| 7 | **Documentation** | Fixes, clarifications, new examples. |+After that, cross-platform work. Linux, macOS, Windows and headless servers are equal here,+and a feature that only runs on one of them is unfinished rather than done. The reasoning is+in [`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md).++Then security hardening: prompt injection, the boundary between what the user said and what+a tool merely observed, the risk-tier policy, path traversal, privilege escalation. See+[`SECURITY.md`](SECURITY.md).++Then robustness and speed, which here mostly means voice latency, retry behaviour, honest+degradation, and the rule that a conversation never blocks.++New providers and plugins are welcome across all seven groups (wake, STT, TTS, brain,+harness, tool, channel). They have to stay provider-agnostic and pass the contract suite.+New skills are welcome when they are broadly useful; generated ones land as drafts and are+never activated on their own. Documentation fixes are welcome any time.## Before you start> [!TIP]-> For anything non-trivial, **open an issue first** so we can agree on the approach — it-> saves you from a merged-PR-shaped surprise.+> For anything non-trivial, open an issue first so we can agree on the approach. It saves+> you from writing a PR that was never going to land.-- Search existing issues, and say hi on [Discord](https://discord.gg/x7USduHxbc).-- Keep each PR focused — one logical change is far easier to review and merge.+Search the existing issues, and say hi on [Discord](https://discord.gg/x7USduHxbc). Keep each+PR to one logical change; it is far easier to review and merges much faster.## Development environment@@ -80,49 +86,59 @@ python -m jarvis.ui.web.launcher # run it (add --headless for a server)```> [!NOTE]-> After editing entry-points in `pyproject.toml`, re-run `pip install -e . --no-deps` — that-> is what activates new plugins. The frontend lives in `jarvis/ui/web/frontend/`-> (`npm install`, then `npm run dev` / `npm run build` / `npm run test`).+> After editing entry-points in `pyproject.toml`, re-run `pip install -e . --no-deps`. That+> is what activates new plugins, and skipping it is the single most common reason a plugin+> "does not exist". The frontend lives in `jarvis/ui/web/frontend/`: `npm install`, then+> `npm run dev` / `npm run build` / `npm run test`.++## The architecture worth knowing++Personal Jarvis is an 8-layer system. Four rules matter before you write anything:++Higher layers reach lower ones only through the protocols in `jarvis/core/protocols.py`.+Anything sideways goes over the EventBus as a typed, immutable event.-## Architecture in 60 seconds+Everything streams. `Brain`, `STT`, `TTS` and `Harness` methods return an `AsyncIterator`,+and a provider that cannot stream yields exactly one element.-Personal Jarvis is an 8-layer system. The rules that matter for contributors:+No vendor is load-bearing. Never hardcode one brain provider; `cfg.brain.primary` decides.-- **Higher layers reach lower layers only through protocols** (`jarvis/core/protocols.py`); lateral communication is only via typed, immutable events on the **EventBus**.-- **Streaming-first** — `Brain`/`STT`/`TTS`/`Harness` methods return `AsyncIterator`; non-streaming providers yield exactly one element.-- **Provider-agnostic** — never hardcode one brain vendor; `cfg.brain.primary` selects.-- **Router-Brain dispatches** to interchangeable harnesses; heavy work runs as **missions** in isolated `git worktree` branches under a Worker-Critic loop.+The router dispatches rather than doing. Heavy work becomes a mission in an isolated+`git worktree`, under a worker and critic loop.-For the deep dive, read [`docs/LLM-CONTEXT.md`](docs/LLM-CONTEXT.md) (a dense engineering snapshot), [`CLAUDE.md`](CLAUDE.md) (binding conventions), and [`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md) (the cross-platform, cloud-first doctrine).+For the deep version, read [`docs/LLM-CONTEXT.md`](docs/LLM-CONTEXT.md), which is a dense+engineering snapshot, [`CLAUDE.md`](CLAUDE.md) for the binding conventions, and+[`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md) for the cross-platform doctrine.-## Plugin, Tool, or Skill?+## Plugin, tool, or skill?-The most common design question — pick the smallest thing that fits:+The most common design question. Pick the smallest thing that fits:-| | **Plugin** | **Tool** | **Skill** |+| | Plugin | Tool | Skill ||---|---|---|---|-| **What it is** | A swappable *provider* | A brain-callable *action* within a turn | An authored, multi-step *workflow* |-| **Where it lives** | `jarvis/plugins/<group>/` in one of 7 groups | Registered tool, run via `ToolExecutor` | Authored skill; generated ones start as `draft` |-| **Golden rule** | No `import jarvis.*` inside the module; new STT/Brain/Tool/Channel must pass `tests/contract/` | **Never** call `Tool.execute()` directly | **Never** auto-activated |+| What it is | A swappable provider | A brain-callable action inside one turn | An authored, multi-step workflow |+| Where it lives | `jarvis/plugins/<group>/`, one of 7 groups | Registered tool, run via `ToolExecutor` | Authored skill; generated ones start as `draft` |+| The rule you cannot break | No `import jarvis.*` in the module; new STT/Brain/Tool/Channel must pass `tests/contract/` | Never call `Tool.execute()` directly | Never auto-activated |-**Rule of thumb:** a swappable backend → **plugin**; a single brain-callable action → **tool**; an authored multi-step workflow → **skill**.+A swappable backend is a plugin. A single action the brain can call is a tool. A multi-step+workflow somebody wrote down is a skill.## Conventions-These keep the project coherent — most are enforced in CI:+Most of these are enforced in CI, so you will find out either way. Better to know first:| Area | The rule ||---|---|| Language | English artifacts only (CI `language-policy` gate) |-| Risk tier | `ToolExecutor.execute()` is the **only** authorized execution path |-| Router | `ROUTER_TOOLS` is a frozenset; no spawn-tool in a worker tool set |-| Enum drift | Strings crossing module boundaries use the five-layer pattern + a parity test |-| Config writes | Mutate `jarvis.toml` only via `config_writer` (lock + tempfile + BOM-safe) |+| Risk tier | `ToolExecutor.execute()` is the only authorized execution path |+| Router | `ROUTER_TOOLS` is a frozenset; no spawn tool in a worker tool set |+| Enum drift | Strings crossing module boundaries use the five-layer pattern plus a parity test |+| Config writes | Mutate `jarvis.toml` only via `config_writer` (lock, tempfile, BOM-safe) || Subprocess | Always pass `NO_WINDOW_CREATIONFLAGS` || Secrets | Only via `get_secret()`; never in code, config, or commits |-| Dependencies | No new Windows-/GPU-specific dependency in the base install — `[desktop]` extras only |+| Dependencies | No Windows-only or GPU-only dependency in the base install; extras only |-The full anti-pattern register lives in [`docs/LLM-CONTEXT.md`](docs/LLM-CONTEXT.md).+The full anti-pattern register is in [`docs/LLM-CONTEXT.md`](docs/LLM-CONTEXT.md).## Testing@@ -137,21 +153,21 @@ mypy jarvis/cd jarvis/ui/web/frontend && npm run test && npm run build```-Tests use fakes (in `tests/fakes/`), not mocks. New providers must pass the contract suite.+Tests use fakes from `tests/fakes/`, not mocks. New providers have to pass the contract suite.## Opening your PR-Run through this checklist before you open it:+Run through this before you open it:- [ ] Tests pass (`pytest`), including `tests/contract/` for new providers- [ ] `ruff` and `mypy` are clean; the frontend builds and `vitest` is green-- [ ] All new/changed artifacts are English (the CI language-policy gate is required)-- [ ] New wire-format enums use the five-layer pattern + a parity test-- [ ] No new base-install dependency on Windows-/GPU-specific packages (extras only)-- [ ] User-facing changes update the docs / `CHANGELOG.md`+- [ ] 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`-Open a PR with a clear description of *what* changed and *why*, and link the issue it closes.-By contributing, you agree your contribution is licensed under the [MIT License](LICENSE).+Describe what changed and why, and link the issue it closes. By contributing you agree your+work is licensed under the [MIT License](LICENSE).## Communitydiff --git a/README.md b/README.mdindex 8df384c04f..8a83d9663e 100644--- a/README.md+++ b/README.md@@ -38,7 +38,7 @@ with a microphone.| *"Call the clinic and book the next open appointment."* | A real outbound phone call goes out over the optional Twilio line. || *"Remember: Alex prefers Signal over email."* | Written to the Knowledge Wiki, and still known in every later session. || *"Switch the voice over to Cartesia."* | The speech provider changes while you talk, and Jarvis reads the change back to you, old then new. |-| *"Tell Nova to run the tests."* | The instruction lands in that agent's terminal in the Agentic IDE workspace. |+| *"Tell T1 to run the tests."* | The instruction lands in terminal 1 of the Agentic IDE workspace. || *"Open the browser and pull up the weather."* | Jarvis takes the mouse and keyboard and does it on your screen. |All six run on shipped code. None of them is a roadmap item. Two carry a setup cost that@@ -46,12 +46,29 @@ is not out of the box: the phone call needs the optional `[telephony]` extra pluTwilio account, a number, and a publicly reachable HTTPS URL for the webhooks. Computer useneeds a desktop install with a screen, not the headless one.-When-then triggers are a real feature too, but you cannot arm them by voice. You create-them in the Tasks view or with `jarvis tasks create`, not by saying "when X, do Y". They-fire on a clock, on an interval, or on one of Jarvis's own internal events, such as a-mission finishing or a message being sent. They do not fire on arbitrary things happening-elsewhere on your PC. What they can do is speak, run one tool, dispatch a harness, or run-an agent turn.+## Which model answers you++Three of them sit behind that table, and which one you get depends on what you asked for.+You never choose; the handover happens mid-sentence.++The **realtime model** carries the conversation. It hears you and speaks back in under a+second, and it is built for talking rather than for thinking hard.++The moment your request needs an actual tool, that turn goes to a **second model**. It is+slower than the realtime one and noticeably smarter, and it is the one that does things:+reading your wiki, changing a setting, placing the call, taking the screen. You hear the+answer in the same voice, so from the outside it stays one conversation.++Real work goes to a **third**: a coding agent that runs in an isolated copy of the+workspace, gets reviewed by a critic, and comes back with a file.++<p align="center">+ <img src="https://github.com/PersonalJarvis/PersonalJarvis/raw/main/assets/screenshots/model-tiers.png" alt="The API Keys screen with one tab per model tier: Realtime, Tool Model, and Agents" width="860" />+</p>++<p align="center">+ <sub>One tab per tier in the app, each with its own provider. You only need keys for the tiers you actually use.</sub>+</p>## Demo@@ -123,7 +140,14 @@ A deeper engineering map, with anti-patterns, bug classes, and phase status downOne command on Windows, macOS, or Linux. You need Python 3.11 or newer and Git; theinstaller checks for both and stops with a download link if one is missing. It asks nothingin the terminal. It launches the app, and the app walks you through a one-time setup for-language, wake word, and API keys. Bring your own keys, nothing is bundled.+language, wake word, and API keys.++**What it costs: nothing to us.** Personal Jarvis is MIT-licensed software you run on your+own machine. There is no subscription for it, no paid tier, no marketplace cut, and no+referral link behind any provider named on this page. What you do need is access to a+model, and that is billed by whoever provides it, straight to you. An AI subscription you+already pay for works, and so does a pay-per-token API key. The same goes for the optional+pieces: a phone call runs on your own Twilio account at Twilio's prices.**Windows** (PowerShell)@@ -156,19 +180,8 @@ bash ~/.personal-jarvis/install/uninstall.sh```Both of those run the uninstaller that is already on your disk. If it is missing or refuses-to start (installs from 1.1.0 and 1.1.1 shipped one that could not run on macOS at all),-skip it and use the app's own uninstall directly. Same job, no bootstrap involved. Add-`--dry-run` first to see what it would remove:--```bash-# macOS · Linux-~/.personal-jarvis/.venv/bin/python -m jarvis --uninstall-```--```powershell-# Windows (PowerShell)-& "$env:USERPROFILE\.personal-jarvis\.venv\Scripts\python.exe" -m jarvis --uninstall-```+to start, the app can uninstall itself instead: see+[`install/README.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/install/README.md#uninstalling).<details><summary><b>Optional extras, install flags, pipx & manual clone</b></summary>@@ -221,10 +234,6 @@ jarvis # full desktop: window + voice + Orb overlayjarvis serve # headless server: API + WebSocket + browser UI, no local audio needed```-<p align="center">- <img src="https://github.com/PersonalJarvis/PersonalJarvis/raw/main/assets/screenshots/app-desktop.png" alt="The Personal Jarvis desktop app" width="860" />-</p>-<details><summary><b>Headless / server notes</b></summary>@@ -273,11 +282,22 @@ edit, and sync it yourself.### Computer use-Jarvis takes the mouse and keyboard when you ask: opening apps, clicking, typing,-navigating. An on-screen action border shows you when it is driving. That border is drawn-by a small Qt sidecar from the `[desktop]` extra; where the sidecar is absent, on a base or-headless install and on aarch64 Linux, it degrades to a logged no-op and the control itself-still works.+Ask for something that has no API, and Jarvis takes the mouse and keyboard: opening apps,+clicking, typing, navigating. There is no scripted path per application. It works the way+you would.++The loop is perceive, act, verify. Jarvis takes a screenshot, a vision model says what to+click next, the click is made through the platform's own input layer, and then it looks+again to check that what it intended actually happened. Two details keep that honest.+Coordinates are resolved against the exact frame the model saw, not against a stale+picture of the screen, so a window that moved between two steps cannot send a click into+nothing. And every action goes through a ledger that refuses duplicates, so a model that+repeats itself does not click Send twice.++While it drives, a border sits around the screen so you can see it is not you. That border+comes from a small Qt companion in the `[desktop]` extra. Where the companion is absent, on+a base or headless install and on aarch64 Linux, it degrades to a logged no-op and the+control itself still works.### Channels and telephony@@ -302,19 +322,28 @@ Generated skills always land as drafts for your review. Nothing self-activates.### Dictation-Hold a key and talk, and what you said goes into whatever text field currently has focus,-in any application. Jarvis writes through the clipboard, sends the paste chord, and puts-your old clipboard back. There is a key you hold while speaking and a separate key that-toggles, and you can have both armed at once.--Filler sounds are stripped by plain pattern matching, per language, with no model call-involved. An optional second pass handles what pattern matching structurally cannot:-punctuation, capitalization, false starts, spoken numbers. It sits behind a hard latency-ceiling, and every one of its failure paths hands back your raw transcript unchanged. A-separate translate pass writes what you said in one fixed target language instead. Words-the recognizer keeps getting wrong go into your own dictionary, and everything dictated is-kept locally in both raw and cleaned form, so a cleanup can always be checked after the-fact.+Hold a key and talk, and what you said appears in whatever text field currently has focus.+Any application, not only this one: a browser, an editor, a chat box, a form in some+internal tool. Jarvis writes through the clipboard, sends the paste chord, and puts your+old clipboard back where it was. When a paste does not land, it says so rather than quietly+losing what you said.++One key is held down while you speak, a second one toggles, and you can have both armed at+the same time. A third pastes the last thing you dictated again, for the field that ate it.+Recognition runs on whichever speech provider you configured, and that can be a local+model, in which case your voice never leaves the machine.++Then it gets cleaned up twice. The first pass strips filler sounds by plain pattern+matching, per language, with no model involved at all. The second is optional and does what+pattern matching structurally cannot: punctuation, capitalization, false starts, spoken+numbers. It sits behind a hard latency ceiling, and every failure path hands back your raw+transcript unchanged rather than a mangled one. A separate pass translates instead, writing+what you said in one fixed target language.++Words the recognizer keeps getting wrong go into a dictionary you control. Everything+dictated is kept on your disk in both raw and cleaned form, so you can see what a cleanup+changed and take the original back. The audio is kept too, which means an entry that came+back empty because a provider was down can be transcribed again later instead of being lost.### Realtime voice@@ -435,7 +464,7 @@ PersonalJarvis/├── .github/ # CI workflows + issue / pull-request templates├── scoop-bucket/ # Windows install manifest (Scoop)├── homebrew-tap/ # macOS install formula (Homebrew)-└── README · LICENSE · CODE_OF_CONDUCT · CONTRIBUTING · SECURITY · CHANGELOG+└── README · LICENSE · CONTRIBUTING · SECURITY · TRADEMARK · CHANGELOG```</details>diff --git a/SECURITY.md b/SECURITY.mdindex 57560ca6b6..d17059fb2c 100644--- a/SECURITY.md+++ b/SECURITY.md@@ -1,82 +1,83 @@-# Security Policy+# Security policy-Personal Jarvis runs workloads that sit close to untrusted content — voice, web pages,-documents, and computer-use loops — so security is built into the architecture, not bolted-on. This document explains how to report a vulnerability and how the system defends itself.+Personal Jarvis works close to untrusted content. It reads web pages, documents and+screenshots, it listens to a microphone, and with the desktop extras it drives the mouse and+keyboard. That shapes how it is built, and it shapes what we consider a security bug.## Reporting a vulnerability-**Please report security issues privately — do not open a public issue.**+Report security issues privately. Please do not open a public issue.-- **Preferred:** use GitHub's private vulnerability reporting — the **"Report a vulnerability"**- button on this repository's **Security** tab. It opens a private advisory only the- maintainers can see.-- **Alternative:** reach out on [Discord](https://discord.gg/x7USduHxbc) and ask a maintainer- for a private channel before sharing any details.+The preferred route is GitHub's private vulnerability reporting: the "Report a vulnerability"+button on this repository's Security tab. It opens an advisory only the maintainers can see.+If that does not work for you, ask a maintainer on [Discord](https://discord.gg/x7USduHxbc)+for a private channel before you share any details.-Please include a clear description, the affected component, and reproduction steps. We'll-acknowledge your report as soon as we reasonably can and keep you updated on the fix. Please-give us a chance to ship a fix before any public disclosure.+Include what you found, which component it affects, and how to reproduce it. You will get an+acknowledgement as soon as we reasonably can, and updates while it is being fixed. Please+give us a chance to ship that fix before going public.## Supported versions-Personal Jarvis ships from `main`; security fixes land there. There are no long-term-support-branches — please test against the latest `main`.--## Security model--Security is enforced by the architecture, so the same guarantees hold regardless of which-providers you configure:--- **Instruction-source boundary.** Only the user — via the chat or voice interface — issues- instructions. Everything observed *through tools* (web pages, emails, documents, screenshots,- file contents) is treated as **data, not commands**. Instructions embedded in observed- content are surfaced to the user, never executed.-- **Risk-tier policy.** Every tool call is classified `safe` / `monitor` / `ask` / `block`- with the precedence *blacklist > whitelist > tool default*. `ToolExecutor.execute()` is the- **only** authorized execution path — direct `Tool.execute()` calls are forbidden.-- **Prompt-injection defenses.** The lean Router-Brain dispatches to isolated workers, and a- regex-only output filter scrubs the spoken path. Observed content cannot escalate privileges- or redirect data to endpoints it suggests.-- **Secret handling.** Secrets are accessed only through `get_secret()` (OS credential manager- → environment → `.env` dev fallback). They never live in code, config, or commits, and the- voice/chat path never accepts secrets (an STT-log-leak vector).-- **Self-modification safety.** Configuration changes go through a 10-step- *validate → backup → atomic-swap → synchronous reload → rollback → audit* pipeline, and any- generated skills are created as `draft` and never auto-activated.-- **Worker isolation.** Background workers run in fresh, isolated `git worktree` branches with- kill-on-crash containment, and never write to the user's working tree.-- **Least-privilege elevation.** Administrative actions are requested per-action and audited- over a signed (HMAC) IPC channel — never globally elevated.+Releases are cut from `main`, and security fixes land there. There are no long-term support+branches, so please test against the latest `main`.++## How it defends itself++These properties come from the architecture, so they hold no matter which providers you+configure.++**Instructions come only from you.** What Jarvis reads through a tool, a web page, an email,+a document, a screenshot, a file, is data and never a command. When observed content contains+text aimed at the agent, it gets surfaced to you instead of executed.++**Every tool call is classified before it runs.** The four tiers are `safe`, `monitor`, `ask`+and `block`, and a blacklist entry always outranks a whitelist entry. `ToolExecutor.execute()`+is the only authorized execution path; calling a tool directly is a bug, not a shortcut.++**Secrets stay out of reach.** They are read only through `get_secret()`, which goes to the OS+credential manager first, then the environment, then a `.env` fallback for development. They+never live in code, in config, or in a commit. The voice and chat paths refuse to accept a+secret at all, because a spoken API key would end up in a speech-to-text log.++**Configuration changes can be undone.** A self-modification runs through validate, back up,+swap atomically, reload synchronously, roll back on failure, and write an audit entry.+Generated skills are created as drafts and are never activated on their own.++**Workers are isolated.** Background work runs in a fresh `git worktree` with kill-on-crash+containment, and never writes into your working tree.++**Elevation is per action.** Administrative steps are requested one at a time over a signed+IPC channel and audited. Nothing runs globally elevated.## Privacy-Privacy is part of the security model, in both directions:+Your conversations, the Knowledge Wiki, your contacts and your configuration are files on+your own machine. Nothing is sent anywhere except to the providers and integrations you+configured yourself, and speech recognition can run entirely locally if you would rather no+audio leaves the machine at all. There is no analytics and no tracking in the product.-- **Your data stays yours.** Conversations, the Knowledge Wiki, contacts, and configuration- live in local files on your machine. There is no analytics or tracking built in — outbound- traffic goes only to the providers and integrations *you* explicitly configure (and speech- recognition can run fully locally if you prefer that no audio leaves the machine).-- **The repository itself is guarded.** Because a public git history is permanent, nothing- reaches this repository raw: every release is rebuilt as a depersonalized snapshot and runs- a layered, fail-closed privacy pipeline — tracked-files-only export, a distribution- denylist, deterministic PII/secret scrubbing, an independent full-snapshot review, a final- credential-shape scan, and an explicit human sign-off. Any uncertainty at any step stops- the release instead of shipping it. If you still spot personal data or a credential in the- repo or its history, report it privately (see above) — it is treated as a security issue.+On the repository side, a public git history is permanent, so the protection is preventive+rather than corrective. Personal data directories, `.env` files, the local config and all key+material are gitignored and never tracked. Credentials are blocked at commit time by hooks+that scan for key material, and GitHub's secret scanning with push protection stays on as the+backstop. A blocked push is treated as a real finding to fix, never as something to work+around. If you still find personal data or a credential in the repository or its history,+report it privately as described above. It is handled as a security issue.## Scope-**In scope:** the `jarvis` package, the desktop app, the plugin system, the tool-use and-risk-tier path, the self-modification pipeline, and the mission/worker isolation.+In scope: the `jarvis` package, the desktop app, the plugin system, the tool-use and+risk-tier path, the self-modification pipeline, and mission and worker isolation.-**Out of scope:** vulnerabilities in third-party provider APIs (report to the provider);-issues caused by user misconfiguration; and vulnerabilities in upstream dependencies (report-upstream — we track advisories via Dependabot and update as fixes land).+Out of scope: vulnerabilities in third-party provider APIs, which belong to that provider;+problems caused by your own misconfiguration; and vulnerabilities in upstream dependencies,+which belong upstream. We track those advisories through Dependabot and update as fixes land.-## A note on the threat model+## What you are actually running-Personal Jarvis is a powerful local agent: with the optional desktop extras it can see your-screen, type, run shell commands, and place calls. Treat the API keys you configure and the-permissions you grant it the way you would treat your own credentials. The defaults are-conservative; review what you enable before pointing it at production systems or sensitive data.+Personal Jarvis is a capable local agent. With the optional desktop extras it can see your+screen, type, run shell commands and place phone calls. Treat the API keys you give it and+the permissions you grant it the way you treat your own credentials. The defaults are+conservative, but review what you switch on before you point it at production systems or at+data you cannot afford to leak.diff --git a/docs/pre-launch-checklist.md b/docs/pre-launch-checklist.mdindex 6e4378221c..174ef9365b 100644--- a/docs/pre-launch-checklist.md+++ b/docs/pre-launch-checklist.md@@ -42,7 +42,7 @@ in your working tree.### Documentation & first impression- [ ] `README` — what it is, install, quickstart, screenshots that actually load.- [ ] `CONTRIBUTING.md`, `SECURITY.md` (real private reporting channel),- `CODE_OF_CONDUCT.md`, `CHANGELOG.md`.+ `CHANGELOG.md`.- [ ] `.env.example` / config-example files cover every required variable, with**no real values**.diff --git a/install/README.md b/install/README.mdindex 55f980a123..ad479184b0 100644--- a/install/README.md+++ b/install/README.md@@ -96,6 +96,37 @@ pip install rich packagingpython install/installer.py --dry-run```+## Uninstalling++The normal path is the uninstaller the installer put on disk. It removes the+install folder, the autostart entry, and the keychain entries. `--dry-run`+previews, `--yes` skips the confirmation:++```powershell+# Windows (PowerShell)+& "$env:USERPROFILE\.personal-jarvis\install\uninstall.ps1"+```++```bash+# macOS / Linux+bash ~/.personal-jarvis/install/uninstall.sh+```++If that script is missing or refuses to start, the app uninstalls itself. This+is the same job without the bootstrap wrapper, and it is the path to use on+installs from 1.1.0 and 1.1.1, which shipped an uninstaller that could not run+on macOS at all:++```bash+# macOS / Linux+~/.personal-jarvis/.venv/bin/python -m jarvis --uninstall+```++```powershell+# Windows (PowerShell)+& "$env:USERPROFILE\.personal-jarvis\.venv\Scripts\python.exe" -m jarvis --uninstall+```+## Environment overrides| Variable | Effect |