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: refresh architecture overview, bug register, CLI references, release notes
Ruben Lütke522f153917c3
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.mdindex 3fc886529e..cb1a27c924 100644--- a/CODE_OF_CONDUCT.md+++ b/CODE_OF_CONDUCT.md@@ -60,7 +60,7 @@ representative at an online or offline event.Instances of abusive, harassing, or otherwise unacceptable behavior may bereported privately to the community leaders responsible for enforcement via the-project's Discord (https://discord.gg/UPu6pFWrJ) — direct-message a maintainer.+project's Discord (https://discord.gg/x7USduHxbc) — direct-message a maintainer.All complaints will be reviewed and investigated promptly and fairly.All community leaders are obligated to respect the privacy and security of thediff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex e904a77211..c0810fd584 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -14,7 +14,7 @@<p align="center"><a href="https://github.com/PersonalJarvis/PersonalJarvis/pulls"><img alt="PRs welcome" src="https://img.shields.io/badge/PRs-welcome-FFD60A?style=flat-square&labelColor=0A0A0A" /></a><a href="https://github.com/PersonalJarvis/PersonalJarvis/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22"><img alt="Good first issues" src="https://img.shields.io/badge/good%20first%20issues-open-FFD60A?style=flat-square&labelColor=0A0A0A" /></a>- <a href="https://discord.gg/UPu6pFWrJ"><img alt="Discord" src="https://img.shields.io/badge/Discord-join-FFD60A?style=flat-square&logo=discord&logoColor=0A0A0A&labelColor=0A0A0A" /></a>+ <a href="https://discord.gg/x7USduHxbc"><img alt="Discord" src="https://img.shields.io/badge/Discord-join-FFD60A?style=flat-square&logo=discord&logoColor=0A0A0A&labelColor=0A0A0A" /></a><a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-FFD60A?style=flat-square&labelColor=0A0A0A" /></a></p>@@ -59,7 +59,7 @@ We value contributions in this order:> For anything non-trivial, **open an issue first** so we can agree on the approach — it> saves you from a merged-PR-shaped surprise.-- Search existing issues, and say hi on [Discord](https://discord.gg/UPu6pFWrJ).+- 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.## Development environment@@ -156,12 +156,12 @@ By contributing, you agree your contribution is licensed under the [MIT License]## Community<p align="center">- <a href="https://discord.gg/UPu6pFWrJ"><img alt="Discord" src="https://img.shields.io/badge/Discord-join_the_server-FFD60A?style=for-the-badge&logo=discord&logoColor=0A0A0A&labelColor=0A0A0A" /></a>+ <a href="https://discord.gg/x7USduHxbc"><img alt="Discord" src="https://img.shields.io/badge/Discord-join_the_server-FFD60A?style=for-the-badge&logo=discord&logoColor=0A0A0A&labelColor=0A0A0A" /></a><a href="https://x.com/PersonalJarvis"><img alt="X" src="https://img.shields.io/badge/X-follow-FFD60A?style=for-the-badge&logo=x&logoColor=0A0A0A&labelColor=0A0A0A" /></a></p><p align="center">- <a href="https://discord.gg/UPu6pFWrJ">Discord</a> ·+ <a href="https://discord.gg/x7USduHxbc">Discord</a> ·<a href="https://x.com/PersonalJarvis">X</a> ·<a href="https://github.com/PersonalJarvis/PersonalJarvis/issues">Issues</a></p>diff --git a/README.md b/README.mdindex 8dbd134b57..485cda9265 100644--- a/README.md+++ b/README.md@@ -6,7 +6,7 @@<p align="center"><a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-e7c46e?style=for-the-badge&labelColor=242424" /></a>- <a href="https://discord.gg/UPu6pFWrJ"><img alt="Discord" src="https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white&labelColor=242424" /></a>+ <a href="https://discord.gg/x7USduHxbc"><img alt="Discord" src="https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white&labelColor=242424" /></a><a href="https://x.com/PersonalJarvis"><img alt="Follow @PersonalJarvis on X" src="https://img.shields.io/badge/Follow-%40PersonalJarvis-e7c46e?style=for-the-badge&logo=x&logoColor=white&labelColor=242424" /></a><a href="https://personaljarvis.ai/"><img alt="Personal Jarvis website" src="https://img.shields.io/badge/Website-personaljarvis.ai-e7c46e?style=for-the-badge&labelColor=242424" /></a><img alt="Python 3.11+" src="https://img.shields.io/badge/Python-3.11%2B-e7c46e?style=for-the-badge&logo=python&logoColor=e7c46e&labelColor=242424" />@@ -269,11 +269,11 @@ Inside `jarvis/`, the layout mirrors the 8-layer model above — `jarvis/brain/`Come build with us — questions, ideas, and showcases all welcome.<p align="center">- <a href="https://discord.gg/UPu6pFWrJ"><img alt="Discord" src="https://img.shields.io/badge/Discord-join_the_server-FFD60A?style=for-the-badge&logo=discord&logoColor=0A0A0A&labelColor=0A0A0A" /></a>+ <a href="https://discord.gg/x7USduHxbc"><img alt="Discord" src="https://img.shields.io/badge/Discord-join_the_server-FFD60A?style=for-the-badge&logo=discord&logoColor=0A0A0A&labelColor=0A0A0A" /></a><a href="https://x.com/PersonalJarvis"><img alt="X" src="https://img.shields.io/badge/X-follow-FFD60A?style=for-the-badge&logo=x&logoColor=0A0A0A&labelColor=0A0A0A" /></a></p>-- **Discord** — [discord.gg/UPu6pFWrJ](https://discord.gg/UPu6pFWrJ)+- **Discord** — [discord.gg/x7USduHxbc](https://discord.gg/x7USduHxbc)- **X** — [@PersonalJarvis](https://x.com/PersonalJarvis) · [@Ruben_Herz](https://x.com/Ruben_Herz)- **Instagram** — [@personaljarvis](https://www.instagram.com/personaljarvis/)- **GitHub** — [PersonalJarvis/PersonalJarvis](https://github.com/PersonalJarvis/PersonalJarvis)@@ -290,7 +290,7 @@ straight into provider costs, infrastructure, and development time.<p align="center"><i>This wall is empty — for now.</i><br/>- Want to be the first? Reach out on <a href="https://discord.gg/UPu6pFWrJ">Discord</a> or <a href="https://x.com/PersonalJarvis">X</a>.+ Want to be the first? Reach out on <a href="https://discord.gg/x7USduHxbc">Discord</a> or <a href="https://x.com/PersonalJarvis">X</a>.</p>| Tier | You get |@@ -301,7 +301,7 @@ straight into provider costs, infrastructure, and development time.| **Partner** | The above + a seat at the roadmap table |> Sponsorship is being set up. Want to talk before the page is live? Reach out on-> [Discord](https://discord.gg/UPu6pFWrJ) or [X](https://x.com/PersonalJarvis).+> [Discord](https://discord.gg/x7USduHxbc) or [X](https://x.com/PersonalJarvis).## Contributing@@ -336,5 +336,5 @@ to. Personal Jarvis is not affiliated with or endorsed by any of them — see<p align="center"><sub>Created by <b>Ruben Herz</b> · <a href="https://x.com/Ruben_Herz">@Ruben_Herz</a> · © 2026 · MIT</sub><br/>- <sub><a href="https://discord.gg/UPu6pFWrJ">Discord</a> · <a href="https://x.com/PersonalJarvis">X</a> · <a href="https://www.instagram.com/personaljarvis/">Instagram</a></sub>+ <sub><a href="https://discord.gg/x7USduHxbc">Discord</a> · <a href="https://x.com/PersonalJarvis">X</a> · <a href="https://www.instagram.com/personaljarvis/">Instagram</a></sub></p>diff --git a/SECURITY.md b/SECURITY.mdindex f702f7568c..57560ca6b6 100644--- a/SECURITY.md+++ b/SECURITY.md@@ -11,7 +11,7 @@ on. This document explains how to report a vulnerability and how the system defe- **Preferred:** use GitHub's private vulnerability reporting — the **"Report a vulnerability"**button on this repository's **Security** tab. It opens a private advisory only themaintainers can see.-- **Alternative:** reach out on [Discord](https://discord.gg/UPu6pFWrJ) and ask a maintainer+- **Alternative:** reach out on [Discord](https://discord.gg/x7USduHxbc) and ask a maintainerfor a private channel before sharing any details.Please include a clear description, the affected component, and reproduction steps. We'lldiff --git a/docs/BUGS.md b/docs/BUGS.mdindex 81995b13d4..99c0d598ca 100644--- a/docs/BUGS.md+++ b/docs/BUGS.md@@ -3960,7 +3960,7 @@ untrusted answer generator, not a progress indicator.**Symptom.** Voice session 2026-07-14 09:28: "Kannst du mir mal bitte dabeihelfen, zu schauen, was genau alles in meinem Wiki-System steht?" <!-- i18n-allow: quoted German user utterance under forensic analysis -->took 66 seconds and answered that the wiki holds USER.md, SOUL.md, and a-people folder with profiles for Harald, Joy, and the user's mother. The real+people folder with profiles for Sam, Joy, and the user's mother. The realvault holds none of those files (actual contents: the log/memory/schemacore pages plus a few entity and project pages — none matching a singlespoken name). Every named file in the spoken answer was invented.@@ -3983,7 +3983,7 @@ Speech began 09:30:25 — 66 s after dispatch.the vault's editing contract) documents an EXAMPLE layout. Servedverbatim by wiki-page-read, the model presented that example as theactual vault — while holding two "not found" results contradicting it.-3. **Poisoned memory closed the loop.** entities/ruben.md already carried+3. **Poisoned memory closed the loop.** entities/alex.md already carriedconsolidated facts asserting SOUL.md/USER.md/people-profiles exist —journaled from EARLIER hallucinated answers (same class as BUG-054: the09:05 session's five invented notebook names were consolidated as@@ -4005,16 +4005,24 @@ Speech began 09:30:25 — 66 s after dispatch.final tool-less round with an answer-now directive (never silence, nevermore churn). Delegated realtime turns run with max_turns=6 +deadline 20 s (``_DELEGATE_MAX_TURNS`` / ``_DELEGATE_DEADLINE_S``).-- Data purge: the three poisoned fact lines removed from entities/ruben.md+- Data purge: the three poisoned fact lines removed from entities/alex.md(invented notebooks, SOUL.md/USER.md, people profiles).-**Still open (class rule, tracked).** The Stage-1 fact extractor journals-ASSISTANT claims about tool results as facts about the user's world — that-is how every hallucinated answer becomes durable memory. BUG-054's boundary-rule applies here too: answer content may enter memory only when backed by-executed-tool evidence. Guards:-``tests/unit/plugins/tool/test_wiki_list.py``,-``tests/unit/brain/test_tool_use_loop_deadline.py``.+**Memory-ingest follow-up (fixed 2026-07-15).** Realtime capture is now a+grounded two-stage pipeline. Stage 1 may use assistant replies only to resolve+references, but every candidate must cite an exact user turn and persists a+bounded, secret-redacted USER-only evidence excerpt. Stage 2 sees that excerpt+next to the candidate and must NOOP unsupported or assistant-only claims;+captured legacy rows without user evidence are rejected and can be recreated+from persisted transcripts through the policy-v3 backfill. Landed pages receive+a deterministic session/turn source marker. Follow-up live backfill hardened+three semantic gaps: one-off questions cannot manufacture a lasting user+interest, new numeric claims must occur in evidence/current page, and an+explicit remember/note/add-to-wiki request cannot silently become NOOP unless+the fact is already present unchanged or lacks user evidence. Guards:+``tests/unit/memory/wiki/test_extractor.py``,+``tests/unit/memory/wiki/test_consolidator.py``,+``tests/integration/memory/wiki/test_realtime_to_vault_e2e.py``.**Class rule.** A question about what EXISTS needs a deterministicenumeration tool; search + single-read cannot answer it groundedly, and a@@ -4296,27 +4304,30 @@ nothing, Launchpad and /Applications showed nothing — relaunch required aterminal command. A pip-based install ships no ``.app`` bundle, and macOSonly surfaces bundles.-**Fix (2026-07-14).** New ``jarvis/setup/macos_app_bundle.py``:-``ensure_macos_app_bundle`` writes a minimal per-user-``~/Applications/Personal Jarvis.app`` (Info.plist + a two-line bash-executable exec'ing the install venv's Python desktop launcher + a-best-effort ``jarvis.icns`` via PIL/iconutil). Spotlight indexes-``~/Applications``, so Cmd+Space finds it. Wired into the installer's-finish step (``step_macos_app``), removed by the uninstaller, and the-installer's "Start again" hint now names Spotlight on macOS (the old-``python -m …`` hint did not even work without the venv on PATH). Bonus:-a real bundle gives TCC an identity — the mic prompt names "Personal-Jarvis" with an honest ``NSMicrophoneUsageDescription`` instead of being-attributed to whichever terminal started the process.--Guards: ``tests/unit/setup/test_macos_app_bundle.py`` (bundle layout,-plist incl. mic usage string, venv-python launcher script, idempotency,-off-darwin no-op, icon best-effort).+**Fix (2026-07-14, hardened 2026-07-15).**+``jarvis/setup/macos_app_bundle.py`` installs+``~/Applications/Personal Jarvis.app`` so Spotlight and Launchpad can find+the managed source install. The first implementation used a bash executable+that replaced itself with the venv Python. That was discoverable but did not+provide a reliable ``NSBundle`` identity: TCC could still attach grants to+Python or Terminal. The hardened installer now builds a native Mach-O py2app+alias launcher, ad-hoc signs and verifies it, then launches a short identity+probe through LaunchServices. Ordinary source updates preserve the valid+bundle byte-for-byte so its local TCC identity does not churn. All manual,+restart, updater, and login-autostart paths re-enter through that bundle.+Developer-ID signing and notarization remain requirements for a separately+distributed binary artifact; the source installer does not pretend its local+ad-hoc signature is a notarized release.++Guards: ``tests/unit/setup/test_macos_app_bundle.py`` rejects shell launchers,+checks native structure and privacy metadata, proves idempotent preservation,+and covers the identity-probe contract. ``.github/workflows/macos-desktop.yml``+builds and self-probes the real bundle on Intel and Apple-Silicon runners.**Class rule.** "Installed" is not "discoverable": every OS needs itsnative launch surface (Windows Start-Menu shortcut, macOS ``.app``-bundle, Linux XDG ``.desktop``) or closing the app strands the user. The-Linux ``.desktop`` entry is the remaining gap of this class.+bundle, Linux XDG ``.desktop``) or closing the app strands the user. Managed+desktop installs now register and remove all three surfaces.## BUG-061: Base install bricked on Intel Macs — pinned onnxruntime has no x86_64 macOS wheels (HIGH, FIXED 2026-07-14)@@ -4359,7 +4370,7 @@ platform markers and give the capability an honest degrade. Wheelmatrices shrink over time — "it resolved when pinned" is not "it resolveseverywhere forever".-## BUG-062: Realtime speech audibly choppy + answers cut short on a speakers+mic laptop (HIGH, PARTIALLY FIXED 2026-07-14, deep-dive documented)+## BUG-062: Realtime speech audibly choppy + answers cut short on a speakers+mic laptop (HIGH, FIXED 2026-07-15)**Symptom.** First real realtime-voice run (old Intel MacBook, CPU-only,built-in speakers + mic): the assistant's TRANSCRIPT is complete, but the@@ -4390,10 +4401,19 @@ whisper-quiet barge-in no longer triggers. Guards:``tests/unit/realtime/test_desktop.py`` (gate skips ONNX on quiet frames,loud speech still confirms; logic tests pin ``min_frame_rms=0.0``).-**Follow-ups (need on-device validation, tracked).** (a) A realtime echo--suppression window analogous to the classic path, or an energy comparison-against the currently playing output level; (b) offload the detector off-the audio-critical loop; (c) a small time-based release floor in+**Completion (2026-07-15).** A Windows voice-session forensic proved the+remaining boundary: the output device reported 210 ms latency, playback+drained, and the desktop adapter uploaded that physical speaker tail+immediately. OpenAI transcribed it as a new user turn (``Mostly cloudy, with a+high near``), cancelled the real answer, then remained in that phantom turn for+29.4 s. Desktop realtime now keeps the existing local Barge-in/VAD detector+armed for 500 ms after a normal playback drain. Echo remains local, while+confirmed immediate user speech is forwarded with its buffered opening+syllables. Cancellation by a real Barge-in does not arm the tail guard. Guard:+``tests/unit/speech/test_realtime_mode.py::test_post_output_echo_tail_stays_local_and_preserves_immediate_user``.++**Follow-ups (performance only).** (a) Offload the detector off the+audio-critical loop; (b) add a small time-based release floor in``ScrubHoldGate`` so audio is not strictly transcript-delta-clocked.**Class rule.** Half-duplex voice on open speakers MUST treat its owndiff --git a/docs/adr/0009-self-healing-worker-critic.md b/docs/adr/0009-self-healing-worker-critic.mdindex 94fecfd9f1..42be7049f0 100644--- a/docs/adr/0009-self-healing-worker-critic.md+++ b/docs/adr/0009-self-healing-worker-critic.md@@ -18,7 +18,7 @@ audience: developerPhases 0-5 deliver Voice→Brain→Tool/Harness, but every tool call is a single shot: if it fails, the user hears an error message and has to try again. The master-plan goal "Jarvis-Agent as Kontrollierer with critic loop" (see `Jarvis-Behavior/persona-delegation-mandate.md`) cannot be fulfilled with the current `SubJarvisManager` (Phase 5) — it spawns a sub-brain, but without verification, without retry, without worktree isolation, and writes directly into the user's working tree.-The research document `SubAgentenSt/Unbenanntes Dokument (4).md` (to be moved to `docs/research/self-healing-architecture.md`) distills six converging pattern lines (Reflexion, Self-Refine, CRITIC, Constitutional AI, Aider Architect/Editor, OpenHands Action/Observation) into a single viable architecture for a single-user Windows orchestrator. Phase 6 implements this architecture.+The private research note later moved to `docs/research/self-healing-architecture.md` distills six converging pattern lines (Reflexion, Self-Refine, CRITIC, Constitutional AI, Aider Architect/Editor, OpenHands Action/Observation) into a single viable architecture for a single-user Windows orchestrator. Phase 6 implements this architecture.The core question is not "which algorithm" — but "which invariant carries everything else". Six of the top-10 failure modes (hallucinated execution, file races, lost mission state, WS-disconnect data loss, cascading failures, triangle deadlock) are neutralized by a single design decision: **Action/Observation strict separation as a typed event stream with WAL**.@@ -113,7 +113,7 @@ Heuristic: a mission is Phase-6-eligible if the router classifier returns `code`## References-- Research document: `SubAgentenSt/Unbenanntes Dokument (4).md` (== `docs/research/self-healing-architecture.md`).+- Research document: private source note, later moved to `docs/research/self-healing-architecture.md`.- Phase-6 plan: `docs/phase6-plan.md` (TBD).- Prompt chain: `docs/phase6-prompt-chain.md` (skeleton created).- Persona mandate: `Jarvis-Behavior/persona-delegation-mandate.md` §"Phase 4 — Multi-Step-Missions".diff --git a/docs/agents-self-verification.md b/docs/agents-self-verification.mdindex d9ea59a785..1fb854eff7 100644--- a/docs/agents-self-verification.md+++ b/docs/agents-self-verification.md@@ -158,7 +158,7 @@ This is where false positives land that reviewers repeatedly flag incorrectly as| ADR collection | `docs/adr/0001-0011*` | Architecture decisions with justification || Jarvis-Agents bridge doc | `docs/jarvis-agents-bridge.md` | AD-1..AD-21, AP-OC1..OC13, test strategy || Phase-7 doc | `docsplansphase-7-self-mod/PROJEKT_KONTEXT.md` | AD-1..AD-10, AP-SM1..SM14, EK-1..EK-4 |-| Awareness Plan | `Jarvis Long-Term Memory/Unbenanntes Dokument (3).md` | A0–A5 specification, §10 anti-pattern register |+| Awareness Plan | Private source note | A0–A5 specification, §10 anti-pattern register || Master plan | `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` | Binding architecture document <!-- i18n-allow --> |---diff --git a/docs/architecture-overview.md b/docs/architecture-overview.mdindex fbd1e125a8..743c4a881e 100644--- a/docs/architecture-overview.md+++ b/docs/architecture-overview.md@@ -240,4 +240,23 @@ This project has an auto-memory at `~/.claude/projects/<your-claude-project-dir>The Knowledge Wiki is the long-term memory tier (B0/B1/B5/B7/B8/B9 live). Three router-tier tools: `wiki-recall` (search), `wiki-page-read` (read by vault path), `wiki-ingest` (deterministic save-fact). Vault root configured in `[wiki_integration].vault_root`; default `wiki/obsidian-vault/`. Telemetry snapshot at `GET /api/wiki/telemetry`. Trigger contract in ADR-0014.+Realtime and chat memory use a durable two-stage path. A recall-biased extractor+reviews each eligible user turn in the background and performs an overlapping,+chunked whole-session sweep at session end. Candidates carry an exact user-turn+ID plus a bounded, secret-redacted user-only evidence excerpt in+`data/jarvis.db`; assistant text can resolve a reference but is never evidence.+The body-aware consolidator is the binding cleanliness gate: it compares that+evidence with complete related pages, then chooses ADD, UPDATE, NOOP, or+INVALIDATE through the guarded AtomicWriter. Same-target candidates are+serialized, token-capped batches are bisected, transient edit conflicts remain+pending, and successful pages receive deterministic session/turn provenance.+Topic questions cannot become user-interest claims without an explicit+self-disclosure, even when a provider proposes one. Stage 2 also rejects new+numeric values absent from the candidate, exact evidence, or existing page.+An explicit remember/note/add-to-wiki request makes its supported fact binding:+a NOOP is valid only for an unchanged duplicate or unsupported evidence; the+control command itself is never stored as knowledge.+`POST /api/wiki/backfill` safely re-reviews recent persisted Realtime sessions+under policy-v3 review keys without draining unrelated journal rows.+The legacy Curator-Merger is soft-disabled since 2026-05-17 (`[memory.legacy_curator] enabled = false`, gated in `jarvis/brain/factory.py`). The `data/workspace/` snapshot stays on disk and ~35 reader sites keep rendering it — but no new writes land there. Hart-Cut (migrate snapshot to `wiki/obsidian-vault/`, refactor readers, delete `jarvis/memory/curator/`) remains open.diff --git a/docs/commands-reference.md b/docs/commands-reference.mdindex ca9cb5d546..c0953662af 100644--- a/docs/commands-reference.md+++ b/docs/commands-reference.md@@ -16,7 +16,7 @@ Commands marked **requires confirmation** never run on a bare voice request —Switch the ACTIVE main brain (LLM) provider, e.g. from openai to claude-api. Reversible; validated against the provider catalog and stored credentials.- **Endpoint:** `POST /api/brain/switch`-- **Arguments:** `provider` (one of: claude-api, gemini, groq, nvidia, openai, openrouter; required); `persist` (boolean; optional)+- **Arguments:** `provider` (one of: claude-api, gemini, grok, nvidia, openai, openrouter; required); `persist` (boolean; optional)- **Requires confirmation:** no- **Desktop UI section:** `apikeys`- **Voice example (EN):** "switch the brain provider to claude"@@ -46,7 +46,7 @@ Switch the speech-to-text provider. Takes effect on the next voice-pipeline starSwitch which realtime voice engine (speech-to-speech) is active, e.g. openai-realtime or gemini-live.- **Endpoint:** `POST /api/realtime/switch`-- **Arguments:** `provider` (one of: gemini-live, openai-realtime; required); `persist` (boolean; optional)+- **Arguments:** `provider` (one of: gemini-live, grok-realtime, openai-realtime; required); `persist` (boolean; optional)- **Requires confirmation:** no- **Desktop UI section:** `apikeys`- **Voice example (EN):** "switch the realtime model to gemini"@@ -56,7 +56,7 @@ Switch which realtime voice engine (speech-to-speech) is active, e.g. openai-reaSwitch the dedicated Computer-Use planner provider (screen control), decoupled from the main brain.- **Endpoint:** `POST /api/computer-use/switch`-- **Arguments:** `provider` (one of: antigravity, claude-api, codex, gemini, groq, nvidia, openai, openrouter; required); `persist` (boolean; optional)+- **Arguments:** `provider` (one of: antigravity, claude-api, codex, gemini, grok, nvidia, openai, openrouter; required); `persist` (boolean; optional)- **Requires confirmation:** no- **Desktop UI section:** `apikeys`- **Voice example (EN):** "switch the computer use provider to gemini"@@ -66,7 +66,7 @@ Switch the dedicated Computer-Use planner provider (screen control), decoupled fSwitch the Jarvis-Agent / worker provider used for missions (e.g. codex to openai). Restart required.- **Endpoint:** `POST /api/jarvis-agent/switch`-- **Arguments:** `provider` (one of: antigravity, claude-api, codex, gemini, groq, nvidia, openai, openrouter; required); `persist` (boolean; optional)+- **Arguments:** `provider` (one of: antigravity, claude-api, codex, gemini, grok, nvidia, openai, openrouter; required); `persist` (boolean; optional)- **Requires confirmation:** no- **Desktop UI section:** `agents`- **Voice example (EN):** "switch the agent provider to openai"@@ -86,7 +86,7 @@ List all configured providers and which ones are active.Test connectivity and authentication for one provider.- **Endpoint:** `POST /api/providers/{provider_id}/test`-- **Arguments:** `provider_id` (one of: antigravity, cartesia, claude-api, codex, elevenlabs, gemini, gemini-flash-tts, gemini-live, grok-voice, groq, groq-api, inworld, nvidia, openai, openai-api, openai-realtime, openrouter, openrouter-stt, openrouter-tts; required)+- **Arguments:** `provider_id` (one of: antigravity, cartesia, claude-api, codex, elevenlabs, gemini, gemini-flash-tts, gemini-live, grok, grok-realtime, grok-voice, groq-api, inworld, nvidia, openai, openai-api, openai-realtime, openrouter, openrouter-stt, openrouter-tts; required)- **Requires confirmation:** no- **Desktop UI section:** `apikeys`- **Voice example (EN):** "test the openai provider"diff --git a/docs/jarvis-cli-reference.md b/docs/jarvis-cli-reference.mdindex 7b0e912789..167ae3989e 100644--- a/docs/jarvis-cli-reference.md+++ b/docs/jarvis-cli-reference.md@@ -129,6 +129,12 @@ _Generated from the curated command tree by `scripts/ci/gen_cli_reference.py`- `jarvis outputs plan <slug>` — Show a session's plan + steps.- `jarvis outputs preferred-opener <opener> --yes --dry-run` — Get or set the default artifact opener.+## permissions++- `jarvis permissions open-settings <permission_id> --yes --dry-run` — Open the matching macOS privacy pane through LaunchServices.+- `jarvis permissions request <permission_id> --yes --dry-run` — Show the native macOS prompt for one permission.+- `jarvis permissions status` — Show permission and feature readiness without caching native state.+## refresh- `jarvis refresh` — Clear the cached API schema (next call re-fetches it).@@ -187,6 +193,7 @@ _Generated from the curated command tree by `scripts/ci/gen_cli_reference.py`## wiki+- `jarvis wiki backfill --days --max-sessions --preview --yes --dry-run` — Backfill recent Realtime sessions through evidence-safe Wiki capture.- `jarvis wiki health` — Show wiki subsystem health: bootstrap, last write, chain failures, backlog (spec A5).- `jarvis wiki ingest <text> --source --dry-run` — Store a fact through the guarded Wiki curator.- `jarvis wiki page <slug>` — Read a wiki page by vault path / slug.diff --git a/docs/phase5-integration-test-results.md b/docs/phase5-integration-test-results.mdindex 313b793b06..a29421e550 100644--- a/docs/phase5-integration-test-results.md+++ b/docs/phase5-integration-test-results.md@@ -2,7 +2,7 @@**Date:** 2026-04-22**Plan reference:** `.claude/plans/also-er-muss-auch-lexical-pond.md` §21 (new) <!-- i18n-allow -->-**Mandate:** `Aufgaben/Unbenanntes Dokument (1).md`+**Mandate:** Private research note**Architecture decisions:** `docs/adr/0001` through `docs/adr/0008`**Research pass:** `docs/phase5-research.md`diff --git a/docs/phase5-research.md b/docs/phase5-research.mdindex 64938d73f7..65757c51e0 100644--- a/docs/phase5-research.md+++ b/docs/phase5-research.md@@ -2,7 +2,7 @@**Date:** 2026-04-22**Plan reference:** `.claude/plans/also-er-muss-auch-lexical-pond.md` §9-Phase-5, §20 (builder pattern) <!-- i18n-allow -->-**Mandate:** `Aufgaben/Unbenanntes Dokument (1).md`+**Mandate:** Private research note**Author context:** Code scan of phases 0–4, no changes made.---diff --git a/docs/phase6-handoff-2026-04-26.md b/docs/phase6-handoff-2026-04-26.mdindex cd2a23ee4a..526af6eaea 100644--- a/docs/phase6-handoff-2026-04-26.md+++ b/docs/phase6-handoff-2026-04-26.md@@ -79,7 +79,7 @@ The prompt chain is **complete** — all 5 prompts implemented. The next steps a## Cross-refs- ADR: `docs/adr/0009-self-healing-worker-critic.md`- Prompt chain: `docs/phase6-prompt-chain.md`-- Research: `SubAgentenSt/Unbenanntes Dokument (4).md` (== `docs/research/self-healing-architecture.md` final)+- Research: private source note (later moved to `docs/research/self-healing-architecture.md`)- Test report: `docs/phase6-test-report.md`- Plan files:- `<USER_HOME>\.claude\plans\glistening-wobbling-owl.md` (Phase 6 tooling bootstrap)diff --git a/docs/phase6-prompt-chain.md b/docs/phase6-prompt-chain.mdindex 2ad6aefe8a..28d3ae7ad7 100644--- a/docs/phase6-prompt-chain.md+++ b/docs/phase6-prompt-chain.md@@ -2,7 +2,7 @@5-phase plan based on the closing note of the research document(`docs/research/self-healing-architecture.md`, currently under-`SubAgentenSt/Unbenanntes Dokument (4).md`) and ADR-0009.+a private source note) and ADR-0009.**Branch:** `phase6-self-healing` — all prompts are executed on this branch.**Prerequisite:** ADR-0009 read, the 5 hard rules from `CLAUDE.md` §"Phase 6" internalized, `phase6-self-healing` checked out as branch.@@ -17,7 +17,7 @@ Written by the user — typically:- Branch `phase6-self-healing` off `main`, create worktree.- Fill `docs/phase6-plan.md` with an AC table (phases 1-5, acceptance criteria per phase, smoke-test list).- Optional: first skeleton for `jarvis/missions/__init__.py` + `tests/missions/__init__.py`.-- Final-version `docs/research/self-healing-architecture.md` from `SubAgentenSt/Unbenanntes Dokument (4).md` (move + commit).+- Final-version `docs/research/self-healing-architecture.md` from the private source note (move + commit).---diff --git a/docs/phase6-worker-layer.md b/docs/phase6-worker-layer.mdindex 683b12bca4..d5839ee789 100644--- a/docs/phase6-worker-layer.md+++ b/docs/phase6-worker-layer.md@@ -2,7 +2,7 @@**Date:** 2026-04-26**ADR:** [`docs/adr/0009-self-healing-worker-critic.md`](adr/0009-self-healing-worker-critic.md)-**Research doc:** `SubAgentenSt/Unbenanntes Dokument (4).md` §B (Claude-CLI), §C (Job Objects), §E (worktree layout)+**Research doc:** Private source note §B (Claude CLI), §C (Job Objects), §E (worktree layout)**Branch:** `phase6-self-healing`**Status:** **BUILT** — `jarvis/missions/isolation/` (T1) + `jarvis/missions/workers/` (T2) are live, smoke tests green.diff --git a/docs/plans/cross-platform-mac-linux/LIVE-SIGNOFF-CHECKLIST.md b/docs/plans/cross-platform-mac-linux/LIVE-SIGNOFF-CHECKLIST.mdindex d83c64f09f..060aec486d 100644--- a/docs/plans/cross-platform-mac-linux/LIVE-SIGNOFF-CHECKLIST.md+++ b/docs/plans/cross-platform-mac-linux/LIVE-SIGNOFF-CHECKLIST.md@@ -4,12 +4,14 @@> (AD-3 verification = CI + one-time live sign-off + honest per-feature labels;> EK-5 sign-off notes). This checklist enumerates **exactly the AD-3> GUI/permission behaviors that headless CI cannot reach** — one row per-> (feature × OS) for the four behaviors:+> (feature × OS) for the six behaviors:>-> 1. UI-element-click — a real AX (macOS) / AT-SPI (Linux) accessibility tree-> 2. Orb overlay — the *actual* transparency (or the tray fallback)-> 3. Hotkey *capture* — keys arriving from the OS (not just registration)-> 4. Admin/elevation — the OS auth *prompt* and a privileged op completing+> 1. App identity and native privacy prompts+> 2. UI-element-click — a real AX (macOS) / AT-SPI (Linux) accessibility tree+> 3. Orb overlay — the *actual* transparency (or the tray fallback)+> 4. Hotkey *capture* — keys arriving from the OS (not just registration)+> 5. Multi-monitor Computer-Use targeting+> 6. Admin/elevation — the OS auth *prompt* and a privileged op completing>> Run it with the operator aide> [`scripts/crossplatform/signoff_probe.py`](../../../scripts/crossplatform/signoff_probe.py),@@ -22,8 +24,8 @@## How to use this checklist-1. On a real **macOS** device and a real **Linux** desktop, install the desktop- extras: `pip install -e ".[desktop]"` (and `".[desktop-macos]"` on macOS). On+1. On a real **macOS** device and a real **Linux** desktop, run the advertised+ full install (`pip install -e ".[full]"` for a developer checkout). OnLinux additionally `apt install python3-pyatspi gir1.2-atspi-2.0` (AD-14:`pyatspi` is distro-packaged, **not** a pip extra — do not try to pip-installit).@@ -39,6 +41,19 @@> Wayland box), mark the row `N/A` here and record `unverified-on-real-desktop`> in the log with the reason. That is the truthful outcome, not a failure.+Run every macOS row once on Intel and once on Apple Silicon. Record the CPU,+macOS version, display arrangement, and per-display scaling in the sign-off log.++## 0. App identity and macOS privacy grants++| # | Scenario | Manual step | Expected observation | PASS / FAIL / N/A |+|---|---|---|---|---|+| TCC-1 | Stable installed identity | Run the public install command, then inspect the launched process and `~/Applications/Personal Jarvis.app` | The installer launches through LaunchServices; status reports bundle ID `com.personal-jarvis.desktop`, `launched_as_bundle=true`, and `stable=true`. Terminal/Python never receives the grants | _____ |+| TCC-2 | Explicit first-run grants | In onboarding, press each Allow button in order: Microphone, Screen Recording, Accessibility, Input Monitoring, Input Control | Every dialog is initiated by that button; no dialog appears merely from installing, booting, or opening the page. Returning from System Settings refreshes status without manual reload | _____ |+| TCC-3 | Denial and recovery | Deny each permission once, then use Open Settings and grant it | The affected feature stays disabled with an honest status; text chat remains usable; recovery is entirely in-app and never edits the TCC database | _____ |+| TCC-4 | Revocation | Revoke each previously granted permission while Jarvis is running, then retry the affected feature | The next microphone, capture, hotkey, window, or input action fails closed before touching the protected API; restoring the grant recovers through the supported UI flow | _____ |+| TCC-5 | Identity persistence | Update/relaunch and enable login autostart | Manual launch, restart, updater relaunch, and LaunchAgent all re-enter through the same app bundle; grants do not migrate to Terminal/Python or unexpectedly reset | _____ |+---## 1. UI-element-click — real accessibility tree (`make_ui_tree_source`)@@ -46,7 +61,7 @@| # | Feature × OS | Probe command | Manual step | Expected observation | PASS / FAIL / N/A ||---|---|---|---|---|---|| AX-1 | UI-element-click (macOS) | `signoff_probe.py --feature ax` | Grant System Settings › Privacy & Security › Accessibility; bring a normal app (e.g. TextEdit) to the foreground | `make_ui_tree_source()` returns `AXTreeSource`; `observe()` yields **non-empty** `UIANode`s with canonical roles (`AXButton`→`Button`); a `click_element` by name lands on its bounds | _____ |-| AX-2 | UI-element-click (macOS) — degrade | `signoff_probe.py --feature ax` | **Revoke** the Accessibility grant, retry | Tree is empty; **one** English onboarding line fires ("Accessibility permission not granted — enable in System Settings …"); the click loop **falls back to the pixel path** and still clicks (AD-13). No crash, no silent empty | _____ |+| AX-2 | UI-element-click (macOS) — degrade | `signoff_probe.py --feature ax` | **Revoke** the Accessibility grant, retry | Tree is empty; one English permission message is returned and Computer-Use refuses to inject input. No pixel-click bypass, crash, or silent empty result | _____ || AX-3 | UI-element-click (Linux) | `signoff_probe.py --feature ax` | `apt install python3-pyatspi gir1.2-atspi-2.0`; ensure the AT-SPI bus is up; foreground a GTK app | `make_ui_tree_source()` returns `AtspiTreeSource`; `observe()` returns a **non-empty** tree normalized to canonical roles | _____ || AX-4 | UI-element-click (Linux) — degrade | `signoff_probe.py --feature ax` | Stop the AT-SPI bus / uninstall `pyatspi`, retry | `NullUITreeSource`; **one** English degrade line ("AT-SPI bus unavailable — install python3-pyatspi …"); pixel-click fallback still clicks. No crash | _____ |@@ -62,12 +77,23 @@| # | Feature × OS | Probe command | Manual step | Expected observation | PASS / FAIL / N/A ||---|---|---|---|---|---|-| HK-1 | Hotkey (macOS) | `signoff_probe.py --feature hotkey` | Grant Input-Monitoring; press `ctrl+right_alt+j` | `PynputBackend` **captures** the combo; Jarvis enters LISTENING | _____ |+| HK-1 | Hotkey (macOS) | `signoff_probe.py --feature hotkey` | Grant Accessibility and Input Monitoring; press `ctrl+right_alt+j` | `PynputBackend` **captures** the combo; Jarvis enters LISTENING | _____ || HK-2 | Hotkey (macOS) — missing grant | `signoff_probe.py --feature hotkey` | Without Input-Monitoring, press the combo | The "registered but zero events → grant Input-Monitoring/Accessibility" detection fires (AD-8); no crash | _____ || HK-3 | Hotkey (Linux X11) | `signoff_probe.py --feature hotkey` | On an X11 session, press the combo | `PynputBackend` captures the press; Jarvis enters LISTENING | _____ || HK-4 | Hotkey (Linux Wayland) — degrade | `signoff_probe.py --feature hotkey` | On a Wayland session, press the combo, then say the wake word | `NoopBackend`; the combo does nothing but logs **once** "global hotkey unavailable on Wayland by OS design; lean on the wake word"; the wake word still summons Jarvis (AD-8). No crash, no spam | _____ |-## 4. Admin / elevation — auth prompt + privileged op (`make_elevator` + `make_admin_transport`)+## 4. Multi-monitor Computer-Use — real display geometry++| # | Scenario | Manual step | Expected observation | PASS / FAIL / N/A |+|---|---|---|---|---|+| CU-M1 | Secondary display left/above primary | Place the target app on a display with negative X and/or Y, then click four corner targets | Screenshot, accessibility bounds, cursor landing, and click all use the same global point space; every corner lands within 2 points | _____ |+| CU-M2 | Mixed scaling / Retina | Use different resolutions and scaling on two displays; click a small control on each | Capture pixels map to macOS input points exactly once; no 2× Retina offset or primary-display clamp | _____ |+| CU-M3 | Window straddles displays | Split one window across two displays with its center on the smaller overlap | Capture selects the display with the largest window overlap, not merely the window center | _____ |+| CU-M4 | L-shaped dead gap | Arrange displays with an uncovered virtual-desktop gap and target a point inside it | Action is refused before button-down with an explicit virtual-desktop-gap error | _____ |+| CU-M5 | Display changes mid-step | Disconnect, rotate, or rearrange a display after observation but before action | Topology signature mismatch refuses the stale action and forces a fresh screenshot/geometry pass | _____ |+| CU-M6 | Coordinate-less scroll | Put the cursor on another display, target a scrollable window in the captured display, and request scrolling without coordinates | Jarvis grounds the scroll at the captured target/window, not at the stale cursor position | _____ |++## 5. Admin / elevation — auth prompt + privileged op (`make_elevator` + `make_admin_transport`)| # | Feature × OS | Probe command | Manual step | Expected observation | PASS / FAIL / N/A ||---|---|---|---|---|---|@@ -81,7 +107,7 @@## Coverage note-The four behaviors map onto the JARVIS-20 sign-off-gated and graceful-degrade+The original four behaviors map onto the JARVIS-20 sign-off-gated and graceful-degradescenarios (see [`JARVIS-20-CROSSPLATFORM.md`](JARVIS-20-CROSSPLATFORM.md)):- UI-element-click → CP-10/CP-11 (live tree) + CP-12 (degrade)diff --git a/docs/release-notes/v0.8.0.md b/docs/release-notes/v0.8.0.mdindex 80052a3c56..981b9accf3 100644--- a/docs/release-notes/v0.8.0.md+++ b/docs/release-notes/v0.8.0.md@@ -2,7 +2,7 @@**As of:** 2026-04-28**Branch:** `phase-8-review-pipeline` → ready for merge to `main`-**Plan:** `ReviewSubagent/Unbenanntes Dokument (5).md` (== JARVIS_REVIEW_AGENT_PLAN.md) <!-- i18n-allow -->+**Plan:** Private review plan (later materialized as `JARVIS_REVIEW_AGENT_PLAN.md`)## Summarydiff --git a/docs/releases/v1.0.0.md b/docs/releases/v1.0.0.mdindex acaca12545..18abf0e26a 100644--- a/docs/releases/v1.0.0.md+++ b/docs/releases/v1.0.0.md@@ -63,7 +63,7 @@ Releases are signed and can be verified before you trust them:## Links-- Discord — https://discord.gg/UPu6pFWrJ+- Discord — https://discord.gg/x7USduHxbc- X — https://x.com/PersonalJarvis- Full changelog — [`CHANGELOG.md`](../../CHANGELOG.md)diff --git a/docs/superpowers/specs/2026-06-01-socials-section-design.md b/docs/superpowers/specs/2026-06-01-socials-section-design.mdindex 52772b1598..18e7b5f4f9 100644--- a/docs/superpowers/specs/2026-06-01-socials-section-design.md+++ b/docs/superpowers/specs/2026-06-01-socials-section-design.md@@ -14,7 +14,7 @@ the pywebview desktop runtime and the browser runtime.First seed (on first run, when no data file exists yet):-1. **Discord** — `https://discord.gg/UPu6pFWrJ` (top)+1. **Discord** — `https://discord.gg/x7USduHxbc` (top)2. **GitHub (Repo)** — `https://github.com/PersonalJarvis/PersonalJarvis`3. **GitHub (Profile)** — placeholder `https://github.com/PersonalJarvis`(the maintainer corrects this to their real handle via the UI)@@ -50,7 +50,7 @@ avatar endpoints)."id": "b1c0…", // uuid4 hex, server-assigned"platform": "discord", // brand key (see brands.ts)"label": "Discord", // display name, user-editable- "url": "https://discord.gg/UPu6pFWrJ",+ "url": "https://discord.gg/x7USduHxbc","enabled": true,"order": 0}diff --git a/docs/superpowers/specs/2026-06-07-board-share-stats-design.md b/docs/superpowers/specs/2026-06-07-board-share-stats-design.mdindex eaa1989db9..bf0be3ec69 100644--- a/docs/superpowers/specs/2026-06-07-board-share-stats-design.md+++ b/docs/superpowers/specs/2026-06-07-board-share-stats-design.md@@ -7,8 +7,8 @@## GoalLet a user share their Personal Jarvis usage as a polished image, in the spirit-of Strava / Duolingo / GitHub-Wrapped recap cards (the user's reference was-"BridgeMind"). From the Board, a **Share** button opens a dialog showing a+of Strava / Duolingo / GitHub-Wrapped recap cards (the user supplied a private+community-card reference). From the Board, a **Share** button opens a dialog showing a1080×1080 stats card with three actions: **Copy Image**, **Save as PNG**, and**Share on X**.@@ -24,7 +24,7 @@ API is missing.open the prefilled composer, then the user pastes the image (Ctrl/Cmd+V). Onmobile, the Web Share API (`navigator.share({files})`) can include the imagedirectly. The "Share on X" action implements both paths with a fallback chain.-- **BridgeMind's exact card is unverified** (no public screenshot). We build to+- **The private reference card is unverified** (no public screenshot). We build tothe well-documented recap-card pattern, not a pixel copy.- **Handle is not hardcoded.** The user's X handle lives in `localStorage`(`board.share.handle`), editable in the dialog, empty by default. This keepsdiff --git a/docs/superpowers/specs/2026-07-08-wake-word-provisioning-hardening-design.md b/docs/superpowers/specs/2026-07-08-wake-word-provisioning-hardening-design.mdindex 622f6a2602..5708c43453 100644--- a/docs/superpowers/specs/2026-07-08-wake-word-provisioning-hardening-design.md+++ b/docs/superpowers/specs/2026-07-08-wake-word-provisioning-hardening-design.md@@ -8,7 +8,7 @@"Vosk per-language model download failure at setup → clear English message +lazy retry at runtime + hotkey fallback; never fatal" — this spec implementsthat never-built download step).-- **Bug report:** `Unbenanntes Dokument (7).md` (custom wake word never fires on+- **Bug report:** Private source note (custom wake word never fires ona fresh v1.0.3 install; `auto` silently degrades to `stt_match`).## 1. Problem statement