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.

chore(claude): update agents index, ship-public-release skill & add docs-privacy reviewer

Ruben Lütke921b288d93bc
diff --git a/.claude/agents/INDEX.md b/.claude/agents/INDEX.md
index 97a4321c54..4c35905346 100644
--- a/.claude/agents/INDEX.md
+++ b/.claude/agents/INDEX.md
@@ -32,7 +32,7 @@ Every subagent is primarily classified along two axes: **role** (what it does) a
|---|---|---|---|
| Researcher | — | `jarvis-architect-explorer` (P0–7) | — |
| Worker | — | `jarvis-worker` (P6, more generically usable), `openclaw-bridge-builder` (openclaw) | `win32-specialist` |
-| Reviewer | `code-reviewer` | `jarvis-reviewer` (P6 Adversarial), `openclaw-bridge-reviewer` (openclaw), `phase7-selfmod-auditor` (P7) | `jarvis-critic-design-reviewer` (P6 Critic-Loop) |
+| Reviewer | `code-reviewer`, `docs-privacy-reviewer` | `jarvis-reviewer` (P6 Adversarial), `openclaw-bridge-reviewer` (openclaw), `phase7-selfmod-auditor` (P7) | `jarvis-critic-design-reviewer` (P6 Critic-Loop) |
| Verifier | `plan-verifier` (Awareness + general) | `awareness-a3-a5-verifier` (A3-A5) | — |
| Test-Runner | `test-runner` | `jarvis-test-runner` (P6) | — |
@@ -55,6 +55,7 @@ Every subagent is primarily classified along two axes: **role** (what it does) a
| Task | Subagent | Justification |
|---|---|---|
| Diff after every substantial change | `code-reviewer` | Senior review against AGENTS.md |
+| New/changed file under `docs/` (privacy pass before it could ship) | `docs-privacy-reviewer` | Reads the doc for the maintainer's name/email/handle, personal paths, machine ids, private life details, and real secrets — the semantic half of the docs privacy gate (`scripts/ci/docs_privacy_scan.py` is the deterministic half, run by a PostToolUse hook) |
| Adversarially check jarvis-worker output (build phase) | `jarvis-reviewer` | JSON verdict, during the build before handoff to the user. NOT for OpenClaw production output (use the Phase-6 critic for that) |
| Phase-6 Critic-Loop design (prompts, verdict schema) | `jarvis-critic-design-reviewer` | Sycophancy risks, reflexion pattern |
| OpenClaw-bridge code against AP-OC1..OC13 | `openclaw-bridge-reviewer` | Bridge doc §5 anti-patterns |
diff --git a/.claude/agents/docs-privacy-reviewer.md b/.claude/agents/docs-privacy-reviewer.md
new file mode 100644
index 0000000000..39628ff2f6
--- /dev/null
+++ b/.claude/agents/docs-privacy-reviewer.md
@@ -0,0 +1,56 @@
+---
+name: docs-privacy-reviewer
+description: Use after writing or editing any file under docs/. Reviews a documentation file for personal data and secrets that must never reach the world-readable public repo — the maintainer's real name/email/handle, personal filesystem paths, machine identifiers, private life details, and real credentials. Read-only; reports findings with file:line evidence.
+tools: Read, Grep, Glob, Bash
+model: sonnet
+role: reviewer
+domain: generic
+phase: docs
+must_read:
+ - AGENTS.md
+ - .claude/skills/ship-public-release/references/pii-scrub.tsv
+when_to_use: After a Write/Edit under docs/ — the deterministic hook flagged a hit, or a substantial new/changed doc needs a semantic privacy pass before it could ship publicly.
+---
+
+You are the documentation privacy reviewer for Personal Jarvis. The project ships from ONE public repo whose history is world-readable forever (see `CLAUDE.md` §2): one leaked key, real name, personal path, private email, or Windows SID in a single commit is permanent. Your job is to read a documentation file end-to-end and report everything personal or secret that must not ship. You write NO fixes — you find problems with `file:line` evidence; the main agent applies the masking.
+
+You are the *semantic* half of a two-layer defence. The *deterministic* half is `scripts/ci/docs_privacy_scan.py`, which reuses the canonical masking manifest `.claude/skills/ship-public-release/references/pii-scrub.tsv`. Always run it first, then read for what a regex cannot judge.
+
+## Procedure
+
+1. **Run the deterministic scan** on the target file(s):
+ `python scripts/ci/docs_privacy_scan.py <path>` — it prints `path:line: why` for every name/path/email/handle/SID hit and exits non-zero if any remain. Treat each line as a confirmed finding.
+2. **Read the whole file** (Read in full, not just the flagged lines). Then judge for the categories below — especially (C) and (D), which the regex cannot catch.
+
+## What is a finding
+
+**(A) Real secrets / credentials** — API keys (`sk-…`, `sk-ant-…`, `AIza…`, `sk-or-…`, `ghp_/gho_/ghs_`, `AKIA…`, Twilio `AC…`+token, Slack `xox…`, Discord bot tokens, Bearer/JWT with a real payload), OAuth `client_secret`/refresh/access tokens, private keys (`-----BEGIN … PRIVATE KEY-----`), hardcoded passwords, DB connection strings with credentials, webhook URLs carrying a secret token. A real one is the most serious finding — flag it loudly.
+
+**(B) Maintainer identity** — real name in any spelling/casing (`Ruben`/`Rubén`/`Lütke`/`Luetke`), alt name (`Harald`/`Harald Herz`), personal GitHub login (`rubenluetke10-beep`), private emails (`[email protected]`, `[email protected]`), `owner: <personal-name>` frontmatter.
+
+**(C) Personal filesystem / machine identifiers** — `C:\Users\Administrator\…`, personal OneDrive paths, the `C--Users-Administrator-…` memory-dir slug, Windows SID (`S-1-5-21-…`), machine/account name, internal GCP/project ids.
+
+**(D) Private life details used as examples** — real relocation/move facts (Germany↔Melbourne, Melbourne↔Sydney, USA migration), real family facts (a named relative, a real birth year tied to a person), home address, personal phone numbers. These read as harmless "demo data" but are real biography — the deterministic scrub never catches them. Scrutinize example tasks, Wiki/contact demo pages, test fixtures, and TTS sample sentences hardest.
+
+## What is NOT a finding (do not raise)
+
+- Obvious placeholders: `your-api-key`, `sk-…`, `<API_KEY>`, `xxx`, `REDACTED`, `example`, env-var NAMES with no value.
+- Product/brand names (Jarvis, Claude, Anthropic, OpenAI, Gemini), the public repo `PersonalJarvis`, the public Discord invite, the **intentionally public** X handle `@Ruben_Herz` (an explicit author-credit decision — see `scrub-exempt.txt`).
+- Fictional demo contacts clearly invented as sample data (Max, Anna, Christoph Meyer).
+- Git commit hashes, UUIDs used as example ids, generic relative paths.
+
+## Output format (binding)
+
+```
+## Docs privacy review: <file(s)>
+**Deterministic scan:** <PASS (0 hits) | n hits>
+
+### Findings (n)
+1. **`<path>:<line>`** — <category A/B/C/D> — <what it is>
+ **Mask:** <the canonical replacement, e.g. Ruben→Alex, the path→<USER_HOME>, the secret→<REDACTED>>
+
+### Verdict
+<CLEAN | NEEDS_SCRUB> — <one sentence>
+```
+
+If a real ACTIVE secret (not a placeholder) is present, put `⚠ LIVE SECRET` at the very top and list it first. If the file is fully clean, report `CLEAN — deterministic scan PASS, no personal data or secrets found` and verdict `CLEAN`.
diff --git a/.claude/skills/ship-public-release/SKILL.md b/.claude/skills/ship-public-release/SKILL.md
index 3bbd410fa9..f5a334a9c4 100644
--- a/.claude/skills/ship-public-release/SKILL.md
+++ b/.claude/skills/ship-public-release/SKILL.md
@@ -150,6 +150,30 @@ removes the distribution denylist (internal docs, scratch scripts, signing keys,
**and this skill itself**), and applies the deterministic PII scrub. Read the
report; note the scrubbed-file counts for the review.
+### 2b. Build and inject the frontend UI (prebuilt dist)
+
+The built React UI (`jarvis/ui/web/dist`) is `.gitignore`'d in the working repo
+(cloud-first: no build-artifact bloat locally), so the tracked-files-only export
+in step 2 does **not** include it. A clone with no `dist/` serves a broken UI
+(`server.py` needs `dist/index.html`), and the `pipx install git+…` path on the
+website never clones at all — it can only ship a UI that travels inside the
+package. So build the UI fresh and inject it into the staging tree: every public
+install path (pipx, `pip install`, manual clone) then serves a working UI without
+Node. `pyproject.toml` already declares `ui/web/dist/**` as `package-data`, so the
+wheel/sdist pick it up once it is in the shipped tree.
+
+```bash
+( cd "$REPO/jarvis/ui/web/frontend" && npm ci && npm run build ) # -> $REPO/jarvis/ui/web/dist
+rm -rf "$WORK/staging/jarvis/ui/web/dist"
+cp -r "$REPO/jarvis/ui/web/dist" "$WORK/staging/jarvis/ui/web/dist"
+```
+
+The build is deterministic from the already-public frontend source, so the dist
+carries no personal data the source did not. It is injected **before** the scan
+(step 3), so the blocking secret/PII scan covers the built bundle too — it is not
+a scrub-exempt blind spot. (The deterministic name-scrub in step 2 runs on the
+git export only; the built bundle is guarded by the scan instead.)
+
### 3. Scan the staging tree (gate layer D, fail-closed)
```bash
diff --git a/.claude/skills/ship-public-release/references/distribution-denylist.txt b/.claude/skills/ship-public-release/references/distribution-denylist.txt
index 93d30fd3e6..1483cb5758 100644
--- a/.claude/skills/ship-public-release/references/distribution-denylist.txt
+++ b/.claude/skills/ship-public-release/references/distribution-denylist.txt
@@ -17,9 +17,19 @@
# features (e.g. jarvis/state/*, jarvis/plugins/tts/fallback_tts.py). So those
# are intentionally ABSENT from this list and ship normally.
-# --- This skill itself (CRITICAL self-reference guard) ----------------------
-# Its references/ carry the maintainer's name + emails as scrub *patterns*;
-# shipping them would leak exactly what they exist to remove.
+# --- .claude/ contributor toolchain: SHIP it (like OpenClaw), minus the
+# maintainer's own release skill (2026-06-27, revised) ----------------------
+# REVISED: .claude/ is Claude-Code CONTRIBUTOR tooling — subagent definitions,
+# slash-commands, dev skills — exactly what a fork needs to keep developing with
+# the same AI workflow. The reference project openclaw/openclaw (380k+ stars)
+# ships .agents/ + AGENTS.md + CLAUDE.md publicly; this is a professionalism
+# signal, not clutter. NOTHING in the runtime jarvis/ package loads it, so it is
+# product-safe. Of 31 files only ONE subtree is personal: THIS skill, whose
+# references/ (pii-scrub.tsv, secret-allowlist.tsv) carry the maintainer's real
+# name + emails as scrub *patterns* — shipping them would leak exactly what they
+# exist to remove, and a fork generates its own. So withhold ONLY this subtree;
+# the rest of .claude/ ships. (The single personal path in
+# phase6-adr-update/SKILL.md is depersonalized by the PII scrub, not withheld.)
.claude/skills/ship-public-release/**
# --- .mailmap: full-depersonalization decision (2026-06-01) ------------------
@@ -71,8 +81,21 @@ docs/plans/**
docs/phase-b1-wiki-curator/**
docs/diagnostics/**
+# --- Contributor doctrine now SHIPS (2026-06-27, revised) -------------------
+# CLAUDE.md + CLOUD.md are the binding contributor doctrine. AGENTS.md is the
+# byte-twin of CLAUDE.md and ALREADY ships, so withholding CLAUDE.md was
+# inconsistent — its content was public via AGENTS.md regardless. OpenClaw ships
+# CLAUDE.md + VISION.md publicly; matching that is the professional move. Both
+# are depersonalized by the PII scrub on the way out. (docs/BUGS.md stays
+# withheld below — that is the internal bug log, not contributor doctrine.)
+
+# --- BUGS.md now SHIPS (2026-06-27): the recurring-bug "journey" log is strong
+# --- contributor/reader material. VERIFIED — applying the PII scrub to it leaves
+# --- 0 personal paths (5 -> <USER_HOME>), 0 real name, 0 private mail; only
+# --- 127.0.0.1 (loopback) + hardware names (RTX / headset) remain, which are
+# --- non-identifying. The fail-closed scrub+scan re-checks on every ship. -----
+
# --- Internal dev-process docs: individual files ----------------------------
-docs/BUGS.md
docs/adr/0009-self-healing-worker-critic.md
docs/agents-self-verification.md
docs/deepgram-stt-research-2026-05-20.md
@@ -89,3 +112,42 @@ docs/spike-results-openclaw.md
docs/voice-acceptance-brief.md
docs/bug-019-spawn-failure-report.html
docs/jarvis-board/PHASE_A_DONE.md
+
+# --- The whole video/ Remotion build project (2026-06-27) -------------------
+# video/ is the Remotion source project used to RENDER the YouTube onboarding
+# film; it is a generator tool, not a runtime asset. The frontend embeds the
+# finished film straight from youtube-nocookie.com (IntroVideoScreen.tsx) and
+# loads nothing from this dir; .dockerignore already excludes video/. This
+# subsumes the earlier video/analysis/** entry: those frames are review/debug
+# artifacts that can carry personalized demo text in pixels (caught by semantic
+# image scanners, not file-text scanners), so the whole tree stays out.
+video/**
+
+# --- Standalone side-projects: ship in their OWN repos, not the flagship (2026-06-27) ---
+# Self-contained projects that merely co-live in this monorepo. The runtime
+# jarvis/ package imports NOTHING from them (verified 2026-06-27 — 0 import
+# sites). Patterns are ^-anchored, so each hits ONLY the top-level dir, never a
+# same-named subdir (e.g. src/** does not touch jarvis/ui/web/frontend/src/).
+# - skillbook/ : independent decentralized agent-memory research project
+# (own CLAUDE.md / ADRs / tests; unrelated to the product)
+# - keyproxy/ : standalone LLM-key reverse proxy ("zero dependency on jarvis")
+# - src/ : orphaned duplicate of the web-search skill; the LIVE tool is
+# jarvis/plugins/tool/search_web.py (no sys.path/loader points here)
+# DELIBERATELY KEPT (verified load-bearing, do NOT add): board-backend/
+# (jarvis/board/sync.py + federation_proxy_routes.py import board_backend.crypto),
+# OS-Level/ (jarvis/overlay/schema.py re-exports OS-Level/src/overlay), ui/
+# (the Orb overlay is imported at runtime), conductor/ (3 import sites).
+skillbook/**
+keyproxy/**
+src/**
+
+# --- Internal maintainer demo / perf scripts (2026-06-27) -------------------
+# tools/ holds board_demo.py / board_pentest.py / board_perf.py — internal
+# bring-up & perf probes for the Board, not product code. A fork has no use for
+# them (the product's own tooling lives inside the jarvis/ package).
+tools/**
+
+# --- Internal QA protocols (2026-06-27) -------------------------------------
+# docs/qa/ is the maintainer's internal voice-QA checklist — same internal-
+# process class as docs/superpowers/** / docs/plans/** already withheld above.
+docs/qa/**
diff --git a/.claude/skills/ship-public-release/references/pii-scrub.tsv b/.claude/skills/ship-public-release/references/pii-scrub.tsv
index dfead466b7..4c839b4b6e 100644
--- a/.claude/skills/ship-public-release/references/pii-scrub.tsv
+++ b/.claude/skills/ship-public-release/references/pii-scrub.tsv
@@ -69,5 +69,8 @@ block-only ruben\.luetke10@gmail\.com private email (must only live in .mailmap
# --- any other consumer-mailbox address: surface for a human look -----------
warn [A-Za-z0-9._%+-]+@(?:gmail|gmx|outlook|hotmail|yahoo|protonmail|proton|web)\.[a-z.]+ consumer email address
-scrub Herz Sample maintainer last name (personal X profile in socials seed)
-scrub herz sample maintainer last name lowercase
+# "Herz" scrub REMOVED 2026-06-27 by maintainer decision: @Ruben_Herz is the
+# INTENTIONAL public build-in-public X handle (README social link + socials seed +
+# tests), kept public on purpose. Do NOT re-add a Herz scrub — it would anonymize
+# the maintainer's own chosen public project identity. (The real surname "Lütke"
+# stays scrubbed above; "Herz" is the deliberately-public brand handle.)
diff --git a/.claude/skills/ship-public-release/references/scrub-exempt.txt b/.claude/skills/ship-public-release/references/scrub-exempt.txt
index 07ebadd2c4..8512f09d2f 100644
--- a/.claude/skills/ship-public-release/references/scrub-exempt.txt
+++ b/.claude/skills/ship-public-release/references/scrub-exempt.txt
@@ -8,3 +8,16 @@
# During `scan` its email/name matches are downgraded to warnings (surfaced in
# the review) instead of blocking the ship.
.mailmap
+
+# Maintainer's intentional authorship attribution (explicit decision 2026-06-26):
+# the personal X/Twitter profile @Ruben_Herz is kept REAL in the public socials
+# seed, the README socials line, and the seed's test — an open-source author
+# credit, not an accidental leak. These three files were verified to carry NO
+# other personal data, so exempting them keeps ONLY the handle and leaks nothing
+# else. During `scan` the handle/name matches here downgrade to warnings (shown
+# in the review) instead of blocking. Trade-off: any FUTURE personal data added
+# to README would warn rather than block — the sub-agent + human review remain
+# the backstop. Re-evaluate at the public-visibility flip.
+jarvis/ui/web/socials_routes.py
+tests/unit/ui/test_socials_routes.py
+README.md