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
refactor(agents): make AGENTS.md the only instructions file
rubenluetke10-beep42aa19776e0d
diff --git a/.agents/agents/code-reviewer.md b/.agents/agents/code-reviewer.mdindex 73105fb928..fd931ace56 100644--- a/.agents/agents/code-reviewer.md+++ b/.agents/agents/code-reviewer.md@@ -16,8 +16,8 @@ problems and propose concrete fixes with `file:line` evidence.## Mandatory reading before every review-1. `AGENTS.md` — the whole rulebook and source of truth. `CLAUDE.md` is its- byte-identical compatibility copy; reading both is unnecessary.+1. `AGENTS.md` — the whole rulebook and the only instructions file. A new+ `CLAUDE.md` anywhere in the diff is a finding: it would hide `AGENTS.md`.2. `docs/BUGS.md` — what these traps cost in production, when you need thehistory behind a rule or an `AP-nn` marker you found in a code comment.3. The changed files themselves, read in full, not just the diff.diff --git a/.claude/agents/code-reviewer.md b/.claude/agents/code-reviewer.mdindex 73105fb928..fd931ace56 100644--- a/.claude/agents/code-reviewer.md+++ b/.claude/agents/code-reviewer.md@@ -16,8 +16,8 @@ problems and propose concrete fixes with `file:line` evidence.## Mandatory reading before every review-1. `AGENTS.md` — the whole rulebook and source of truth. `CLAUDE.md` is its- byte-identical compatibility copy; reading both is unnecessary.+1. `AGENTS.md` — the whole rulebook and the only instructions file. A new+ `CLAUDE.md` anywhere in the diff is a finding: it would hide `AGENTS.md`.2. `docs/BUGS.md` — what these traps cost in production, when you need thehistory behind a rule or an `AP-nn` marker you found in a code comment.3. The changed files themselves, read in full, not just the diff.diff --git a/.codex/agents/code-reviewer.toml b/.codex/agents/code-reviewer.tomlindex ffdc64d987..01b3bd7621 100644--- a/.codex/agents/code-reviewer.toml+++ b/.codex/agents/code-reviewer.toml@@ -6,8 +6,8 @@ problems and propose concrete fixes with `file:line` evidence.## Mandatory reading before every review-1. `AGENTS.md` — the whole rulebook and source of truth. `CLAUDE.md` is its- byte-identical compatibility copy; reading both is unnecessary.+1. `AGENTS.md` — the whole rulebook and the only instructions file. A new+ `CLAUDE.md` anywhere in the diff is a finding: it would hide `AGENTS.md`.2. `docs/BUGS.md` — what these traps cost in production, when you need thehistory behind a rule or an `AP-nn` marker you found in a code comment.3. The changed files themselves, read in full, not just the diff.diff --git a/.codex/hooks.json b/.codex/hooks.jsonindex 75015d34ef..fcc6a59a3b 100644--- a/.codex/hooks.json+++ b/.codex/hooks.json@@ -8,10 +8,6 @@"type": "command","command": "if [[ \"$CLAUDE_FILE_PATH\" == *jarvis/missions/* ]]; then ruff check \"$CLAUDE_FILE_PATH\" && mypy \"$CLAUDE_FILE_PATH\" 2>&1 | head -20; fi"},- {- "type": "command",- "command": "case \"$CLAUDE_FILE_PATH\" in *CLAUDE.md|*AGENTS.md) PY=\"/c/Program Files/Python311/python.exe\"; [ -x \"$PY\" ] || PY=\"$(command -v python3 2>/dev/null || command -v python 2>/dev/null)\"; [ -n \"$PY\" ] && \"$PY\" \"${CLAUDE_PROJECT_DIR:-.}/scripts/ci/sync_agents_md.py\" --quiet ;; esac"- },{"type": "command","command": "case \"$CLAUDE_FILE_PATH\" in */docs/*|docs/*) PY=\"/c/Program Files/Python311/python.exe\"; [ -x \"$PY\" ] || PY=\"$(command -v python3 2>/dev/null || command -v python 2>/dev/null)\"; [ -n \"$PY\" ] && \"$PY\" \"${CLAUDE_PROJECT_DIR:-.}/scripts/ci/docs_privacy_scan.py\" \"$CLAUDE_FILE_PATH\" ;; esac"diff --git a/.githooks/pre-commit b/.githooks/pre-commitindex 31a46f3808..09032d32ba 100755--- a/.githooks/pre-commit+++ b/.githooks/pre-commit@@ -1,8 +1,10 @@#!/bin/sh-# pre-commit: keep generated agent compatibility files aligned.+# pre-commit: keep AGENTS.md the only rulebook and the agent copies aligned.#-# AGENTS.md and .agents/ are authoritative. This hook projects them into the-# paths Claude Code and Codex still use for project instructions and subagents.+# AGENTS.md and .agents/ are authoritative. Every agent reads AGENTS.md+# directly; a committed CLAUDE.md would make Claude Code read it INSTEAD, so+# one is blocked. .agents/ is projected into the paths Claude Code and Codex+# still use for subagents and skills.## Behaviour: a staged source also stages its generated copy. Generated copies# are overwritten when they differ from their source.@@ -14,22 +16,19 @@# Fail-open when Python cannot run; CI checks the projections independently.# Prefer the known-good interpreter (a bare 'python' may be a deps-less venv on-# this machine); fall back to whatever 'python'/'python3' resolves to. The sync-# engine is stdlib + git only, so any Python 3.x works. No Python at all -> skip.+# this machine); fall back to whatever 'python'/'python3' resolves to. The+# scripts are stdlib + git only, so any Python 3.x works. No Python at all -> skip.PY="/c/Program Files/Python311/python.exe"[ -x "$PY" ] || PY="$(command -v python3 2>/dev/null || command -v python 2>/dev/null)"[ -n "$PY" ] || exit 0-sync="scripts/ci/sync_agents_md.py"-[ -f "$sync" ] || exit 0--"$PY" "$sync" --stage --quiet </dev/null-rc=$?--# A missing source is a real error; do not commit a stale compatibility copy.-if [ "$rc" -ne 0 ]; then- echo "pre-commit BLOCKED: AGENTS.md could not be projected to CLAUDE.md."- exit 1+# --- AGENTS.md is the only rulebook -------------------------------------------+check="scripts/ci/check_agents_md.py"+if [ -f "$check" ]; then+ if ! "$PY" "$check" --quiet </dev/null; then+ echo "pre-commit BLOCKED: AGENTS.md must stay the only agent-instructions file."+ exit 1+ fifi# --- .agents/ -> .claude/ compatibility copies -------------------------------@@ -49,7 +48,7 @@ if [ -f "$synccodex" ]; thenfi# --- LANGUAGE gate (FAIL-CLOSED on confirmed German) ---------------------------# English-only artifacts (CLAUDE.md rule 1). Checks the STAGED changes so new+# English-only artifacts (AGENTS.md rule 1). Checks the STAGED changes so new# German is caught at COMMIT time — the real write path (incl. the auto-save# stop-hook), which never pushes and so never reached the pre-push language gate.# rc == 1 means a CONFIRMED newly-added German line; any other rc fails OPEN@@ -60,7 +59,7 @@ if [ -f "$lang" ]; thenif [ "$?" -eq 1 ]; thenecho ""echo "pre-commit BLOCKED: LANGUAGE gate — newly added German in staged changes."- echo " Artifacts must be English (CLAUDE.md rule 1). Translate the lines above,"+ echo " Artifacts must be English (AGENTS.md rule 1). Translate the lines above,"echo " or mark an intentionally-German product-surface line with 'i18n-allow'."echo " Bypass once with: git commit --no-verify"exit 1diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlindex cd4e1295a5..9752256ff8 100644--- a/.github/ISSUE_TEMPLATE/feature_request.yml+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -36,5 +36,5 @@ body:options:- label: I searched existing issues and this is not a duplicate.required: true- - label: This fits the cross-platform, provider-agnostic direction (see CLAUDE.md).+ - label: This fits the cross-platform, provider-agnostic direction (see AGENTS.md).required: falsediff --git a/.gitignore b/.gitignoreindex 3863f7a6c4..2d637ff568 100644--- a/.gitignore+++ b/.gitignore@@ -156,7 +156,7 @@ clipboard-*.mp4# Generated images downloaded from a chat assistant.ChatGPT Image *-# Canonical home for development/verification screenshots (see CLAUDE.md).+# Canonical home for development/verification screenshots (see AGENTS.md).# The app's boot sweep consolidates stray root captures here and auto-prunes# them after 10 days (jarvis/core/screenshots.py). Folder is created on boot./screenshots/@@ -205,7 +205,7 @@ Desktop.ini# ...except the security-github skill: RETIRED 2026-08-05. It orchestrated the# depersonalized public-release push — a staging build, a parallel clone, a# frontend build, and a sub-agent that read every tracked file hunting for-# personal data, on every push. A push is `git push` now (CLAUDE.md §2). The+# personal data, on every push. A push is `git push` now (AGENTS.md §2). The# ignore rules stay as a tombstone so a stray local copy can never be# versioned; do not re-add the skill without the maintainer's say-so..claude/skills/security-github/@@ -449,7 +449,7 @@ docs/reports/*marketing-readiness*# The file that defines what must never be public was itself the most complete# public inventory of that data. distribution-denylist.txt has withheld# `scripts/ci/privacy_gate/**` since the build-a-snapshot era, but that era ended-# when releasing became a plain `git push` (CLAUDE.md §2), so nothing filtered+# when releasing became a plain `git push` (AGENTS.md §2), so nothing filtered# them any more and they stayed live on the public default branch.## They remain on disk: the local pre-push docs scan and strip_and_scan.py stilldiff --git a/AGENTS.md b/AGENTS.mdindex 5d078fbda1..ae9a560288 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -4,12 +4,17 @@ The binding rules for every coding agent in this repo — Claude Code, Codex,Gemini CLI, whichever. This is the whole rulebook; there is no longer a fullerversion to read first. Write everything here so it addresses ANY agent.-**Source of truth:** Edit `AGENTS.md` and `.agents/{agents,skills}/`.-`CLAUDE.md` and `.claude/{agents,skills}/` are compatibility copies because-Claude Code does not discover project subagents or skills under `.agents/`, and-its `AGENTS.md` support is conditional. `.codex/agents/*.toml` is generated-from `.agents/agents/*.md` for Codex. The sync scripts and CI check these-copies; never edit a generated copy directly.+**Source of truth:** `AGENTS.md` is the only instructions file; every agent+reads it directly. Never add a `CLAUDE.md`, `.claude/CLAUDE.md` or+`CLAUDE.local.md`: Claude Code then reads that file INSTEAD of this one+(`scripts/ci/check_agents_md.py` blocks a tracked one). A Claude pane on a+Jarvis account config dir sees `~/.claude/CLAUDE.md` as such a parent-dir file,+so its Project instructions setting must be `claude-md-and-agents-md`.+Edit `.agents/{agents,skills}/`; `.claude/{agents,skills}/` are compatibility+copies because Claude Code does not discover subagents or skills under+`.agents/`, and `.codex/agents/*.toml` is generated from `.agents/agents/*.md`+for Codex. The sync scripts and CI check these copies; never edit a generated+copy directly.---diff --git a/CLAUDE.md b/CLAUDE.mddeleted file mode 100644index 5d078fbda1..0000000000--- a/CLAUDE.md+++ /dev/null@@ -1,222 +0,0 @@-# Personal Jarvis agent rules--The binding rules for every coding agent in this repo — Claude Code, Codex,-Gemini CLI, whichever. This is the whole rulebook; there is no longer a fuller-version to read first. Write everything here so it addresses ANY agent.--**Source of truth:** Edit `AGENTS.md` and `.agents/{agents,skills}/`.-`CLAUDE.md` and `.claude/{agents,skills}/` are compatibility copies because-Claude Code does not discover project subagents or skills under `.agents/`, and-its `AGENTS.md` support is conditional. `.codex/agents/*.toml` is generated-from `.agents/agents/*.md` for Codex. The sync scripts and CI check these-copies; never edit a generated copy directly.-------## 1. Traps no one guesses--These cost real bugs. Nothing catches them but you.--- **Restore trap.** A fix works in tests and changes nothing after restart:- live Python imports from elsewhere. New worktree → `pwsh scripts/preflight.ps1`,- then `python -c "import jarvis; print(jarvis.__file__)"`. (AP-8) Never- `pip install -e` from a linked worktree: that pin is the user's desktop app,- and their next restart boots your branch with an empty `data/`. (BUG-219)-- **The working tree is SHARED** with other agent sessions. Stage only YOUR- paths — `git add -p` or an explicit pathspec, and `git commit --only -- <paths>`.- `git add -A` sweeps someone else's half-finished work into your commit.-- **A probe against the running app spends the user's real money.** Turns sent- to it (`/ws`, `jarvis` CLI, Telegram) bill their own keys: five scripted- test turns once cost $6.82 on a deep model. Send one turn, on a subscription- or `tests/fakes/`, never a loop against a paid provider.-- **`jarvis.toml` only through `jarvis/core/config_writer.py`** — lock, tempfile,- BOM-safe. A raw write leaves the backend unbootable. (AP-7)-- **Never share a native inference engine** (ctranslate2, ONNX) between callers.- It wedges permanently and a timeout does NOT recover it: non-blocking- per-instance lock + `recover()` that rebuilds a fresh model. (AP-24)-- **Every `subprocess` passes `NO_WINDOW_CREATIONFLAGS`** from- `jarvis.core.process_utils`, and stdout is UTF-8 (Windows defaults cp1252). (AP-1)-- **Don't "clean up" the `openclaw` strings.** The external binary name and the- read-time back-compat aliases are load-bearing; retired codenames stay dead- everywhere else.-- **A stall watchdog resets its counter per unit of work** (AP-19); a WebSocket- receive loop treats ANY read error as terminal and breaks (AP-20); a subscriber- exception never leaves `EventBus._safe_dispatch` (AP-18).-- **Every reconnect is jittered and pays the shared connect budget.** A retry- grid with no jitter, or a wake handler that opens a socket directly, is not- an app bug: N panes x M windows x 2 instances firing on one- `visibilitychange` empties the OS ephemeral-port pool and NOTHING on the- machine can connect for two minutes. Frontend goes through- `lib/connectBudget.ts`; a poll reuses a client from `jarvis/core/http_pool.py`.- (AP-33)-- **No Windows Service** — SYSTEM has no microphone. (AP-17)-- **Never gate a CI check on `isinstance` against an unpinned library.** Green- locally, red in CI on the next release. Discriminate by capability. (AP-28)-- **The desktop app is a WebView** — no F5, no console, no dev tools. A frontend- fix is `npm run build` in `jarvis/ui/web/frontend/` and nothing else; open- windows reload themselves (`src/lib/bundleWatch.ts`). Never end a frontend- change by asking for a restart.-- **Read `MEMORY.md`** (`~/.claude/projects/.../memory/`) before larger decisions.--## 2. What the product is--Assume an arbitrary downloader, never the maintainer — their box is <0.1 % of-the install base, and "works on my machine" is the defect. (AP-23)--- **Any single key must work.** Gate on capability, never a provider name or- model id (AP-21). A tier whose primary AND fallback share one provider family- is a brick — every chain crosses families or degrades honestly (AP-22).-- **Every OS**, including a headless `python:3.11-slim` with no GPU, audio or- native API: base install + boot must succeed there. Extras group, environment- marker or lazy import — whichever fits.-- **Credentials are recoverable IN-APP** (keyring → ENV → file). Never make- someone hand-edit `jarvis.toml` or export a variable.-- **Enumerate providers from the CODE** (`jarvis/core/config.py`,- `jarvis/realtime/factory.py`), never from this box's `jarvis.toml`.-- **Everything committed is ENGLISH** — code, comments, docstrings, logs, commit- messages. German only on the closed product surface: runtime voice/chat output,- i18n files, speech-input vocabulary, and tests quoting them- (`scripts/ci/german-allowlist.txt`, inline `i18n-allow`). Translate legacy- German in files you touch. Runtime output language is decided ONCE per turn by- `jarvis/core/turn_language.py`; no layer re-derives it, all locales are equal.--**Proportionality.** The agent owns the validation plan and chooses the smallest-set of checks that can detect a plausible regression from the diff. State the-scope, what was run, and what remains unverified in the PR. Use these tiers as-guidance, not as automatic checklists:--- **T1 local:** for copy, styling, docs, one view, or an isolated refactor, run- focused checks for that surface. A frontend change still needs a production- build and light/dark inspection when its appearance changes.-- **T2 one surface:** test the affected adapter, transport, channel, or OS- backend and its nearest callers. Check other platforms when the changed path- can execute there; state why an unavailable platform is unaffected or how it- degrades.-- **T3 shared contract:** prove the changed behavior with contract tests and- exercise the affected providers and OSes. Update `docs/os-parity.md` when OS- behavior changes. A new provider or credential path needs a fresh-install,- one-key proof; a schema-only change does not automatically owe that test.--Escalate evidence when risk crosses a boundary, not because a label is-ambiguous. Do not claim unrun platforms, devices, or providers were verified.-If a required check is red on the exact base commit, compare failure identities-and causes under the same environment. A failure already present on base may-be reported as a separate backlog item; a new failure or an unexplained change-in a failing test blocks completion. Counts alone are not a comparison. Do not-silence a required check, raise a baseline, or bypass branch protection to make-a PR appear green.--## 3. Architecture you must respect--Higher layers reach lower ones only through `jarvis/core/protocols.py`; lateral-traffic is `frozen=True` events on `EventBus` carrying `trace_id`. Plugins live-under `jarvis/plugins/<group>/`, register via entry-points, import no `jarvis.*`-(then `pip install -e . --no-deps`). Brain/STT/TTS/Harness are streaming-first.-Secrets only via `get_secret` — never in code, `jarvis.toml`, or a commit, and-voice/chat must never accept one (AP-2). Signing private keys live only in-GitHub Actions secrets (AP-29). The router is a pure dispatcher over-`ROUTER_TOOLS` (ADR-0011) and no spawn tool ever enters a worker set (AP-5/14);-extending it means amending the ADR and `test_routing.py`. `scrub_for_voice` is-regex-only, never an LLM call (AP-11). Any value crossing Python ↔ SQL ↔ Pydantic-↔ TS ↔ UI uses the five-layer pattern plus a parity test (AP-4). Mission workers-run in a fresh `git worktree` with kill-on-crash containment (AP-10). Nothing-initializes on the boot critical path (AP-26). Risk tiers are safe / monitor /-ask / block with blacklist > whitelist > default; only `ToolExecutor.execute()`-is authorized (AP-3), and generated skills stay `draft` (AP-15).--Two the gates catch but models still write: never swallow an exception without-logging, re-raising, or saying why silence is right (AP-30), and never add a-config field nothing reads (AP-31).--Marketplace plugin auth follows the browser-auth standard-(`docs/marketplace/browser-auth-standard.md`): a normal user connects with one-browser approval and zero developer setup; the publisher provisions the shared-OAuth client (`publisher_<family>_oauth_*` secrets), never the end user. A new-auth-bearing plugin is not releasable while its default path needs pasted-tokens, user-supplied client IDs/secrets, or self-registered developer apps —-own-client stays an expert override only. Every catalog change keeps-`docs/marketplace/plugin-auth-audit.md` and `scripts/ci/check_plugin_auth_contract.py`-green; provider error bodies never reach logs, UI, or storage (AP-34).-Keep `docs/marketplace/plugin-e2e-audit.json` backed by real browser evidence;-new built-ins require PASS and release qualification uses the auth gate's-`--require-e2e-pass` option. BLOCKED never means provider-verified or complete.--The rest of the register, one line each, because code comments cite these-numbers: never hardcode an Anthropic/Claude client (AP-6); keep awareness and-wiki code off the voice critical path (AP-9); never put a key in `jarvis.toml`-or commit `.env` (AP-12); never block on a watchdog reload to verify an atomic-write (AP-13); never reintroduce a sub tier or `SUB_TOOLS` set — Wave 4 deleted-it (AP-14); new `[phase6.*]` / `[memory.wiki.*]` keys need-`ConfigDict(extra="allow")` or pre-validate rejects them (AP-16); gate the GPU-wake upgrade only on the out-of-process inference probe, never on CUDA presence-(AP-25); verify a wake word on audio energy and candidate shape, never on-transcript content (AP-27); a WebGL scene releases its context and survives-losing it (AP-32); a reconnect without jitter and without a shared connect-budget is an outage of the whole machine, not an app bug (AP-33). Detail and-history for any of them: `docs/BUGS.md`.--## 4. How work ships--**World and character art:** follow `docs/agent-society/game-art-pipeline.md`-and the `game-art-pipeline` skill before creating/redesigning game assets.-Author a small reference in Blender, verify it in the actual runtime, and obtain-user approval of that reference before rolling its style out across asset families.-Pipeline setup alone approves no visual redesign. Existing runtime contracts stay binding.--Commit each finished step (Conventional Commits). Use the coding agent's-standard Git workflow: do not artificially leave completed work local, and do-not wait for extra PersonalJarvis permission to commit, branch, push, or open-a pull request. Once the scoped review and required checks pass, the agent may-merge an ordinary authorized PR without another confirmation; a draft PR stays-draft until its remaining work is done. `git pull --rebase --ff-only` first if-origin moved. Never-`--force`, never `--no-verify`. Isolated mission workers must not run git-(`add`/`commit`/`branch`/`checkout`/`push`) — the parent runtime captures the-diff and lands it. Never push from a linked mission worktree. **A push is-`git push`:** nothing is built, cloned, audited, or reviewed on the way.-Review happens when code is written, never when it is published. A check that-reads the whole tree belongs in CI, never in `pre-push`. A release (SemVer +-tag + CHANGELOG + published GitHub Release) happens ONLY when explicitly-asked — an ordinary push is not a release.--Every frontend change works in BOTH light and dark mode, and on the terminal-panes' own appearance — colours come from theme tokens or the per-appearance-tables in `terminalThemes.ts`, never one hardcoded mode.--**Runtime restarts:** agents may restart the desktop app and related development-processes when needed to apply or verify authorized work, without asking for-additional approval. Announce the reason, prefer programmatic lifecycle/process-control over desktop UI automation, and verify that the application returns-healthy. This does not authorize stopping-unrelated processes or leaving the desktop app shut down.--Local model defaults (Ollama/llama.cpp) are checked against the live catalog-when changed; nothing a year old or older ships as a default.--## 5. Run & test--`pip install -e . --no-deps` + `-r requirements.txt` + `".[dev]"`; launch-`run.bat` (`--headless` = API only). Choose focused `pytest` and lint targets-for the diff; use fakes from `tests/fakes/`, never `unittest.mock`. Run the-full suite when a change has broad reach or focused tests cannot bound its-risk. New providers pass their `tests/contract/` family. Four guards remain-required in CI: `test_routing`, `test_output_filter`,-`test_hangup_reason_parity`, `test_turn_language`.--The commit and push hooks block confirmed secret, private-key, withheld-path,-language, and broken-bundle additions. CI (`docs/ci-pipeline.md`) has ONE-required check, `CI gate`, over change-classified lanes; a test failure blocks-unless it is listed in `scripts/ci/test-baseline-<os>.json`. Finished work in-your own worktree lands with `python scripts/agent_land.py` (rebase onto main,-auto-resolve generated files, gates, relevant tests, push); a `codex/`,-`claude/`, `agent/` branch or an `auto-merge` label puts a PR on the merge-train, which keeps it current with main and squash-merges it once green.-Triage any red job against the exact base; never add to a baseline to hide a-new failure.-Run `check_boot_budget.py` after touching startup; CI cannot measure the live-voice-ready path.--**Pointers:** [`docs/architecture-overview.md`](docs/architecture-overview.md) ·-[`docs/BUGS.md`](docs/BUGS.md) (symptom → cause) · `docs/adr/` ·-[`docs/os-parity.md`](docs/os-parity.md) ·-[`docs/jarvis-cli.md`](docs/jarvis-cli.md).diff --git a/Dockerfile b/Dockerfileindex 87e64c2249..afc3c7ac00 100644--- a/Dockerfile+++ b/Dockerfile@@ -5,7 +5,7 @@# Boots the FastAPI + WebSocket backend and serves the prebuilt browser UI, so a# user reaches the full Router-Brain experience through any browser without a# desktop install. NO desktop extras (tray, overlay, hotkey, local voice) — those-# are opt-in and useless in a headless container (see CLAUDE.md, cloud-first+# are opt-in and useless in a headless container (see AGENTS.md, cloud-first# doctrine). Bring your own provider keys via environment variables.## docker build -t personal-jarvis .diff --git a/docs/LLM-CONTEXT.md b/docs/LLM-CONTEXT.mdindex a7edfe211e..16113ca6c1 100644--- a/docs/LLM-CONTEXT.md+++ b/docs/LLM-CONTEXT.md@@ -7,18 +7,18 @@> `file:line` references, enum-drift defenses, testing buckets, the full script inventory.>> **Looking for the human-facing overview?** See [`../README.md`](../README.md).-> **Binding source-of-truth:** [`../CLAUDE.md`](../CLAUDE.md) + the docs linked at the bottom.+> **Binding source-of-truth:** [`../AGENTS.md`](../AGENTS.md) + the docs linked at the bottom.**Personal Jarvis** is a voice-driven **Supervisor-Agent meta-orchestrator** — not a classical voice assistant. The core pattern is a fast **Router-Brain** that dispatches work to interchangeable executors: router-tier tools, a computer-use harness, and — for heavy work — isolated mission workers (`ClaudeDirectWorker`, `CodexDirectWorker`, `GoogleCliWorker`, in-process `ApiAgentWorker`). NB: only two `jarvis.harness` entry points are registered, `python-script` and `screenshot` (`pyproject.toml`); `open_interpreter.py` is a stub that returns `exit_code=1` and `mcp_remote.py` is unregistered — `tests/contract/test_harness_protocol.py` asserts both are unavailable. MCP reaches the brain as *tools* via the `mcp-tools` loader, not as a harness. The voice layer is just the I/O surface; the soul is the dispatcher discipline that keeps the Router-Brain lean and delegates heavy reasoning to specialized Jarvis-Agents under critic-loop + worktree-isolation guard rails. The project is **provider-agnostic by mandate** — assume the downloader has exactly one credential, from any vendor, and never assume it is an Anthropic API key (subscription OAuth is used only inside workers) — and **self-modifying** via an atomic config-writer with a 10-step validate-backup-tempfile-replace-rollback-audit pipeline.> ### Cloud-First — Read This Before The Install Section-> **Target runtime is any €5 / month VPS or low-spec laptop** with a modern browser. **The maintainer's RTX 5070 Ti / Windows 11 Pro workstation is not a requirement** — it represents fewer than 0.1 % of the install base this project is being designed for. All Brain / STT / TTS / Vision / Wake providers default to cloud APIs; no GPU, no local models, no Windows APIs, no microphone are required in the base install. Windows-desktop features (tray app, Orb overlay, global hotkey wake, local Whisper, Silero-VAD-in-process, Computer-Use harness, PowerShell drift-guard daemon) are **opt-in `[desktop]` extras**, not requirements. **Binding doctrine: [`CLAUDE.md`](CLAUDE.md)**. On conflict between this README and `PHILOSOPHY.md`, the doctrine wins.+> **Target runtime is any €5 / month VPS or low-spec laptop** with a modern browser. **The maintainer's RTX 5070 Ti / Windows 11 Pro workstation is not a requirement** — it represents fewer than 0.1 % of the install base this project is being designed for. All Brain / STT / TTS / Vision / Wake providers default to cloud APIs; no GPU, no local models, no Windows APIs, no microphone are required in the base install. Windows-desktop features (tray app, Orb overlay, global hotkey wake, local Whisper, Silero-VAD-in-process, Computer-Use harness, PowerShell drift-guard daemon) are **opt-in `[desktop]` extras**, not requirements. **Binding doctrine: [`AGENTS.md`](AGENTS.md)**. On conflict between this README and `PHILOSOPHY.md`, the doctrine wins.- **Base runtime:** Linux / macOS / Windows with Python 3.11+ and a network connection. Headless VPS + browser UI is a first-class deployment target.- **Maintainer's reference machine** (the project is developed on, but **does not require**, this hardware): RTX 5070 Ti, 32 GB RAM, CUDA 12.8, Windows 11 Pro — unlocks the optional `[desktop]` extras.- **Repo root** (maintainer's workstation; not relevant to consumers): `<USER_HOME>\Desktop\Personal Jarvis`- **Binding plan:** `~/.claude/plans/also-er-muss-auch-lexical-pond.md` (plan wins on plan-vs-code conflict). <!-- i18n-allow -->-- **Binding doctrine:** [`CLAUDE.md`](CLAUDE.md) (cloud-first; wins over the binding plan when the two disagree on hardware assumptions).+- **Binding doctrine:** [`AGENTS.md`](AGENTS.md) (cloud-first; wins over the binding plan when the two disagree on hardware assumptions).---@@ -88,7 +88,7 @@ The base + cloud-voice experience is fully cross-platform. The six desktop power| Orb overlay | 🟡 unverified-on-real-desktop (best-effort; ⚙ tray fallback) | 🟡 unverified-on-real-desktop (Tk `-transparentcolor`) | ✅ || Admin-helper / elevation | 🟡 unverified-on-real-desktop (pkexec/sudo; ⚙ NullElevator) | 🟡 unverified-on-real-desktop (Authorization Services) | ✅ UAC |-> macOS / Linux get the full Router-Brain → Worker-Critic → Mission-Manager experience — including voice, local Whisper, and the **screenshot → click → type** Computer-Use loop: the vision model picks pixel targets, and `mss` (screen capture) + `pyautogui` (click / type / scroll) are cross-platform **base** dependencies, not Windows-only. The six former Windows-only desktop features — the built-in terminal, launch-app-by-name, click-by-UI-element-name (UIA / AX / AT-SPI accessibility trees), global-hotkey wake, the Orb overlay, and the admin-helper / elevation — are now **cross-platform behind the `jarvis/platform/` seam** (one per-OS implementation per feature, selected by a `detect_platform()` factory, each degrading to a logged English no-op when its capability is absent). They remain **opt-in `[desktop]` / `[desktop-macos]` extras** (the headless €5-VPS base install ships none of them). Terminal and launch-by-name are fully CI-provable on the ubuntu/macos runners; UI-element-click, global-hotkey capture, the Orb transparency, and the elevation prompt are live GUI/permission behaviors that need a one-time sign-off on a real device (AD-3) — see the per-feature verdicts in [Verification status](#verification-status). See the `[desktop]` extras in [`pyproject.toml`](pyproject.toml), the cloud-first doctrine in [`CLAUDE.md`](CLAUDE.md), and ADR-0020 (cross-platform elevation, supersedes ADR-0001).+> macOS / Linux get the full Router-Brain → Worker-Critic → Mission-Manager experience — including voice, local Whisper, and the **screenshot → click → type** Computer-Use loop: the vision model picks pixel targets, and `mss` (screen capture) + `pyautogui` (click / type / scroll) are cross-platform **base** dependencies, not Windows-only. The six former Windows-only desktop features — the built-in terminal, launch-app-by-name, click-by-UI-element-name (UIA / AX / AT-SPI accessibility trees), global-hotkey wake, the Orb overlay, and the admin-helper / elevation — are now **cross-platform behind the `jarvis/platform/` seam** (one per-OS implementation per feature, selected by a `detect_platform()` factory, each degrading to a logged English no-op when its capability is absent). They remain **opt-in `[desktop]` / `[desktop-macos]` extras** (the headless €5-VPS base install ships none of them). Terminal and launch-by-name are fully CI-provable on the ubuntu/macos runners; UI-element-click, global-hotkey capture, the Orb transparency, and the elevation prompt are live GUI/permission behaviors that need a one-time sign-off on a real device (AD-3) — see the per-feature verdicts in [Verification status](#verification-status). See the `[desktop]` extras in [`pyproject.toml`](pyproject.toml), the cloud-first doctrine in [`AGENTS.md`](AGENTS.md), and ADR-0020 (cross-platform elevation, supersedes ADR-0001).#### Verification status@@ -378,7 +378,7 @@ Locking is `ClassVar threading.Lock`. Three router-tier Self-Mod tools: `list_mu## 12. Phase status table-Verified against the actual file tree (not just CLAUDE.md claims):+Verified against the actual file tree (not just AGENTS.md claims):| Phase | Status | Evidence ||---|---|---|@@ -670,19 +670,19 @@ Self-mod writeup: [`docs/self_mod.md`](docs/self_mod.md) — 8 mutable settings## 25. Doc-vs-code drift (verified)-Two drifts surfaced during the agent audit; flag them before quoting CLAUDE.md to a fresh chat:+Two drifts surfaced during the agent audit; flag them before quoting AGENTS.md to a fresh chat:1. **`spawn-skill-author` is NOT wired** (corrected 2026-07-25). It carried a `pyproject.toml` entry point, and this document previously concluded from that registration that the tool was live — it was not, and that claim misled every agent session reading this file. The tool is absent from `ROUTER_TOOLS` (the only allow-set, so `factory.py` filters it out), AND its `__init__` requires a `runner=` argument the entry-point loader cannot supply — so adding it to `ROUTER_TOOLS` raises `TypeError` at tool load rather than fixing anything. The entry point has been removed. **Since 2026-08-18 the brain CAN author skills** — through the `create-skill` router tool (`jarvis/plugins/tool/create_skill.py`, in `ROUTER_TOOLS`, loader-constructible), which calls the same `SkillCreatorService.author()` as `POST /api/skills/creator/author` and `jarvis skills create`; every path lands the skill as `state: draft` (AP-15) because `commit` forces it. A spoken "erstell mir einen neuen Skill …" is recognised deterministically by `jarvis/skills/authoring_request.py` BEFORE any brand trigger, so a service named inside the request can no longer capture the turn. Guarded by `tests/unit/brain/test_router_tool_entrypoint_parity.py`, `tests/unit/plugins/test_create_skill_tool.py`, `tests/unit/brain/test_skill_authoring_turn.py`.-2. **`jarvis/sub_jarvis/` directory still exists** as an **empty placeholder** (no `__init__.py`, no files) despite CLAUDE.md and `docs/jarvis-agents-bridge.md §11` declaring it deleted in Welle 4. Cleanup is structurally complete (no code references), but the empty dir itself is leftover.+2. **`jarvis/sub_jarvis/` directory still exists** as an **empty placeholder** (no `__init__.py`, no files) despite AGENTS.md and `docs/jarvis-agents-bridge.md §11` declaring it deleted in Welle 4. Cleanup is structurally complete (no code references), but the empty dir itself is leftover.-Neither blocks anything — but a fresh chat parroting CLAUDE.md verbatim will be wrong on point 1, and confused by `ls jarvis/` on point 2.+Neither blocks anything — but a fresh chat parroting AGENTS.md verbatim will be wrong on point 1, and confused by `ls jarvis/` on point 2.---## 26. Pointers-- [`CLAUDE.md`](CLAUDE.md) — project guidance (highest priority for any agent working in this repo)+- [`AGENTS.md`](AGENTS.md) — project guidance (highest priority for any agent working in this repo)- [`docs/BUGS.md`](docs/BUGS.md) — 26-entry bug register with regression-test pointers- [`docs/jarvis-agents-bridge.md`](docs/jarvis-agents-bridge.md) — AD-1..AD-21 Jarvis-Agents harness contract- [`docs/anti-drift-three-layer.md`](docs/anti-drift-three-layer.md) — five-layer enum pattern (mandatory for any new wire-format string)@@ -715,4 +715,4 @@ Neither blocks anything — but a fresh chat parroting CLAUDE.md verbatim will b**No warranty for self-modifying behaviour.** The Phase-7 self-mod tools (`set_config_value`, `spawn-skill-author`) and the Phase-6 Worker-Critic loop can write to `jarvis.toml`, generate skills (created with `state="draft"`, never auto-activated — AP-15), and create isolated `git worktree` branches under `<repo_parent>/sub-agents-outputs/`. The 10-step atomic-write pipeline (allowlist → pre-validate → backup → tempfile → synchronous reload → rollback → audit) is designed to be safe and reversible, but the Apache 2.0 "as is" disclaimer (§7) and limitation of liability (§8) apply in full: the maintainers are not liable for any state the system writes on your behalf, on your filesystem or against the third-party APIs you have configured.-**Contributing.** Pull requests are welcome. By contributing you agree that your contribution is licensed under the Apache License 2.0 above. See [`CLAUDE.md`](CLAUDE.md) and [`CLAUDE.md`](CLAUDE.md) for the binding output-language policy (English-only artifacts) and the cloud-first design doctrine. The repository's bug register lives at [`docs/BUGS.md`](docs/BUGS.md); architecture decisions are recorded under [`docs/adr/`](docs/adr/).+**Contributing.** Pull requests are welcome. By contributing you agree that your contribution is licensed under the Apache License 2.0 above. See [`AGENTS.md`](../AGENTS.md) for the binding output-language policy (English-only artifacts) and the cloud-first design doctrine. The repository's bug register lives at [`docs/BUGS.md`](docs/BUGS.md); architecture decisions are recorded under [`docs/adr/`](docs/adr/).diff --git a/docs/SINGLE-SOURCE-OF-TRUTH.md b/docs/SINGLE-SOURCE-OF-TRUTH.mdindex 0cbd6f9fe4..2208b864ba 100644--- a/docs/SINGLE-SOURCE-OF-TRUTH.md+++ b/docs/SINGLE-SOURCE-OF-TRUTH.md@@ -3,7 +3,7 @@> **Purpose.** One self-contained, authoritative narrative of the entire Personal Jarvis> project — vision, philosophy, architecture, subsystems, and the hard-won engineering> lessons. Written to be read end-to-end (by a human or by an AI generating a summary,-> presentation, or explainer). Synthesized from `CLAUDE.md`, the cloud-first charter, the+> presentation, or explainer). Synthesized from `AGENTS.md`, the cloud-first charter, the> architecture contracts, and the bug register.>> **Status:** Phases 0–7 live, plus Awareness (A0–A5), Knowledge Wiki, Jarvis-Agents bridgediff --git a/docs/agents-self-verification.md b/docs/agents-self-verification.mdindex 94b3f221f4..50d4d3ec88 100644--- a/docs/agents-self-verification.md+++ b/docs/agents-self-verification.md@@ -2,7 +2,7 @@**Purpose:** Consolidated source of truth for anti-patterns, conventions, and hard negatives that subagents check against. This file is read as mandatory reading by `code-reviewer`, `jarvis-reviewer`, `jarvis-agents-bridge-reviewer`, `phase7-selfmod-auditor`, and all verifiers.-**Maintenance:** When a new anti-pattern arises from a bug, ADR, or plan update, it belongs here. Existing sources (CLAUDE.md, BUGS.md, ADR collection, Awareness Plan §10, Jarvis-Agents bridge doc §5, Phase-7 doc §6) remain canonical — this file mirrors them for subagent consumption.+**Maintenance:** When a new anti-pattern arises from a bug, ADR, or plan update, it belongs here. Existing sources (AGENTS.md, BUGS.md, ADR collection, Awareness Plan §10, Jarvis-Agents bridge doc §5, Phase-7 doc §6) remain canonical — this file mirrors them for subagent consumption.---@@ -20,16 +20,16 @@| ID | Anti-Pattern | Source | Fix ||---|---|---|---|-| AP-A1 | Higher layer imports a lower one directly instead of via a Protocol | CLAUDE.md §Architecture | Protocol in `jarvis/core/protocols.py`, runtime_checkable, isinstance without inheritance |-| AP-A2 | Lateral layer calls directly instead of via `EventBus` | CLAUDE.md §Event-Bus-Patterns | Typed Event in `jarvis/core/events.py`, frozen DataClass with `trace_id`, via `bus.publish()` |-| AP-A3 | Plugin class imports from `jarvis.*` | CLAUDE.md §Plugin-System | Structural compatibility is enough — no inheritance requirement |-| AP-A4 | Hardcoded API key or secret in code/config/commit | CLAUDE.md §Secrets | Exclusively `jarvis.core.config.get_secret(key, env_fallback)` |-| AP-A5 | Sync code path parallel to stream path ("sync or stream?") | CLAUDE.md §Streaming | All provider APIs are `AsyncIterator`, non-streaming yields one element |-| AP-A6 | Brain client (Claude/OpenAI/...) hardcoded instead of via `BrainManager` | CLAUDE.md §Brain-Provider-Strategy | Multi-provider switch via `BrainManager`, voice switch supported |-| AP-A7 | Event subscriber error propagates → blocks pipeline | CLAUDE.md §Event-Bus-Patterns | `_safe_dispatch` swallows the error + logs; never without try/except |-| AP-A8 | Awareness code in the voice critical path | CLAUDE.md §Awareness-Layer Hard Rule | `awareness-snapshot` stays a state read, no Brain/IO in the critical path |-| AP-A9 | Tool-use loop without risk-tier check | CLAUDE.md §Risk-Tier-System | `jarvis/safety/tool_executor.py` is the mandatory path |-| AP-A10 | Confirmation fatigue: every tool asks for confirmation | CLAUDE.md §Risk-Tier-System | Respect `[safety.whitelist]` patterns — whitelisted patterns run without prompting |+| AP-A1 | Higher layer imports a lower one directly instead of via a Protocol | AGENTS.md §Architecture | Protocol in `jarvis/core/protocols.py`, runtime_checkable, isinstance without inheritance |+| AP-A2 | Lateral layer calls directly instead of via `EventBus` | AGENTS.md §Event-Bus-Patterns | Typed Event in `jarvis/core/events.py`, frozen DataClass with `trace_id`, via `bus.publish()` |+| AP-A3 | Plugin class imports from `jarvis.*` | AGENTS.md §Plugin-System | Structural compatibility is enough — no inheritance requirement |+| AP-A4 | Hardcoded API key or secret in code/config/commit | AGENTS.md §Secrets | Exclusively `jarvis.core.config.get_secret(key, env_fallback)` |+| AP-A5 | Sync code path parallel to stream path ("sync or stream?") | AGENTS.md §Streaming | All provider APIs are `AsyncIterator`, non-streaming yields one element |+| AP-A6 | Brain client (Claude/OpenAI/...) hardcoded instead of via `BrainManager` | AGENTS.md §Brain-Provider-Strategy | Multi-provider switch via `BrainManager`, voice switch supported |+| AP-A7 | Event subscriber error propagates → blocks pipeline | AGENTS.md §Event-Bus-Patterns | `_safe_dispatch` swallows the error + logs; never without try/except |+| AP-A8 | Awareness code in the voice critical path | AGENTS.md §Awareness-Layer Hard Rule | `awareness-snapshot` stays a state read, no Brain/IO in the critical path |+| AP-A9 | Tool-use loop without risk-tier check | AGENTS.md §Risk-Tier-System | `jarvis/safety/tool_executor.py` is the mandatory path |+| AP-A10 | Confirmation fatigue: every tool asks for confirmation | AGENTS.md §Risk-Tier-System | Respect `[safety.whitelist]` patterns — whitelisted patterns run without prompting |---@@ -37,7 +37,7 @@| ID | Anti-Pattern | Source | Fix ||---|---|---|---|-| AP-V1 | Brain output goes directly to TTS without `scrub_for_voice` | CLAUDE.md §Output-Filter Discipline | Mandatory hook before every `_speak`/`tts.synthesize` (paths #1 + #2) |+| AP-V1 | Brain output goes directly to TTS without `scrub_for_voice` | AGENTS.md §Output-Filter Discipline | Mandatory hook before every `_speak`/`tts.synthesize` (paths #1 + #2) || AP-V2 | Tool-call JSON / `<function_calls>` / YAML args remains in the voice output | output_filter.py:blacklist | Pattern in `scrub_for_voice` || AP-V3 | Engineering jargon ("Harness", "MCP", "Subprocess", "Provider") in TTS | output_filter.py | Scrub standalone matches, keep compounds (Browser-Provider) || AP-V4 | Stacktrace in the voice output | output_filter.py | Standard phrase "Error occurred" # i18n-allow |@@ -52,9 +52,9 @@| ID | Anti-Pattern | Source | Fix ||---|---|---|---|-| AP-T1 | `unittest.mock` for plugin tests | CLAUDE.md §Testing-Conventions | `FakeXxxProvider` with scripted responses |-| AP-T2 | New provider without a contract test in `tests/contract/` | CLAUDE.md §Testing-Conventions | Extend the parametrized catalog |-| AP-T3 | Integration test with a real API without a skip marker | CLAUDE.md §Testing-Conventions | `pytest -m <live>` for external calls; default suite is mock-only |+| AP-T1 | `unittest.mock` for plugin tests | AGENTS.md §Testing-Conventions | `FakeXxxProvider` with scripted responses |+| AP-T2 | New provider without a contract test in `tests/contract/` | AGENTS.md §Testing-Conventions | Extend the parametrized catalog |+| AP-T3 | Integration test with a real API without a skip marker | AGENTS.md §Testing-Conventions | `pytest -m <live>` for external calls; default suite is mock-only || AP-T4 | Test-hardcoded paths (Windows, user-specific) | jarvis-test-runner drift | `tmp_path` fixture, ENV resolver, repo-relative paths |---@@ -131,9 +131,9 @@ From `JARVIS_AWARENESS_PLAN.md` §10 (full there):This is where false positives land that reviewers repeatedly flag incorrectly as AP:- **`jarvis/vision/screenshot.py:_ensure_dpi_awareness` lazy-imports `ctypes`** — not AP-A4 (hardcoded), this is the correct DPI-awareness pattern for Win32 (see `win32-specialist` mandatory reading).-- **`pipeline.py:_on_announcement` calls `synthesize` directly** — not AP-A2 (lateral-direct), this is the deliberate bus bypass for Jarvis-Agent/skill announcements, used by the Jarvis-Agents bridge for `summary_de` voice readback (CLAUDE.md §Output-Filter).-- **`output_filter.py` regex-only without LLM** — not an AP-V4-style lazy filter, latency mandate (CLAUDE.md §Output-Filter).-- **`build_default_brain()` creates its own `EventBus`** — a known open item, not an AP, until the two-bus bridge refactor happens (CLAUDE.md §Desktop-App open items).+- **`pipeline.py:_on_announcement` calls `synthesize` directly** — not AP-A2 (lateral-direct), this is the deliberate bus bypass for Jarvis-Agent/skill announcements, used by the Jarvis-Agents bridge for `summary_de` voice readback (AGENTS.md §Output-Filter).+- **`output_filter.py` regex-only without LLM** — not an AP-V4-style lazy filter, latency mandate (AGENTS.md §Output-Filter).+- **`build_default_brain()` creates its own `EventBus`** — a known open item, not an AP, until the two-bus bridge refactor happens (AGENTS.md §Desktop-App open items).---@@ -153,7 +153,7 @@ This is where false positives land that reviewers repeatedly flag incorrectly as| Source | Path | What for ||---|---|---|-| CLAUDE.md | Repo root | Architecture, plugin system, streaming, event bus, Windows specifics, conventions |+| AGENTS.md | Repo root | Architecture, plugin system, streaming, event bus, Windows specifics, conventions || BUGS.md | `docs/BUGS.md` | Bug register and lessons learned || 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 |diff --git a/docs/architecture-overview.md b/docs/architecture-overview.mdindex 957a3e36a0..f8e302e329 100644--- a/docs/architecture-overview.md+++ b/docs/architecture-overview.md@@ -1,9 +1,9 @@# Architecture & product overview-This file holds the **reference detail** that used to live inline in `CLAUDE.md`:+This file holds the **reference detail** that used to live inline in `AGENTS.md`:the phase status table, the full layer model, the deep architecture subsections,the optimistic-execution decisions, the cross-platform desktop ports, and the-platform/brand/wake specifics. `CLAUDE.md` keeps only the binding rules an agent+platform/brand/wake specifics. `AGENTS.md` keeps only the binding rules an agentmust respect on every change and links here for the depth.Status drift moves fast. The filesystem + `git log -- <module>` is the source ofdiff --git a/docs/authoring/public-docs-manifest.yaml b/docs/authoring/public-docs-manifest.yamlindex 5e5e8cc3a8..c27eef170d 100644--- a/docs/authoring/public-docs-manifest.yaml+++ b/docs/authoring/public-docs-manifest.yaml@@ -26,7 +26,7 @@ pages:summary: Understand what Personal Jarvis can do, what stays under your control, and where to begin.authoritative_sources:- README.md- - CLAUDE.md+ - AGENTS.md- jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx- jarvis/ui/web/frontend/src/components/layout/MainView.tsxrelated:@@ -801,7 +801,7 @@ pages:diataxis: explanationsummary: Learn what Jarvis stores locally, what may be sent to a connected service, and how each optional feature changes that boundary.authoritative_sources:- - CLAUDE.md+ - AGENTS.md- jarvis/core/paths.py- jarvis/core/redact.py- jarvis/state/chat_store.py@@ -866,7 +866,7 @@ pages:diataxis: explanationsummary: Learn why some actions run immediately, some require confirmation, and some are blocked before they can affect your computer or accounts.authoritative_sources:- - CLAUDE.md+ - AGENTS.md- jarvis/safety/risk_tier.py- jarvis/safety/approval.py- jarvis/safety/tool_executor.pydiff --git a/docs/custom-provider-endpoints-blueprint.md b/docs/custom-provider-endpoints-blueprint.mdindex 7da8db0ca8..ad6bcb735b 100644--- a/docs/custom-provider-endpoints-blueprint.md+++ b/docs/custom-provider-endpoints-blueprint.md@@ -8,7 +8,7 @@ base URL — and use it everywhere a built-in provider works: Pipeline ModeCompanion documents: [`docs/architecture-overview.md`](architecture-overview.md),[`docs/anti-drift-three-layer.md`](anti-drift-three-layer.md),-[`CLAUDE.md`](../CLAUDE.md) §3 (open-source universality), §5 (architecture+[`AGENTS.md`](../AGENTS.md) §3 (open-source universality), §5 (architectureessentials), AP-21/AP-22 (capability gating, cross-family fallback).---@@ -105,7 +105,7 @@ provider; the adapter kind is that knowledge made selectable.`adapter` crosses Python → TOML → Pydantic → REST/OpenAPI → TypeScript → UIdropdown. That is precisely the shape that produced BUG-008 four times. It gets-the five-layer pattern **preemptively** (CLAUDE.md §5), with one source of truth+the five-layer pattern **preemptively** (AGENTS.md §5), with one source of truthand a parity test:```@@ -754,7 +754,7 @@ export function probeCustomProvider(id: string): Promise<{ ok: boolean; detail:**Note on the task brief:** `src/lib/agentBrand.ts` is *not* the provider brandlist — it derives the user-visible agent name from the configured wake word-(CLAUDE.md §4). It needs **no change**, and must not gain provider knowledge.+(AGENTS.md §4). It needs **no change**, and must not gain provider knowledge.The provider list the brief means is the backend `provider_spec.py` catalog,surfaced through `useProviders.ts`.@@ -779,7 +779,7 @@ Deliberately small — the card machinery is already generic:`/providers/{id}/realtime-options` route, which is spec-driven and thereforealready works once S1 lands.-New i18n keys (English source, all supported locales per §1 of CLAUDE.md):+New i18n keys (English source, all supported locales per §1 of AGENTS.md):`apikeys_custom.add`, `.edit`, `.remove`, `.adapter`, `.adapter_help`,`.base_url_required`, `.probe_ok`, `.probe_failed`, `.insecure_http_warning`,`.remove_confirm`.diff --git a/docs/device-parity-debugging.md b/docs/device-parity-debugging.mdindex e3fe55107a..3d84e75e90 100644--- a/docs/device-parity-debugging.md+++ b/docs/device-parity-debugging.md@@ -17,7 +17,7 @@ months (multiple provider families with keys, a trained wake word, realtimemode, wiki content, activated skills). A second device runs **the publishedcode** with **an empty or minimal setup**. Identical code therefore does NOTmean identical behavior — by design, features gate on capabilities and-degrade quietly when a key or provider is missing (§3 of `CLAUDE.md`).+degrade quietly when a key or provider is missing (§3 of `AGENTS.md`).## Layer 1 — Version lag (check FIRST, takes 2 minutes)@@ -44,7 +44,7 @@ not exist anywhere else in the world. Ship it before expecting it on a device.Configuration, credentials, and data **never travel with the code** — that isdeliberate credential protection, not a sync failure: `data/`, `.env`,`jarvis.toml`, the OS keyring, and the Vault are untracked (§2 of-`CLAUDE.md`).+`AGENTS.md`).A fresh install therefore starts with: no keys, default providers, defaultmode, no wake word, no wiki, no skills, no trained voices. Because every tier@@ -72,7 +72,7 @@ to be recoverable in-app) and re-test **before** filing a bug.Only when the device runs the same version with an equivalent setup and afeature still misbehaves is an OS-specific defect plausible (macOSpermissions, window control, audio backends). Then the OS-parity rules apply:-`docs/os-parity.md` + §3 "OS feature parity" in `CLAUDE.md`. File it as a+`docs/os-parity.md` + §3 "OS feature parity" in `AGENTS.md`. File it as atracked parity gap, not folklore.---diff --git a/docs/marketplace/publishing-plan.md b/docs/marketplace/publishing-plan.mdindex 894483d933..2ea999a8be 100644--- a/docs/marketplace/publishing-plan.md+++ b/docs/marketplace/publishing-plan.md@@ -146,7 +146,7 @@ on emitting both `plugins[]` and `skills[]`.### Path 1 — `jarvis plugin …` (the CLI) · **Recommended first**-The contract already demands it (CLAUDE.md §5: a feature is a REST route+The contract already demands it (AGENTS.md §5: a feature is a REST routeplus an auto-CLI), the audience already has Jarvis installed, and it costszero infrastructure.diff --git a/docs/os-parity.md b/docs/os-parity.mdindex 8f76f8b07d..bd56a74fe2 100644--- a/docs/os-parity.md+++ b/docs/os-parity.md@@ -315,7 +315,7 @@ regressions in `tests/unit/plugins/tool/test_delegate_to_agent.py`. These areheadless tests on the available host, not evidence of native macOS/Linux orpaid-provider voice execution.-**Binding rule:** [`CLAUDE.md`](../CLAUDE.md) §3 *"OS feature parity — macOS+**Binding rule:** [`AGENTS.md`](../AGENTS.md) §3 *"OS feature parity — macOSand Linux are first-class"*. Every feature ships working on Windows, macOS,and Linux (desktop AND headless) in the same change. A Windows-onlyimplementation may land only with a capability gate, honest degradation, and@@ -696,7 +696,7 @@ procedural draft grants no tool permission and activates no registry triggers.- Fixing a gap: remove its row (git history keeps the record).- Landing a new Windows-only implementation: add a row (required by- CLAUDE.md §3) with impact, evidence, and off-Windows behavior.+ AGENTS.md §3) with impact, evidence, and off-Windows behavior.- Re-audit cadence: rerun the five-area sweep after any release that touchesplatform seams (`jarvis/platform/`, `jarvis/cu/actuate/`, `jarvis/vision/`,`jarvis/audio/`, `jarvis/missions/isolation/`).diff --git a/docs/realtime-voice/DESIGN.md b/docs/realtime-voice/DESIGN.mdindex bcf0f9b8d8..8377371a90 100644--- a/docs/realtime-voice/DESIGN.md+++ b/docs/realtime-voice/DESIGN.md@@ -255,7 +255,7 @@ input, fail closed to the classic pipeline (review major #7).reconnect with `SessionResumptionConfig`. First-turn "auto" (before anytranscript) seeds from pin → prior `conversation_language` → `DEFAULT_LOCALE`,then self-corrects on the first transcript. One resolver, no per-layer- re-derivation, no de/en-only phrase tables (CLAUDE.md §1.4).+ re-derivation, no de/en-only phrase tables (AGENTS.md §1.4).- **Latency marks** (owned in one place — three additions to the single-source`LatencyPhase` enum, `events.py:942`): `REALTIME_INPUT_COMMITTED`,`REALTIME_FIRST_TRANSCRIPT`, `REALTIME_FIRST_AUDIO`. Reuse `AudioOutFirst`@@ -308,7 +308,7 @@ input, fail closed to the classic pipeline (review major #7).| Headless VPS (no audio) | Desktop realtime = logged no-op; **browser** `/ws/audio` realtime still works (backend holds key, browser owns audio) || HARD leak in a transcript delta | Stop/abort + drain + cancel + localized fallback phrase |-**Three non-maintainer paths (CLAUDE.md §3), verified as one system:** (1) a user+**Three non-maintainer paths (AGENTS.md §3), verified as one system:** (1) a userwith only a Gemini key → Gemini Live; only OpenAI → OpenAI Realtime; onlyAnthropic/OpenRouter → `None` → classic pipeline + honest line. (2) headless`python:3.11-slim` → base install boots (SDKs are base deps, lazy-imported);diff --git a/docs/screen-context.md b/docs/screen-context.mdindex 5666860404..280db4fbc7 100644--- a/docs/screen-context.md+++ b/docs/screen-context.md@@ -78,7 +78,7 @@ handle.Screen Context sits in its own package, `jarvis/screen_context/`, above theplatform seam and below the brain. It imports platform modules; nothing in`jarvis/platform/` imports it. That direction is the 8-layer dependency rule-(CLAUDE.md §5) and it is what keeps the package testable without a display.+(AGENTS.md §5) and it is what keeps the package testable without a display.```voice session / bar / REST / brain tool@@ -204,7 +204,7 @@ visual signal succeeded.**Ambiguity does not capture, and does not silently drop the turn either.**`AMBIGUOUS` produces a question, in the resolved output language, through theone resolver (`jarvis/core/turn_language.py`) — never a per-layer phrase table-(CLAUDE.md §1). The user's next turn resolves it; a bare "yes" inside the+(AGENTS.md §1). The user's next turn resolves it; a bare "yes" inside theconfirmation window promotes the *previous* utterance to `SCREEN`.### 3.1 Intent classification@@ -350,7 +350,7 @@ Permission state is never cached across captures: macOS can revoke a grant whilethe app runs. The probe is one call and it is the first thing after intent.Every denial produces a message that names the exact setting to change and is-recoverable in-app (CLAUDE.md §3) — never a stack trace, never a silent no-op.+recoverable in-app (AGENTS.md §3) — never a stack trace, never a silent no-op.### 4.2 Privacy rules@@ -512,7 +512,7 @@ patterns on, monitor-wide denylist check, 120 s TTL, nothing on disk), and everykey remains readable and writable through the REST surface and therefore through`jarvis api screen-context get-settings|put-settings`. A settings card that asksa non-technical user to write regular expressions before a feature works is a-card they switch off instead of using; the CLI-first contract (CLAUDE.md §5) is+card they switch off instead of using; the CLI-first contract (AGENTS.md §5) iswhat makes hiding it safe rather than lossy.### Wave 5 — OCR supplement ✅ *implemented*diff --git a/docs/supply-chain/threat-model.md b/docs/supply-chain/threat-model.mdindex 1aba5b23fb..c873430f97 100644--- a/docs/supply-chain/threat-model.md+++ b/docs/supply-chain/threat-model.md@@ -26,7 +26,7 @@ what Wave 1 changes (and what it does not).The post-install runtime threat model — Brain provider API keys, Computer-Userisk-tier policy, Mission-Manager worker isolation — is out of scope here.That work lives in `docs/jarvis-agents-bridge.md`, `jarvis/safety/risk_tier.py`,-and the Phase-6 isolation invariants in `CLAUDE.md`.+and the Phase-6 isolation invariants in `AGENTS.md`.---@@ -786,7 +786,7 @@ can verify the same release months later by re-running the verifier.**Honest deferral — the Wave 4 axis is in TRANSITION MODE, nothard-required.** Reasoning:-- The €5/month VPS doctrine (CLAUDE.md "Cloud-First Philosophy") includes+- The €5/month VPS doctrine (AGENTS.md "Cloud-First Philosophy") includeshosts with `python:3.11-slim` and `debian:bookworm-slim` defaults,both of which carry OpenSSL ≤ 3.0.x. Hard-requiring 3.5+ in theverifier would block axes A+B+C from running on >70% of low-spec VPS@@ -993,7 +993,7 @@ over a failure.(`python3-xlib`, `uvloop`'s Linux wheel, etc.). Windows desktopinstalls that pass through `installer.py --with-desktop` will hit afailed `pip install --require-hashes` on those transitive deps. The- cloud-first VPS path is the binding doctrine (CLAUDE.md §"Cloud-First+ cloud-first VPS path is the binding doctrine (AGENTS.md §"Cloud-FirstPhilosophy"); Windows desktop is a power-user extra. Wave 6.1 willship a separate `requirements-windows.txt` generated under Windowscontainerization.diff --git a/install/installer.py b/install/installer.pyindex 50a317e384..8122695648 100644--- a/install/installer.py+++ b/install/installer.py@@ -58,7 +58,7 @@ from jarvis.core.branding import ( # noqa: E402 - bootstrap source path abovePRODUCT_NAME,)-# CLAUDE.md: new CLI modules must use UTF-8 stdout or stick to ASCII. Without+# AGENTS.md: new CLI modules must use UTF-8 stdout or stick to ASCII. Without# this, the Rich panels render fine but inline bullets break on cp1252 cmd.exe.if hasattr(sys.stdout, "reconfigure"):sys.stdout.reconfigure(encoding="utf-8", errors="replace")@@ -442,7 +442,7 @@ def step_models(*, full_profile: bool, dry_run: bool) -> None:# The download step's exit code alone is not proof: a skipped or cache-served# model can still leave "done" looking complete. So don't stop at rc — VERIFY# what actually landed on disk and print a per-model truth. Read-only +- # best-effort: this never bricks the install (CLAUDE.md section 3).+ # best-effort: this never bricks the install (AGENTS.md section 3).# run_noted, not run_quiet: with the HF progress bars silenced inside the# prefetch itself, its output is a handful of milestone lines ("downloading# wake model … ~40 MB", "speech model 'base': ready") — streaming them asdiff --git a/jarvis/agentic_ide/agent_transcript.py b/jarvis/agentic_ide/agent_transcript.pyindex b2e4daf79a..efeacfe8ca 100644--- a/jarvis/agentic_ide/agent_transcript.py+++ b/jarvis/agentic_ide/agent_transcript.py@@ -524,7 +524,7 @@ def _codex_first_user_text(session_id: str, home: Path | None) -> str | None:#: Which CLIs keep a record this module can read. Absence is not a failure — a#: CLI without an entry degrades to "watch the live pane", honestly and without-#: an error (CLAUDE.md §3).+#: an error (AGENTS.md §3)._READERS: dict[str, Callable[[str, Path | None], list[Turn] | None]] = {"claude": _claude_turns,"codex": _codex_turns,diff --git a/jarvis/agentic_ide/conversation.py b/jarvis/agentic_ide/conversation.pyindex bdd5b4b11e..523ddf35e3 100644--- a/jarvis/agentic_ide/conversation.py+++ b/jarvis/agentic_ide/conversation.py@@ -25,7 +25,7 @@ shape:Whatever language the conversation happened in is kept verbatim. It is inputDATA for the writer, not output: the brief the writer produces from it is-English like every other artifact (CLAUDE.md §1).+English like every other artifact (AGENTS.md §1)."""from __future__ import annotationsdiff --git a/jarvis/agentic_ide/fanout.py b/jarvis/agentic_ide/fanout.pyindex cd3e693187..a258153c3b 100644--- a/jarvis/agentic_ide/fanout.py+++ b/jarvis/agentic_ide/fanout.py@@ -175,7 +175,7 @@ class Delivery:The spoken layer localizes from THIS, never from ``reason`` — an Englishsentence pasted into a German answer is exactly the mixed-language output- the per-turn resolver exists to prevent (CLAUDE.md, runtime output+ the per-turn resolver exists to prevent (AGENTS.md, runtime outputlanguage)."""reason: str = ""diff --git a/jarvis/agentic_ide/library.py b/jarvis/agentic_ide/library.pyindex 124d30be2b..216ea7a5fe 100644--- a/jarvis/agentic_ide/library.py+++ b/jarvis/agentic_ide/library.py@@ -355,7 +355,7 @@ def ensure_project(path: str | Path, *, name: str | None = None) -> Project:#: What the one project-less holder is called on screen. English because every-#: artifact is (CLAUDE.md §1); it is a name, not a translated label.+#: artifact is (AGENTS.md §1); it is a name, not a translated label.SCRATCH_NAME = "Sessions"diff --git a/jarvis/agentic_ide/prompt_blueprint.py b/jarvis/agentic_ide/prompt_blueprint.pyindex fa8f58c261..245d4eca02 100644--- a/jarvis/agentic_ide/prompt_blueprint.py+++ b/jarvis/agentic_ide/prompt_blueprint.py@@ -58,7 +58,7 @@ made the receiving agent behave *worse*:picks the set and only that set is injected.The composed prompt is always English. The recipient is a coding agent working-in a repository whose artifacts are English (CLAUDE.md §1); a prompt in the+in a repository whose artifacts are English (AGENTS.md §1); a prompt in thespoken language pulls same-language commit messages and comments after it. The*spoken readback* to the user is unaffected — that stays in the turn'sresolved output language.diff --git a/jarvis/agentic_ide/task_kind.py b/jarvis/agentic_ide/task_kind.pyindex 2cb65b67a0..fe5d1ad3da 100644--- a/jarvis/agentic_ide/task_kind.py+++ b/jarvis/agentic_ide/task_kind.py@@ -22,7 +22,7 @@ guess.The German and Spanish stems here are speech-recognition *input vocabulary*:the words a person actually says when handing work to an agent. They are-matching data, not prose (see CLAUDE.md §1, closed list item 3), and each such+matching data, not prose (see AGENTS.md §1, closed list item 3), and each suchline carries an inline marker."""from __future__ import annotationsdiff --git a/jarvis/api_family_quota_state.py b/jarvis/api_family_quota_state.pyindex f2c1df40fe..6722499e05 100644--- a/jarvis/api_family_quota_state.py+++ b/jarvis/api_family_quota_state.py@@ -16,7 +16,7 @@ family walk (``_api_key_family_viable``) skips the family. A successful runclears it immediately, and the cooldown self-expires so a reset cap isre-probed.-Fingerprint binding (in-app recoverability, CLAUDE.md §3): the cooldown is+Fingerprint binding (in-app recoverability, AGENTS.md §3): the cooldown isbound to the credential that failed. Saving a NEW key in the API-Keys viewchanges the fingerprint and lifts the block instantly — no restart, no wait.A check without a current fingerprint is conservative: the cooldown holds.diff --git a/jarvis/autostart/protocol.py b/jarvis/autostart/protocol.pyindex 626e0acea0..8cbbfdb122 100644--- a/jarvis/autostart/protocol.py+++ b/jarvis/autostart/protocol.py@@ -1,6 +1,6 @@"""Autostart-at-login seam — protocol + wire types (the 7th cross-platform port).-Login autostart follows the established "six ports" pattern (CLAUDE.md →+Login autostart follows the established "six ports" pattern (AGENTS.md →*Cross-platform desktop features*): one ``Protocol`` + one per-OS implementation+ a capability factory + a graceful logged null-fallback (AD-5/AD-6).diff --git a/jarvis/brain/ack_brain/generator.py b/jarvis/brain/ack_brain/generator.pyindex 8c514286fc..1f14dac672 100644--- a/jarvis/brain/ack_brain/generator.py+++ b/jarvis/brain/ack_brain/generator.py@@ -68,7 +68,7 @@ _TOKEN_RE = re.compile(r"\b[\w']+\b", re.UNICODE)# Back-compat re-export. This module used to own a private de/en-only# top-100-word heuristic (``_TOP_DE`` / ``_TOP_EN``), which is exactly the-# per-layer language re-derivation CLAUDE.md §1 forbids: it scored the German+# per-layer language re-derivation AGENTS.md §1 forbids: it scored the German# ack "Moment, in Ordnung." as English (the bare token "in" was in the English# set) and dropped it, and it classified every Spanish ack containing "no" as# English and dropped that too — the user simply heard nothing. The tables are@@ -326,7 +326,7 @@ class AckGenerator:# (i) output-language sanity check. ``language`` is ALREADY this turn's# resolved output language (``resolve_output_language``, resolved once- # by the pipeline) — this layer must never re-derive it (CLAUDE.md §1).+ # by the pipeline) — this layer must never re-derive it (AGENTS.md §1).# ``validate_output_language`` blocks only on a high-confidence# mismatch; short, ambiguous, or name-only acks come back# ``indeterminate`` and PASS. Dropping user-facing output on a languagediff --git a/jarvis/brain/ack_brain/spawn_announcement.py b/jarvis/brain/ack_brain/spawn_announcement.pyindex 5313c3fdc1..b3495951ad 100644--- a/jarvis/brain/ack_brain/spawn_announcement.py+++ b/jarvis/brain/ack_brain/spawn_announcement.py@@ -536,7 +536,7 @@ class SpawnAnnouncementComposer:return None# ``lang`` is already this turn's resolved output language — validate# against it through the single resolver, never a local detector- # (CLAUDE.md §1). Only a high-confidence mismatch rejects; an+ # (AGENTS.md §1). Only a high-confidence mismatch rejects; an# indeterminate verdict keeps the announcement, since staying silent on# a language guess is worse than an odd-sounding one.if validate_output_language(trimmed, resolved_language=lang).should_block:diff --git a/jarvis/brain/evidence_gate.py b/jarvis/brain/evidence_gate.pyindex 6b5739354a..02bfdb734e 100644--- a/jarvis/brain/evidence_gate.py+++ b/jarvis/brain/evidence_gate.py@@ -219,7 +219,7 @@ _REFUSAL_EN: dict[str, str] = {_REFUSAL_EN_FALLBACK = "I have no data access for that right now."# Spoken Spanish voice replies (TTS-safe, deterministic). All locales are-# equal (CLAUDE.md §1): a Spanish-speaking user gets the refusal in Spanish,+# equal (AGENTS.md §1): a Spanish-speaking user gets the refusal in Spanish,# not the English table because no Spanish one existed._REFUSAL_ES: dict[str, str] = {"calendar": "Ahora mismo no tengo acceso a tu calendario.", # i18n-allow@@ -245,7 +245,7 @@ def _refusal_language(resolved: object, text: str) -> str:"""Which language the deterministic refusal is spoken in.The turn's ALREADY-resolved output language wins outright — this module- must never re-derive it (CLAUDE.md §1: one resolver,+ must never re-derive it (AGENTS.md §1: one resolver,``resolve_output_language``, decides for all layers). It used to sniff theutterance with a private de/en-only heuristic, so an explicit``brain.reply_language`` pin was ignored: a Spanish-pinned user asking indiff --git a/jarvis/brain/manager.py b/jarvis/brain/manager.pyindex e8b288c240..664ef796cd 100644--- a/jarvis/brain/manager.py+++ b/jarvis/brain/manager.py@@ -12544,7 +12544,7 @@ class BrainManager:return agg.text# ONE output-language resolution for every honesty phrase this turn- # (CLAUDE.md §1: one resolver decides the turn for ALL layers). The two+ # (AGENTS.md §1: one resolver decides the turn for ALL layers). The two# guards below used to resolve separately with DIFFERENT defaults# ("de" here, DEFAULT_LOCALE there), so an undetectable turn could speak# a German evidence fallback followed by an English honesty phrase in thediff --git a/jarvis/brain/ollama_pull.py b/jarvis/brain/ollama_pull.pyindex 6b283f3e87..ca176302de 100644--- a/jarvis/brain/ollama_pull.py+++ b/jarvis/brain/ollama_pull.py@@ -1,6 +1,6 @@"""In-app model downloads for a local Ollama server.-CLAUDE.md section 3 requires a capability to be recoverable from INSIDE the+AGENTS.md section 3 requires a capability to be recoverable from INSIDE theapp. The local brain card missed that bar in the one place it matters most:with a running server and no downloads, every path failed with "run: ollamapull <model>" — a terminal instruction in a desktop app with no terminal, and@@ -114,7 +114,7 @@ class RecommendedModel:#: When a maintainer last checked the shortlist against the live library.#: Surfaced in the download panel ("Shortlist reviewed …") and enforced by#: ``tests/integration/test_ollama_catalog_is_current.py``: a review older-#: than twelve months fails the suite, because CLAUDE.md §4 forbids shipping a+#: than twelve months fails the suite, because AGENTS.md §4 forbids shipping a#: year-old local default. Bump it in the same commit that refreshes the list.CURATED_REVIEWED_ON = datetime.date(2026, 8, 24)diff --git a/jarvis/brain/output_filter.py b/jarvis/brain/output_filter.pyindex 1b66bd8386..d2c33443f2 100644--- a/jarvis/brain/output_filter.py+++ b/jarvis/brain/output_filter.py@@ -203,7 +203,7 @@ TOOL_CALL_INLINE_RE = re.compile(#: its closing brace and leaves a bare "}" standing in the spoken sentence#: ("Ich öffne Spotify. }"). One level covers every envelope this codebase#: emits; deeper nesting is not expressible in a regex and is out of scope for-#: a filter that must stay regex-only (CLAUDE.md §5).+#: a filter that must stay regex-only (AGENTS.md §5)._TOOL_JSON_INNER = r"(?:[^{}]|\{[^{}]*\})"TOOL_JSON_RE = re.compile(r"\{" + _TOOL_JSON_INNER + r"*?"diff --git a/jarvis/brain/router.py b/jarvis/brain/router.pyindex dfd49135ae..54565ef4a6 100644--- a/jarvis/brain/router.py+++ b/jarvis/brain/router.py@@ -263,7 +263,7 @@ class RouterBrain:return "de"def _output_locale(self, utterance: str) -> str:- """The turn's output language, via the ONE resolver (CLAUDE.md §1.3).+ """The turn's output language, via the ONE resolver (AGENTS.md §1.3).Deliberately NOT ``_detect_utterance_language`` above: that helper is ade/en-only ack heuristic with a German default, so a Spanish user woulddiff --git a/jarvis/brain/wiki_relevance.py b/jarvis/brain/wiki_relevance.pyindex e6d6829008..ceda830ea8 100644--- a/jarvis/brain/wiki_relevance.py+++ b/jarvis/brain/wiki_relevance.py@@ -44,7 +44,7 @@ is the strict coverage bar plus the framing contract, no longer a refusal tosearch. The router brain additionally holds the ``wiki-recall`` tool and canlook something up deliberately when the injected context is not enough.-Languages: the matcher carries de/en/es tokens as equal peers (CLAUDE.md §1+Languages: the matcher carries de/en/es tokens as equal peers (AGENTS.md §1closed-list item 3 — speech-recognition input vocabulary, matching data ratherthan prose). Input is case-, umlaut- and accent-folded before matching, sothe German and Spanish spellings of a word reach the same pattern whether ordiff --git a/jarvis/brain/wiki_relevance_vocab.py b/jarvis/brain/wiki_relevance_vocab.pyindex 6a3c9ff1a8..d0c265d993 100644--- a/jarvis/brain/wiki_relevance_vocab.py+++ b/jarvis/brain/wiki_relevance_vocab.py@@ -3,7 +3,7 @@MATCHING DATA, NOT PROSE. Every token below is a fragment the speechrecogniser may literally produce, which a classifier must contain in order torecognise the corresponding utterance — the same category as the router,-navigation-intent and wake-trigger vocabularies (CLAUDE.md §1, closed-list+navigation-intent and wake-trigger vocabularies (AGENTS.md §1, closed-listitem 3). Translating these tokens would make the gate deaf in that language.All tokens are written PRE-FOLDED: lower-case, no umlauts, no accents, sharp-sdiff --git a/jarvis/codex_app_server.py b/jarvis/codex_app_server.pyindex babde42c7b..244f4ba769 100644--- a/jarvis/codex_app_server.py+++ b/jarvis/codex_app_server.py@@ -1148,7 +1148,7 @@ def _rebuild_invalid_subscription_home() -> None:directory is Jarvis's own — never user documents — and its only meaningfulcontent is the dedicated login the user is actively replacing or removing.Without this, ``setup_invalid`` was an in-app dead end whose card text- demanded a reconnect that failed on the very same validation (CLAUDE.md+ demanded a reconnect that failed on the very same validation (AGENTS.md§3: recoverable IN-APP). A symlinked profile is detached, never followed."""from jarvis.core.paths import user_data_dir@@ -1601,7 +1601,7 @@ def _login_required_reason_code() -> CodexSubscriptionReasonCode:On a headless Linux host the interactive browser login is impossible, soinviting it would only produce an error toast after the click — thepre-click truth there is ``lifecycle_unavailable`` (visible degradation,- CLAUDE.md §3). The same holds for a graphical Linux desktop that ships no+ AGENTS.md §3). The same holds for a graphical Linux desktop that ships noterminal able to host the login for its full lifetime. An EXISTING loginstill reports ready on such hosts."""diff --git a/jarvis/control/cancel.py b/jarvis/control/cancel.pyindex be8a1a182d..f180dc4223 100644--- a/jarvis/control/cancel.py+++ b/jarvis/control/cancel.py@@ -13,7 +13,7 @@ Three components:3. **KillSwitch** — aggregator. Holds all active tokens, subscribed to`KillRequested` on one or more buses (multi-bus support for the- two-bus problem described in CLAUDE.md).+ two-bus problem described in AGENTS.md).Usage:@@ -123,7 +123,7 @@ class KillSwitch:cancels all known tokens with `reason='kill_switch'`.Two-bus pattern (ADR-0004): `bind(bus)` may be called multiple times —- each bus is subscribed. This addresses the case described in CLAUDE.md+ each bus is subscribed. This addresses the case described in AGENTS.mdwhere the `DesktopApp` integration creates a second bus (theBrain-Factory bus)."""@@ -200,7 +200,7 @@ class KillSwitch:"""Re-publish a `KillRequested` event onto another bus.Useful when `DesktopApp._run_backend` starts a second bus- (Brain-Factory bus, see CLAUDE.md) and the KillSwitch is subscribed+ (Brain-Factory bus, see AGENTS.md) and the KillSwitch is subscribedonly on the UI bus. Call once at startup:async def _forward(ev):diff --git a/jarvis/core/capabilities.py b/jarvis/core/capabilities.pyindex 331ee880fe..1b4249e78c 100644--- a/jarvis/core/capabilities.py+++ b/jarvis/core/capabilities.py@@ -334,7 +334,7 @@ class CapabilityRegistry:Each line: ``• <id> — <description>``The *lang* parameter is reserved for future localisation. Currently- all descriptions are English (CLAUDE.md policy) regardless of lang.+ all descriptions are English (AGENTS.md policy) regardless of lang."""caps = self.all()if not caps:diff --git a/jarvis/core/device.py b/jarvis/core/device.pyindex 0f0187b831..29cdfe55b5 100644--- a/jarvis/core/device.py+++ b/jarvis/core/device.py@@ -3,7 +3,7 @@Single source of truth for the question "which compute device may this componentuse?". Personal Jarvis is cloud-first: the baseline user is on a headless``python:3.11-slim`` VPS with no GPU, never the maintainer's CUDA workstation-(CLAUDE.md §3, ``docs/adr/0024-cpu-first-device-selection.md``). So the DEFAULT+(AGENTS.md §3, ``docs/adr/0024-cpu-first-device-selection.md``). So the DEFAULTis always CPU, and a GPU is used only when a component BOTH (a) is EXPLICITLYasked for one via config, AND (b) has a VERIFIED capability to run it.diff --git a/jarvis/core/entry_points.py b/jarvis/core/entry_points.pyindex 7921a810d9..f06b120a7f 100644--- a/jarvis/core/entry_points.py+++ b/jarvis/core/entry_points.py@@ -19,7 +19,7 @@ which is why this module exists.Caching for the life of the process is correct rather than merely convenient:the catalogue only changes when a distribution is installed or removed, and anew entry-point does not take effect in an already-running interpreter anyway-(hence CLAUDE.md §10's ``pip install -e . --no-deps`` followed by a restart).+(hence AGENTS.md §10's ``pip install -e . --no-deps`` followed by a restart).:func:`invalidate` is provided for the one case that does need it — a test, oran in-process install that wants the next read to see new plugins."""diff --git a/jarvis/core/registry.py b/jarvis/core/registry.pyindex 0db1ff8122..22e4129c85 100644--- a/jarvis/core/registry.py+++ b/jarvis/core/registry.py@@ -72,7 +72,7 @@ def load(group: str, name: str, protocol: type[Protocol] | None = None) -> type[)ep = candidates[0]- # Plugins must not import jarvis.* (structural purity, CLAUDE.md §5), yet+ # Plugins must not import jarvis.* (structural purity, AGENTS.md §5), yet# several read credentials straight from the OS keyring. The HOST therefore# prepares the process-wide backend before handing over: on macOS this# installs the single-vault-item wrapper (BUG-103) so a plugin's directdiff --git a/jarvis/core/review/spawns.py b/jarvis/core/review/spawns.pyindex c8fea55c9b..40bf79a1cd 100644--- a/jarvis/core/review/spawns.py+++ b/jarvis/core/review/spawns.py@@ -61,7 +61,7 @@ DEFAULT_REVIEWER_BUDGET_USD = 0.05# ----------------------------------------------------------------------## Candidate names for the Jarvis-Agent worker harness, in preference order.-# ``jarvis_agent`` is the canonical name (CLAUDE.md §4 rename); ``openclaw``+# ``jarvis_agent`` is the canonical name (AGENTS.md §4 rename); ``openclaw``# is the pre-rename back-compat alias, mirroring the# ``AliasChoices("jarvis_agent", "openclaw")`` pattern already used for the# ``[harness.jarvis_agent]`` config block (jarvis/core/config.py). Neither isdiff --git a/jarvis/core/turn_language.py b/jarvis/core/turn_language.pyindex 365631da8f..becda3a125 100644--- a/jarvis/core/turn_language.py+++ b/jarvis/core/turn_language.py@@ -447,7 +447,7 @@ def resolve_output_language(preamble, spawn announcements, every canned status / error / clarify /timeout / provider-down phrase, the deterministic Computer-Use readbacks,and the TTS voice pin — must resolve language through THIS function so no- layer can diverge from another (CLAUDE.md "Runtime Output Language";+ layer can diverge from another (AGENTS.md "Runtime Output Language";2026-06-18 forensic).Precedence, highest first:diff --git a/jarvis/dictation/cleanup.py b/jarvis/dictation/cleanup.pyindex b0c3b64e43..9226136837 100644--- a/jarvis/dictation/cleanup.py+++ b/jarvis/dictation/cleanup.py@@ -48,7 +48,7 @@ from dataclasses import dataclass# i18n-allow: the tables below are speech-recognition vocabulary — the literal# German/Spanish tokens a matcher must contain to recognise a German or Spanish-# hesitation sound. Matching data, not prose (CLAUDE.md §1, category 3).+# hesitation sound. Matching data, not prose (AGENTS.md §1, category 3).#: Hesitation sounds per language. Keys are lowercase two-letter codes.#: Multi-word entries are matched as a phrase.diff --git a/jarvis/dictation/local_preview.py b/jarvis/dictation/local_preview.pyindex 7d2b29ce6f..74ddc3e817 100644--- a/jarvis/dictation/local_preview.py+++ b/jarvis/dictation/local_preview.py@@ -25,7 +25,7 @@ a model that takes 800 ms turns the preview into a lagging distraction. TheFINAL text is never produced here — it always comes from the configuredprovider, so the words that land in the user's document are the good ones.-Degrades honestly (CLAUDE.md §3): on a host without ``faster_whisper`` — a base+Degrades honestly (AGENTS.md §3): on a host without ``faster_whisper`` — a baseor headless install — this reports unavailable and the caller falls back to thebudgeted cloud preview. No GPU is required either; the engine picks CPU and thecaller simply sees a slower preview.diff --git a/jarvis/dictation/merge.py b/jarvis/dictation/merge.pyindex 75c49aea61..c226672b82 100644--- a/jarvis/dictation/merge.py+++ b/jarvis/dictation/merge.py@@ -27,7 +27,7 @@ between words, so a token-based overlap search finds nothing there and atoken-based join inserts spaces a reader of those scripts would call wrong. Thesearch falls back to characters, and the join asks the two boundary characterswhether a space belongs between them. No language is the default one-(CLAUDE.md §1).+(AGENTS.md §1).Pure functions over strings: no model, no I/O, no configuration."""@@ -222,7 +222,7 @@ def transcript_token_count(text: str) -> int:scripts written with spaces, characters for the space-free scripts (anideograph or kana is roughly one spoken syllable). Counting a Chinesesentence as "one word" would make every Chinese transcript look truncated,- and no language is the default one (CLAUDE.md §1).+ and no language is the default one (AGENTS.md §1)."""total = 0for token in _normalize(text).split():diff --git a/jarvis/dictation/polish_client.py b/jarvis/dictation/polish_client.pyindex 8c64dfdb9b..c95fcea716 100644--- a/jarvis/dictation/polish_client.py+++ b/jarvis/dictation/polish_client.py@@ -295,7 +295,7 @@ POLISH_FAMILIES: Final[tuple[PolishFamily, ...]] = (base_url="https://api.openai.com/v1",secret_candidates=("openai_api_key",),# ``gpt-4.1-nano`` sat here from a 2025 catalog and is more than a year- # old — never a default (CLAUDE.md §3). Both ids below are the ones+ # old — never a default (AGENTS.md §3). Both ids below are the ones# ``jarvis.brain.model_catalog`` carries as current for this provider# and ``tests/unit/brain/test_current_model_catalogs.py`` pins, so the# wording pass and the brain cannot drift apart on what OpenAI serves.diff --git a/jarvis/dictation/polish_guards.py b/jarvis/dictation/polish_guards.pyindex a378aa073e..86d1823281 100644--- a/jarvis/dictation/polish_guards.py+++ b/jarvis/dictation/polish_guards.py@@ -218,7 +218,7 @@ _META_PREFIX_RE: Final[re.Pattern[str]] = re.compile(# i18n-allow: the two non-English tables below are language-frequency DATA — the# literal German and Spanish tokens a rarity classifier must contain in order to# decide that a German or Spanish word is ordinary rather than a proper noun.-# Matching data, not prose (CLAUDE.md §1, category 3), exactly like the filler+# Matching data, not prose (AGENTS.md §1, category 3), exactly like the filler# tables in jarvis/dictation/cleanup.py.## Only tokens of _RARE_MIN_CHARS or more are ever looked up, so short functiondiff --git a/jarvis/missions/kontrollierer/deliverable_paths.py b/jarvis/missions/kontrollierer/deliverable_paths.pyindex 62e753b2cd..3e3fe0ee9c 100644--- a/jarvis/missions/kontrollierer/deliverable_paths.py+++ b/jarvis/missions/kontrollierer/deliverable_paths.py@@ -9,7 +9,7 @@ captures deliverables a worker named with an ignored pattern such asso a denylist must keep tool-scratch out of ``artifacts/files/``.Three layers consume this predicate, so it lives in ONE module to stop the-multi-layer drift bug class (CLAUDE.md / BUG-008):+multi-layer drift bug class (AGENTS.md / BUG-008):* the archive filter — :func:`Kontrollierer._archive_task_artifacts`(``orchestrator.py``) — keeps scratch out of the archive at the source;diff --git a/jarvis/missions/voice/readback.py b/jarvis/missions/voice/readback.pyindex de60f64c85..d338b8f571 100644--- a/jarvis/missions/voice/readback.py+++ b/jarvis/missions/voice/readback.py@@ -173,7 +173,7 @@ READBACK_TEMPLATES: Final[dict[TemplateKey, dict[Lang, list[str]]]] = { # i18n-# (2026-05-27 hardening finding #7). Keys are the reasons emitted by the# orchestrator / recovery sweep; the DE and EN sets must stay in parity.# Keyed by language CODE (str), not the render-API ``Lang`` literal: ``es`` is-# an equal supported product-surface language (CLAUDE.md §1) and MUST be able+# an equal supported product-surface language (AGENTS.md §1) and MUST be able# to carry a phrase here even though the ``MissionReadback`` render methods# themselves still default to the de/en ``Lang`` surface (widening that whole# API to ``es`` is a separate, larger task). Lookups use ``.get(language, {})``@@ -247,7 +247,7 @@ FAILURE_REASON_PHRASES: Final[dict[str, dict[str, str]]] = {"provider_unreachable": "The AI provider is currently unreachable.","worker_timeout": "The worker hit its time limit.",},- # Spanish is an equal supported product-surface language (CLAUDE.md §1).+ # Spanish is an equal supported product-surface language (AGENTS.md §1).# Only the portable workspace-setup reason keys carry ``es`` for now — the# rest of the table is de/en pending a broader translation pass; a missing# key here falls back via ``.get(language, {})``.diff --git a/jarvis/missions/workers/provider_chain.py b/jarvis/missions/workers/provider_chain.pyindex 3433deeb49..31f132e96a 100644--- a/jarvis/missions/workers/provider_chain.py+++ b/jarvis/missions/workers/provider_chain.py@@ -307,7 +307,7 @@ def _build_worker_cmd(the worker class this argv fed was deleted with the direct-workermigration; only ``tests/missions/test_provider_chain_argv.py`` and thespike script still exercise it. Kept as read-compat surface per the- CLAUDE.md §4 glossary (do not delete together with the aliases).+ AGENTS.md §4 glossary (do not delete together with the aliases).`binary` accepts either a single executable path (legacy contract,used by existing tests that pin one string) or the full argv prefixdiff --git a/jarvis/plugins/stt/fwhisper.py b/jarvis/plugins/stt/fwhisper.pyindex 6f302ad1f4..09101cac95 100644--- a/jarvis/plugins/stt/fwhisper.py+++ b/jarvis/plugins/stt/fwhisper.py@@ -209,7 +209,7 @@ _CUDA_DLL_PACKAGE_DIRS: Final[tuple[tuple[str, tuple[str, ...]], ...]] = (#: together) and installed from inside the app by#: :func:`jarvis.speech.local_install.start_gpu_libraries_install`, because a#: GPU that the app cannot reach is not something a person should have to fix-#: in a terminal (CLAUDE.md §2, credentials-and-capabilities recoverable in-app).+#: in a terminal (AGENTS.md §2, credentials-and-capabilities recoverable in-app).GPU_LIBRARY_PACKAGES: Final[tuple[str, ...]] = ("nvidia-cublas-cu12>=12.4,<13","nvidia-cudnn-cu12>=9,<10",diff --git a/jarvis/plugins/stt/groq_api.py b/jarvis/plugins/stt/groq_api.pyindex dab8d17267..074c7d8400 100644--- a/jarvis/plugins/stt/groq_api.py+++ b/jarvis/plugins/stt/groq_api.py@@ -308,7 +308,7 @@ class GroqWhisperAPI:# RuntimeError. This plugin deliberately does NOT raise that# shared type — it is the one STT plugin held to a total# ``jarvis.*``-import ban outside its own plugin package- # (CLAUDE.md §5, pinned by tests/contract/test_stt_protocol.py).+ # (AGENTS.md §5, pinned by tests/contract/test_stt_protocol.py).# It already emits the classifiable shape, so there is nothing to# gain and a purity contract to lose. Do not "unify" this line.# (Never start a comment line here with ``# type:`` — mypy readsdiff --git a/jarvis/plugins/stt/transcript_filter.py b/jarvis/plugins/stt/transcript_filter.pyindex bead48d20b..c72645974a 100644--- a/jarvis/plugins/stt/transcript_filter.py+++ b/jarvis/plugins/stt/transcript_filter.py@@ -153,7 +153,7 @@ _WORD_RE = re.compile(r"\w+", re.UNICODE)# i18n-allow: the table below is speech-recognition vocabulary — the literal# tokens a matcher must contain to recognise a mis-transcription. Matching-# data, not prose (CLAUDE.md §1, category 3).+# data, not prose (AGENTS.md §1, category 3).#: Known mis-transcriptions, per language. Replacement is whole-word and#: case-insensitive; the replacement inherits nothing from the source casing.@@ -296,7 +296,7 @@ def resolve_language(text: str, language: str | None) -> str | None:So the decision goes through the canonical resolver(:func:`jarvis.core.turn_language.resolve_transcript_language`) — the same- one the dictation lane uses — rather than being re-derived here (CLAUDE.md+ one the dictation lane uses — rather than being re-derived here (AGENTS.md§1: no layer re-derives the language). Fails soft: if that module cannot beimported, the provider's tag is normalised on its own, which is thebehaviour this function replaced.diff --git a/jarvis/plugins/tool/create_artifact.py b/jarvis/plugins/tool/create_artifact.pyindex 348483f613..626a75ab17 100644--- a/jarvis/plugins/tool/create_artifact.py+++ b/jarvis/plugins/tool/create_artifact.py@@ -82,7 +82,7 @@ def _turn_language(ctx: Any, args: dict[str, Any]) -> str:The turn's resolved output language wins (stamped by the tool-use loop via``resolve_output_language``); the brain's own ``language`` guess is next;the ambient answer last. This layer never re-derives a language from the- utterance (CLAUDE.md §2).+ utterance (AGENTS.md §2)."""config = getattr(ctx, "config", None)stamped = ""diff --git a/jarvis/plugins/tool/delegate_to_agent.py b/jarvis/plugins/tool/delegate_to_agent.pyindex a7e2c9a186..fe9606f810 100644--- a/jarvis/plugins/tool/delegate_to_agent.py+++ b/jarvis/plugins/tool/delegate_to_agent.py@@ -101,7 +101,7 @@ def _lang(args: dict[str, Any], ctx: Any) -> str:"""The turn's output language: ``ctx.config["output_language"]`` as thetool-use loop stamps it (decided once per turn by ``turn_language.py``),else a ``turn_language`` argument, else the ambient answer language. This- layer never re-derives a language from the utterance (CLAUDE.md §1)."""+ layer never re-derives a language from the utterance (AGENTS.md §1)."""config = getattr(ctx, "config", None) or {}value = (str(diff --git a/jarvis/plugins/tool/drive_rest.py b/jarvis/plugins/tool/drive_rest.pyindex 60ab423acb..8b5b931f3e 100644--- a/jarvis/plugins/tool/drive_rest.py+++ b/jarvis/plugins/tool/drive_rest.py@@ -34,7 +34,7 @@ log = logging.getLogger(__name__)_DRIVE_BASE = "https://www.googleapis.com/drive/v3"_DRIVE_UPLOAD = "https://www.googleapis.com/upload/drive/v3/files"-# User-facing error strings (English per CLAUDE.md; the brain rephrases to the+# User-facing error strings (English per AGENTS.md; the brain rephrases to the# user's language). Kept distinct so the brain can tell "never connected" from# "was connected, token died — reconnect"._NOT_CONNECTED = "Google Drive is not connected — connect it in the Plugins view."diff --git a/jarvis/plugins/tool/gmail_rest.py b/jarvis/plugins/tool/gmail_rest.pyindex 1847871b84..65f6849191 100644--- a/jarvis/plugins/tool/gmail_rest.py+++ b/jarvis/plugins/tool/gmail_rest.py@@ -22,7 +22,7 @@ log = logging.getLogger(__name__)_GMAIL_BASE = "https://gmail.googleapis.com/gmail/v1/users/me"-# User-facing error strings (English per CLAUDE.md; the brain rephrases to the+# User-facing error strings (English per AGENTS.md; the brain rephrases to the# user's language). Kept distinct so the brain can tell "never connected" from# "was connected, token died — reconnect"._NOT_CONNECTED = "Gmail is not connected — connect it in the Plugins view."diff --git a/jarvis/plugins/tool/google_calendar_rest.py b/jarvis/plugins/tool/google_calendar_rest.pyindex 52ba107377..f8e8b1468c 100644--- a/jarvis/plugins/tool/google_calendar_rest.py+++ b/jarvis/plugins/tool/google_calendar_rest.py@@ -31,7 +31,7 @@ log = logging.getLogger(__name__)_BOT_PATH = Path(__file__).parent / "calendar_bot.mjs"_NODE_TIMEOUT_S = 25.0-# User-facing error strings (English per CLAUDE.md; the brain rephrases to the+# User-facing error strings (English per AGENTS.md; the brain rephrases to the# user's language). Distinct so the brain can tell the failure modes apart._NOT_CONNECTED = ("Google Calendar is not connected — connect it in the Plugins view."diff --git a/jarvis/plugins/tool/profile_update.py b/jarvis/plugins/tool/profile_update.pyindex 83ec16dd6e..fd5c6de558 100644--- a/jarvis/plugins/tool/profile_update.py+++ b/jarvis/plugins/tool/profile_update.py@@ -43,7 +43,7 @@ log = logging.getLogger(__name__)# Canonical field allow-list per cluster. The tool refuses fields outside this# map so the brain cannot write fields the Knowledge matrix never renders (that-# would be silent multi-layer enum drift — BUG-008 class, CLAUDE.md §recurring+# would be silent multi-layer enum drift — BUG-008 class, AGENTS.md §recurring# bugs #2). It must stay BYTE-FOR-BYTE in sync with ProfileView.tsx's# CLUSTER_FIELD_KEYS (the UI is the authority for what is visible). The parity is# pinned by test_profile_update.py::test_canonical_fields_match_matrix_ui.diff --git a/jarvis/plugins/tool/spawn_worker.py b/jarvis/plugins/tool/spawn_worker.pyindex c3b1bd6539..c56cac7ef0 100644--- a/jarvis/plugins/tool/spawn_worker.py+++ b/jarvis/plugins/tool/spawn_worker.py@@ -59,7 +59,7 @@ def _readback_lang(turn_language: str | None) -> str:``resolve_output_language`` — see ``execute``). Only when the turn carriesnone does this fall back to the ambient answer (reply-language pin →default locale); this layer never re-derives a language from the utterance- (CLAUDE.md §1).+ (AGENTS.md §1)."""lang = (turn_language or "").strip().lower()return lang or resolve_ambient_language()diff --git a/jarvis/realtime/session.py b/jarvis/realtime/session.pyindex d6cde4293f..edc5759232 100644--- a/jarvis/realtime/session.py+++ b/jarvis/realtime/session.py@@ -1707,7 +1707,7 @@ _DELEGATE_BRIDGE_TEXTS: dict[str, tuple[str, ...]] = {#: Why the call is ending when NO voice engine could be opened. Carries every#: supported locale, resolved through the session's one language resolver-#: (CLAUDE.md §1 runtime rule 3) — never a de/en-only table and never a+#: (AGENTS.md §1 runtime rule 3) — never a de/en-only table and never a#: per-layer default. Deliberately two distinct causes rather than one generic#: apology: "it did not come up in time" and "it could not be reached" send the#: user to different places, and the whole point of speaking here is that the@@ -1824,7 +1824,7 @@ def _pick_delegate_bridge_text(language: str) -> str:#: abandoned. One short, honest sentence: the user needs to know the work#: stopped, because a silent cancellation is indistinguishable from a session#: that simply ignored them — which is the failure this whole path exists to-#: end. Same locale coverage as every other runtime pool (CLAUDE.md §1).+#: end. Same locale coverage as every other runtime pool (AGENTS.md §1)._INTERRUPT_ACK_TEXTS: dict[str, tuple[str, ...]] = {"de": ( # i18n-allow: localized runtime voice output"Okay, ich habe das gestoppt.", # i18n-allow@@ -3372,7 +3372,7 @@ class RealtimeVoiceSession:utterance it was computed for.Every ``[skills]`` knob travels with it. Reading only some of the- section is a silent config switch (CLAUDE.md §7).+ section is a silent config switch (AGENTS.md §7)."""key = str(text or "").strip()if not key:diff --git a/jarvis/runs/analyzer.py b/jarvis/runs/analyzer.pyindex 5668538928..5ca27aa59f 100644--- a/jarvis/runs/analyzer.py+++ b/jarvis/runs/analyzer.py@@ -47,7 +47,7 @@ from jarvis.sessions.models import VoiceEventRow, VoiceSessionRow# Per-phase SLO budget in ms. Phases not listed have no gate (always SLO_OK).# Budgets mirror the documented voice SLOs: wake->ACK < 1.2s, intent->ACK < 3.0s,-# router decision < 150ms (CLAUDE.md "Optimistic Execution").+# router decision < 150ms (AGENTS.md "Optimistic Execution")._PHASE_SLO_MS: dict[str, float] = {"intent_decision": 150.0,"ack_first_audio": 1200.0,diff --git a/jarvis/safety/explicit_intent.py b/jarvis/safety/explicit_intent.pyindex c0d9c52406..88f3d6c82b 100644--- a/jarvis/safety/explicit_intent.py+++ b/jarvis/safety/explicit_intent.py@@ -11,7 +11,7 @@ mentioned it), the confirmation fires.Deliberately dumb: a word-boundary vocabulary match, no LLM (AP-11 — thesafety path must be deterministic and fast). The vocabulary is speech-input-vocabulary in de/en/es (CLAUDE.md §1 — registered in the german-allowlist);+vocabulary in de/en/es (AGENTS.md §1 — registered in the german-allowlist);it covers DESTRUCTION verbs only. STT-confidence doubts are not thismodule's job: a plausibility-forced confirmation is never skipped (seeToolExecutor).diff --git a/jarvis/screen_context/intent.py b/jarvis/screen_context/intent.pyindex ce9f20cb38..0005b8327e 100644--- a/jarvis/screen_context/intent.py+++ b/jarvis/screen_context/intent.py@@ -13,7 +13,7 @@ call and no network. An LLM classifier here would sit on the voice path (AP-9),and it would make "did it look at my screen, and why?" unanswerable after thefact — ``IntentVerdict.evidence`` exists so that question always has an answer.-**Every supported locale is equal** (CLAUDE.md §1): de, en and es are matched+**Every supported locale is equal** (AGENTS.md §1): de, en and es are matchedsimultaneously rather than selected by the session locale, because a bilingualuser mixes them inside one sentence and a locale-gated matcher would go deaf onthe half it did not pick. Adding a locale is a data entry below, not code.@@ -194,7 +194,7 @@ _END = r"\s*(?:$|[.?!;:])"# Filler particles a spoken deictic may trail before the clause ends. These are# the only tokens allowed between the pronoun and the end — anything else makes-# it a determiner. Matching data, not prose (CLAUDE.md §1 category 3).+# it a determiner. Matching data, not prose (AGENTS.md §1 category 3)._EN_TAIL = r"(?:\s+(?:then|exactly|now|again|here|there|really))*"_DE_TAIL = ( # i18n-allow: German speech-input matching datar"(?:\s+(?:denn|eigentlich|jetzt|gerade|genau|nochmal|noch\s+mal"@@ -670,7 +670,7 @@ def classify(text: str, *, locale: str = "") -> IntentVerdict:# One entry per supported locale, keyed by the BCP-47 base tag. Adding a locale# means adding a line here AND to the matcher above — never a de/en-only table-# (CLAUDE.md §1.3). The phrasing is deliberately a yes/no question about+# (AGENTS.md §1.3). The phrasing is deliberately a yes/no question about# looking, so a bare "yes" in the next turn is a complete answer.# i18n-allow: this IS the runtime multilingual product surface (§1 category 1)_CLARIFY_QUESTION: dict[str, str] = {diff --git a/jarvis/screen_context/service.py b/jarvis/screen_context/service.pyindex 84cf2585aa..bad8ae3954 100644--- a/jarvis/screen_context/service.py+++ b/jarvis/screen_context/service.py@@ -301,7 +301,7 @@ class ScreenContextService:``locale`` must be the ALREADY-RESOLVED output language for this turn(``jarvis.core.turn_language.resolve_output_language``). This servicenever derives a language itself — a second derivation is exactly the- mid-session language flip CLAUDE.md §1.3 forbids.+ mid-session language flip AGENTS.md §1.3 forbids.``force`` skips classification for callers that are not a conversationturn (the REST endpoint, an explicit bar button). It never skipsdiff --git a/jarvis/screen_context/turn.py b/jarvis/screen_context/turn.pyindex eab4f1e239..1e40188c84 100644--- a/jarvis/screen_context/turn.py+++ b/jarvis/screen_context/turn.py@@ -235,7 +235,7 @@ async def screen_context_for_turn(``locale`` must already be resolved via``jarvis.core.turn_language.resolve_output_language`` — this function neverderives a language, so a clarifying question cannot flip the conversation's- language mid-session (CLAUDE.md §1.3).+ language mid-session (AGENTS.md §1.3).An appshot waiting for the next message (``jarvis.appshot``) is thisturn's picture, unless the utterance asks for a fresh appshot. Automateddiff --git a/jarvis/screen_context/uitext.py b/jarvis/screen_context/uitext.pyindex 052acb7c3d..466d97b638 100644--- a/jarvis/screen_context/uitext.py+++ b/jarvis/screen_context/uitext.py@@ -14,7 +14,7 @@ OCR therefore runs only when all three hold simultaneously:* a backend is actually installed.That last condition is why OCR is not a dependency. The base install stays-torch-free (CLAUDE.md §3), so this module *probes* for a backend and degrades+torch-free (AGENTS.md §3), so this module *probes* for a backend and degradeswith a named reason when there is none — it never pulls one in."""from __future__ import annotationsdiff --git a/jarvis/sessions/models.py b/jarvis/sessions/models.pyindex 82f1ea1f10..b8464d8319 100644--- a/jarvis/sessions/models.py+++ b/jarvis/sessions/models.py@@ -66,7 +66,7 @@ KNOWN_VOICE_TIERS: frozenset[str] = frozenset("realtime",})-"""Routing tier as in CLAUDE.md `Brain-Routing` and `Router-Discipline`."""+"""Routing tier as in AGENTS.md `Brain-Routing` and `Router-Discipline`."""VoiceTier: TypeAlias = str"""Open string so a future routing tier cannot break session APIs."""diff --git a/jarvis/setup/model_report.py b/jarvis/setup/model_report.pyindex beb0d01e30..21ef7a85af 100644--- a/jarvis/setup/model_report.py+++ b/jarvis/setup/model_report.py@@ -6,7 +6,7 @@ check) can print a per-model truth instead of a flat "all models are on disk".It answers the only question that matters to a fresh downloader: *is the thingreally here, and if not, why?*-Design contract (CLAUDE.md section 3 — a flaky probe must never brick an+Design contract (AGENTS.md section 3 — a flaky probe must never brick aninstall):- **Read-only + best-effort.** Every probe is wrapped so a failure reads asdiff --git a/jarvis/setup/prefetch.py b/jarvis/setup/prefetch.pyindex a5b73f2bc7..74b21d0d26 100644--- a/jarvis/setup/prefetch.py+++ b/jarvis/setup/prefetch.py@@ -8,7 +8,7 @@ models are needed.Every step is best-effort: a failed download prints an honest note and theruntime's lazy download remains the safety net — a flaky mirror must never-brick an install (CLAUDE.md section 3). Works headless: no audio device,+brick an install (AGENTS.md section 3). Works headless: no audio device,GPU, or keyring is touched, only the on-disk model caches."""from __future__ import annotationsdiff --git a/jarvis/skills/builtin/jarvis-doc-author/SKILL.md b/jarvis/skills/builtin/jarvis-doc-author/SKILL.mdindex 86d1ea7b88..cf9448be0d 100644--- a/jarvis/skills/builtin/jarvis-doc-author/SKILL.md+++ b/jarvis/skills/builtin/jarvis-doc-author/SKILL.md@@ -69,7 +69,7 @@ Sub-Jarvis explicitly or implicitly wants to write a **new doc** orDo NOT trigger on:-- Code comments, docstrings, type hints — those follow the CLAUDE.md rule+- Code comments, docstrings, type hints — those follow the AGENTS.md rule(code identifiers in English), but need no doc scaffold.- Commit messages and PR descriptions — those are build artifacts.- Memory entries — the ``auto-memory`` is responsible for those.@@ -197,7 +197,7 @@ Before the file is written, go through the quality checklist from7. **What's next ≤ 5 bullets**: Does the footer block respect the K8s cap?8. **Verification section in how-tos**: Concrete pytest command,concrete log marker, concrete Computer-Use step? (Verify-before-ship- mandate from CLAUDE.md.)+ mandate from AGENTS.md.)9. **No TODO/FIXME/TBD in the body** when ``status: active``? If it is a stub:``status: draft`` in the frontmatter and mark it in the body.diff --git a/jarvis/skills/builtin/jarvis-doc-author/references/templates.md b/jarvis/skills/builtin/jarvis-doc-author/references/templates.mdindex 0ea4a57ca7..1b6c986c41 100644--- a/jarvis/skills/builtin/jarvis-doc-author/references/templates.md+++ b/jarvis/skills/builtin/jarvis-doc-author/references/templates.md@@ -116,7 +116,7 @@ related:## Verification # REQUIRED<Concrete test confirming the steps succeeded. Verify-before-ship-mandate from CLAUDE.md §0.>+mandate from AGENTS.md §0.>```bashpytest tests/<file>::<test_name>@@ -393,7 +393,7 @@ demand it in agreement, it is here — everything else is taste.— STT OK after that.10. **Consistent terminology.** One concept = one word. "Skill" OR"Plugin", not both for the same thing. If the term is already taken in- Jarvis (see master plan / CLAUDE.md), adopt it.+ Jarvis (see master plan / AGENTS.md), adopt it.**Bonus mandate for Jarvis** (not in the external style guides, derivedfrom user preferences in MEMORY.md):@@ -401,7 +401,7 @@ from user preferences in MEMORY.md):- **Code identifiers in English, prose in English.** "The ``BrainManager`` buildsa smart fallback chain." Not: "Der Hirn-Verwalter..." (Germanizingidentifiers is forbidden). All doc prose is English per the output-language- policy in ``CLAUDE.md``.+ policy in ``AGENTS.md``.---@@ -428,7 +428,7 @@ mandates):| ID | Anti-pattern | Why it's bad ||---|---|---|-| **AP-J-1** | **How-to without a verification section** | Violates the verify-before-ship mandate (CLAUDE.md §0). The doc delivers steps but no test. |+| **AP-J-1** | **How-to without a verification section** | Violates the verify-before-ship mandate (AGENTS.md §0). The doc delivers steps but no test. || **AP-J-2** | **Germanized code identifier** ("der Hirn-Verwalter" instead of ``BrainManager``) | Breaks the user preference. Identifiers are standard Python English. || **AP-J-3** | **Voice example without a language tag** ("Jarvis, mach X" — without a hint whether DE or EN) | Bilingual default means both are equivalent — the example must be clearly attributed. || **AP-J-4** | **TODO/FIXME/TBD in the body when ``status: active``** | If it's a stub: ``status: draft`` in the frontmatter — otherwise the status lies. |diff --git a/jarvis/skills/relevance.py b/jarvis/skills/relevance.pyindex a707e36460..d0291bbb43 100644--- a/jarvis/skills/relevance.py+++ b/jarvis/skills/relevance.py@@ -245,7 +245,7 @@ def normalize_text(text: str) -> str:#: Cyrillic, Greek, Hebrew, Arabic or CJK, so every fuzzy name lookup below#: failed closed for those scripts and a skill authored by voice in such a#: language was reachable only by its exact key — the very BUG-158 failure,-#: left open for most of the world. All locales are equal (CLAUDE.md §1).+#: left open for most of the world. All locales are equal (AGENTS.md §1)._NAME_TOKEN_RE = re.compile(r"[^\W_]+", re.UNICODE)diff --git a/jarvis/society/README.md b/jarvis/society/README.mdindex 9b25c95fc4..f441f4d5e5 100644--- a/jarvis/society/README.md+++ b/jarvis/society/README.md@@ -35,7 +35,7 @@ live under the scheduler and the voice router tool (M4) are not.REST: `jarvis/ui/web/society_routes.py` (`/api/society/…`, dynamic CLI `jarvis api society …`).Contract test: `tests/contract/test_society_substrate.py`. Unit tests: `tests/unit/society/`.-Rules that bind everything here (see CLAUDE.md):+Rules that bind everything here (see AGENTS.md):- Nothing initializes on the boot critical path (AP-26): the runtime is built on the firstREST call or chat binding.diff --git a/jarvis/speech/interrupt_intent.py b/jarvis/speech/interrupt_intent.pyindex a353723852..334b671ed8 100644--- a/jarvis/speech/interrupt_intent.py+++ b/jarvis/speech/interrupt_intent.py@@ -23,7 +23,7 @@ Design rulesmodel call here would add exactly the latency barge-in exists to remove(AP-9/AP-11), and prompt compliance is not a correctness boundary(BUG-047 class rule).-* **Every locale equal** (CLAUDE.md §1). German, English and Spanish carry the+* **Every locale equal** (AGENTS.md §1). German, English and Spanish carry thesame vocabulary depth; adding a locale means adding its tokens, neverspecial-casing a "default" language.* **Whole-utterance anchored.** A stop token only counts at the START of thediff --git a/jarvis/speech/local_install.py b/jarvis/speech/local_install.pyindex a77cc1936d..8545547743 100644--- a/jarvis/speech/local_install.py+++ b/jarvis/speech/local_install.py@@ -1,6 +1,6 @@"""In-app installation of the optional local speech engines and their models.-CLAUDE.md section 3 is explicit that a capability must be recoverable from+AGENTS.md section 3 is explicit that a capability must be recoverable fromINSIDE the app: entering, switching or repairing a provider may never requirehand-editing ``jarvis.toml`` or dropping to a shell. A local provider makes thatconcrete — it needs a pip package and a multi-gigabyte model download before itdiff --git a/jarvis/speech/local_models.py b/jarvis/speech/local_models.pyindex 1235b77d89..22b3f1f611 100644--- a/jarvis/speech/local_models.py+++ b/jarvis/speech/local_models.py@@ -15,7 +15,7 @@ independent facts a local path needs:* **engine** — is the inference runtime importable in THIS interpreter(``faster_whisper`` / ``sherpa_onnx``)? Both are opt-in extras the cloud-first- base install deliberately omits (CLAUDE.md section 3), so on a fresh install+ base install deliberately omits (AGENTS.md section 3), so on a fresh installthe honest answer is "no".* **model** — are the weights on disk? An installed engine with no weights isnot readiness; it is a download away from it, and saying so is the whole@@ -490,7 +490,7 @@ WHISPER_VOICE_MODEL = "large-v3"#: pip requirement for the CTranslate2-backed Whisper engine. Torch-free,#: cross-platform wheels; the cloud-first base install omits it on purpose-#: (CLAUDE.md section 3), which is why it can be installed from inside the app.+#: (AGENTS.md section 3), which is why it can be installed from inside the app.FASTER_WHISPER_PACKAGE = "faster-whisper>=1.0"#: pip requirement for the ONNX-Runtime speech stack (Apache-2.0, torch-free,diff --git a/jarvis/speech/pipeline.py b/jarvis/speech/pipeline.pyindex d35ad45c7a..ffa0de5f3b 100644--- a/jarvis/speech/pipeline.py+++ b/jarvis/speech/pipeline.py@@ -494,7 +494,7 @@ _REALTIME_UNAVAILABLE_PHRASE: dict[str, str] = {# Honest, cause-aware messaging (live complaint 2026-06-30). The old single# phrase ("Sorry, I couldn't finish the answer in time.") explained NOTHING:# a slow MCP/plugin tool hung ~35 s, the turn timed out, and Jarvis apologised-# for "taking too long" with no reason. Honesty over guessing (CLAUDE.md §1.4):+# for "taking too long" with no reason. Honesty over guessing (AGENTS.md §1.4):# • TOOL-STALL — the turn was beheaded mid-tool-loop (no first audio frame,# i.e. the assistant was blocked waiting on a tool/stage that never# returned) OR a desktop (computer_use) tool was demonstrably active when@@ -506,7 +506,7 @@ _REALTIME_UNAVAILABLE_PHRASE: dict[str, str] = {# Both are short, TTS-clean (``_speak`` does not scrub — no em-dash, two short# sentences), and carry all supported locales (de/en/es). String-only: NO LLM# call in this timeout/scrub path (AP-11). Resolved through the ONE output--# language decision via ``_resolve_timeout_phrase`` below (CLAUDE.md §1 — no+# language decision via ``_resolve_timeout_phrase`` below (AGENTS.md §1 — no# per-layer language re-derivation)._TIMEOUT_TOOL_STALL_PHRASE: dict[str, str] = {"de": (@@ -594,7 +594,7 @@ def _resolve_timeout_phrase(site: str, lang: str, *, tool_active: bool) -> str:"""Pick the honest, cause-aware timeout phrase for ``site``.Resolves language through the ONE shared decision (``_phrase_lang``) — never- a per-layer re-derivation (CLAUDE.md §1). String-only, no LLM call (AP-11).+ a per-layer re-derivation (AGENTS.md §1). String-only, no LLM call (AP-11).Names a tool cause when the turn was beheaded mid-tool-loop (no first frame)or a desktop tool was active; otherwise honestly admits no answer was found."""@@ -1150,7 +1150,7 @@ def resolve_dictation_language(*, pinned: str, reported: str, text: str) -> str:text while the setting said the cleanup was on.Everything resolves through the canonical resolver's helpers — no layer- invents its own detection (CLAUDE.md §1).+ invents its own detection (AGENTS.md §1)."""pin = str(pinned or "").strip().lower()if pin not in ("", "auto"):@@ -1161,7 +1161,7 @@ def resolve_dictation_language(*, pinned: str, reported: str, text: str) -> str:# Points 2 and 3 above live in the canonical resolver, which the voice# lane's transcript filter reads too — one decision, not two copies- # that drift the first time either is touched (CLAUDE.md §1).+ # that drift the first time either is touched (AGENTS.md §1).code = resolve_transcript_language(tag, text)if code != "unknown":if code != normalize_language_tag(tag):@@ -10729,7 +10729,7 @@ class SpeechPipeline:**Every refusal is announced**, not just logged: each one publishes a``DictationRefused`` carrying a stable reason token and a finishedEnglish sentence. Before that, a refused shortcut produced a- ``log.info`` in a file the desktop app cannot display (CLAUDE.md §9), so+ ``log.info`` in a file the desktop app cannot display (AGENTS.md §9), sothe key simply did nothing and the user had no way to learn why. Theboolean return is unchanged, so every existing caller (hotkey edge, WShandler, REST route) keeps working; ``True`` from the handover path@@ -15416,7 +15416,7 @@ class SpeechPipeline:self._buffer_is_complete = Trueself._schedule_completion_timeout(lang, is_complete=True)return None- # Precision-over-recall + latency doctrine (CLAUDE.md intent→ACK+ # Precision-over-recall + latency doctrine (AGENTS.md intent→ACK# budget): a COMPLETE utterance goes STRAIGHT to the brain — no# buffering, no grace-hold, no added latency. completion.py's own# contract is "a complete prompt must NEVER be held back".@@ -16343,7 +16343,7 @@ class SpeechPipeline:returncleaned = scrubbed.cleaned.strip()if not cleaned:- # Never swallow output silently (CLAUDE.md §7): the answer+ # Never swallow output silently (AGENTS.md §7): the answer# loses a clause here, so the drop has to be visible.dropped_sentences.append(sentence)log.warning(@@ -17482,7 +17482,7 @@ class SpeechPipeline:English text drove the whole chain English because the pipelinere-derived language from text/STT alone). ``auto``/unset mirrors thedetected input language. Single source for the whole pipeline, per- CLAUDE.md "Runtime Output Language". The live pin lives on the+ AGENTS.md "Runtime Output Language". The live pin lives on theBrainManager (hot-reloaded via ``set_reply_language``); the config isonly consulted when the brain callback does not expose the pin (tests /mock brains).diff --git a/jarvis/speech/stt_dictionary.py b/jarvis/speech/stt_dictionary.pyindex 951fb7111c..5788ff0aa8 100644--- a/jarvis/speech/stt_dictionary.py+++ b/jarvis/speech/stt_dictionary.py@@ -22,7 +22,7 @@ fivefold "Agentic IDE" on ``text`` into one, which passes for a sentence, whilethe dictation lane transcribes from ``raw_text``, where all five still stand(BUG-185, second landing 2026-08-27).-Design constraints (see the plan file and CLAUDE.md):+Design constraints (see the plan file and AGENTS.md):- Pure string ops — regex + a bounded edit distance. NO LLM call, NO network:this runs on the voice hot path for every utterance (AP-11 doctrine).diff --git a/jarvis/telemetry/latency.py b/jarvis/telemetry/latency.pyindex af5fdba344..6fc7554bb6 100644--- a/jarvis/telemetry/latency.py+++ b/jarvis/telemetry/latency.py@@ -1,6 +1,6 @@"""Latency instrumentation for the voice hot path (Wave 0 — omni-latency suite).-Design constraints (CLAUDE.md AP-9 / AP-18):+Design constraints (AGENTS.md AP-9 / AP-18):* ``perf_counter`` marks are free; emission is fire-and-forget on the EventBusso the hot path never ``await``s telemetry.* A disabled tracker is a near-zero no-op (guarded before any allocation).diff --git a/jarvis/telemetry/latency_log.py b/jarvis/telemetry/latency_log.pyindex fb7b09a4c0..eeac8fb6a7 100644--- a/jarvis/telemetry/latency_log.py+++ b/jarvis/telemetry/latency_log.py@@ -6,7 +6,7 @@ wall clock + monotonic), every stage offset that was marked, derived metrics(TTFW, total), and best-effort context fields (token counts, audio length, TTSchar count).-Design constraints (mirrors AP-9 / AP-18 from CLAUDE.md):+Design constraints (mirrors AP-9 / AP-18 from AGENTS.md):* Subscriber callback never blocks: write is enqueued, flushed in a daemonthread. The hot path returns instantly.* Stdlib only — runs unchanged on the €5/month VPS doctrine.diff --git a/jarvis/tools/latency_report.py b/jarvis/tools/latency_report.pyindex 18e9efe8a9..92ec98553d 100644--- a/jarvis/tools/latency_report.py+++ b/jarvis/tools/latency_report.py@@ -98,7 +98,7 @@ class Aggregation:def main(argv: list[str] | None = None) -> int:"""Entry point — returns an exit code."""- # CLAUDE.md "Windows specifics": new CLI modules must reconfigure stdout+ # AGENTS.md "Windows specifics": new CLI modules must reconfigure stdout# to UTF-8 or stick to ASCII. The report uses → and · so UTF-8 is needed.# ``reconfigure`` is a no-op on POSIX where stdout is already utf-8.with contextlib.suppress(AttributeError, ValueError):diff --git a/jarvis/ui/web/agentic_ide_routes.py b/jarvis/ui/web/agentic_ide_routes.pyindex 5d090a9514..83575f49c8 100644--- a/jarvis/ui/web/agentic_ide_routes.py+++ b/jarvis/ui/web/agentic_ide_routes.py@@ -4848,7 +4848,7 @@ def _tool_model_option() -> PromptWriterOption:)# Plain ASCII separator: this label is rendered in the desktop UI but also# printed by `jarvis api agentic-ide prompt-writer`, and a terminal's- # encoding is not ours to assume (CLAUDE.md §5, Windows defaults to cp1252).+ # encoding is not ours to assume (AGENTS.md §5, Windows defaults to cp1252).detail = f"{_provider_label(provider)}"if model:detail = f"{detail} - {model}"diff --git a/jarvis/ui/web/chat_library_routes.py b/jarvis/ui/web/chat_library_routes.pyindex 154a1354fc..defe67dd8d 100644--- a/jarvis/ui/web/chat_library_routes.py+++ b/jarvis/ui/web/chat_library_routes.py@@ -24,7 +24,7 @@ agent, a timestamp and a one-line preview; opening the conversation is aseparate call against the coding CLI's own transcript. So this router has noBrain dependency, no session dependency and no filesystem cost beyond a fewsmall JSON reads — it works headless and on a fresh install with no keys at all-(CLAUDE.md §3).+(AGENTS.md §3).``exists`` on a project is reported rather than acted on. A folder can bemissing because an external drive is unplugged or a network share is late, anddiff --git a/jarvis/ui/web/dictation_routes.py b/jarvis/ui/web/dictation_routes.pyindex a16b39e420..7ff7040cce 100644--- a/jarvis/ui/web/dictation_routes.py+++ b/jarvis/ui/web/dictation_routes.py@@ -24,7 +24,7 @@ sidecar with them — a "deleted" dictation the app still holds a recording ofwould be a quiet lie.Why REST and not only the WebSocket command the chat mic button uses: under the-CLI-first contract (CLAUDE.md §5) a capability that exists only in the UI is not+CLI-first contract (AGENTS.md §5) a capability that exists only in the UI is notfinished. Mounting this router also makes every action a``jarvis api dictation <op>`` command for free — and *that* is the documentedfallback on Wayland, where the compositor owns global shortcuts and the app@@ -406,7 +406,7 @@ class StartBody(BaseModel):description=(# No assistant name here on purpose: this description is served in# /docs and in the generated CLI help, and a user-visible string- # never carries a fixed brand (CLAUDE.md §4). The sentence is about+ # never carries a fixed brand (AGENTS.md §4). The sentence is about# this app's own window, so it needs no name at all."auto = follow [dictation].target (insert, unless this app's own ""window is the one in front); insert = always paste into the app "diff --git a/jarvis/ui/web/dictionary_routes.py b/jarvis/ui/web/dictionary_routes.pyindex b32f46e0a8..65e386395c 100644--- a/jarvis/ui/web/dictionary_routes.py+++ b/jarvis/ui/web/dictionary_routes.py@@ -13,7 +13,7 @@ An entry is one canonical ``word`` plus optional ``misheard`` variants — seecorrector live-reloads on file change), so no restart is required.Like the Contacts/Socials endpoints this router has **no Brain dependency**,-so it works headless / with MockBrain (open-source universality, CLAUDE.md §3).+so it works headless / with MockBrain (open-source universality, AGENTS.md §3)."""from __future__ import annotationsdiff --git a/jarvis/ui/web/screen_context_routes.py b/jarvis/ui/web/screen_context_routes.pyindex bb0291b233..0d33f8a4d4 100644--- a/jarvis/ui/web/screen_context_routes.py+++ b/jarvis/ui/web/screen_context_routes.py@@ -12,7 +12,7 @@ Endpoints (mounted by the WebServer in ``_build_app()``):PUT /api/screen-context/settings → change one or more keys.Why REST and not only an internal service: under the CLI-first contract-(CLAUDE.md §5) a capability that exists only inside the voice path is not+(AGENTS.md §5) a capability that exists only inside the voice path is notfinished. Mounting this router makes every action a``jarvis api screen-context <op>`` command, which is also how the feature isverified on a machine with no display — ``status`` answers honestly instead ofdiff --git a/jarvis/ui/web/server.py b/jarvis/ui/web/server.pyindex 9761adfa12..b032d8adc9 100644--- a/jarvis/ui/web/server.py+++ b/jarvis/ui/web/server.py@@ -473,7 +473,7 @@ class WebServer:# jarvis/ui/web/update_routes.py; refuses to self-reset a dev checkout.app.include_router(update_router)# Share-safe cross-device setup report (read-only) — names why THIS- # install behaves differently from another device (CLAUDE.md §3 triage).+ # install behaves differently from another device (AGENTS.md §3 triage).app.include_router(setup_report_router)# Starter plans + the one-time "all set" readiness note.app.include_router(starter_plan_router)diff --git a/jarvis/ui/web/settings_routes.py b/jarvis/ui/web/settings_routes.pyindex 9f8f2f576d..713732948f 100644--- a/jarvis/ui/web/settings_routes.py+++ b/jarvis/ui/web/settings_routes.py@@ -597,7 +597,7 @@ async def put_ui_language(body: UiLanguageBody, request: Request) -> dict[str, o# painted from config BEFORE the web view loads anything (a light app inside a# black frame is visible for the whole boot), the choice must survive a cleared# web store, and every user-facing action in this project ships as a REST route-# so it becomes a `jarvis api settings ...` command (CLAUDE.md §5, CLI-first).+# so it becomes a `jarvis api settings ...` command (AGENTS.md §5, CLI-first).## "system" is stored as intent, not as a resolved value: the frontend re-reads# the OS preference live, so flipping the OS theme flips the app with it.@@ -839,7 +839,7 @@ def put_music_settings(body: MusicSettingsBody, request: Request) -> dict[str, o# The accepted set is EVERY language the recogniser understands, shared with# dictation through one constant (AP-4): what Jarvis can hear is a wider question# than the three locales it speaks back in, and capping it at those three locked-# out every other speaker on earth (CLAUDE.md §3).+# out every other speaker on earth (AGENTS.md §3).# ----------------------------------------------------------------------_STT_LANGUAGES: tuple[str, ...] = RECOGNITION_LANGUAGE_CHOICES@@ -1169,7 +1169,7 @@ def _local_speech_ready() -> bool:# ``faster-whisper`` powers the ``stt_match`` wake path — the ONLY local way to# detect an arbitrary, user-invented wake phrase. It is a torch-FREE opt-in# package (ctranslate2 CPU wheels, cross-platform) that the cloud-first base-# install deliberately omits (CLAUDE.md §3). Historically it was dropped from+# install deliberately omits (AGENTS.md §3). Historically it was dropped from# every extra (2026-05-18, "Groq Whisper API is the new default"), so a fresh# install could not use a custom wake word at all and silently degraded to the# bundled "Hey Rhasspy" model. This endpoint pulls the package from INSIDE the@@ -1543,7 +1543,7 @@ def set_wake_activation(body: WakeActivationBody, request: Request) -> dict[str,async def download_wake_model(request: Request) -> dict[str, object]:"""Provision (or repair) the per-language Vosk wake model in-app.- Recoverable-in-app contract (CLAUDE.md §3): a user whose Vosk model is+ Recoverable-in-app contract (AGENTS.md §3): a user whose Vosk model isabsent/dead gets a working reliable wake engine without editing jarvis.toml.Never 500s on a fetch failure — returns a clear message and the runtime lazynet (``_heavy_backend_bg``'s one-shot provision) remains the backstop.diff --git a/jarvis/ui/web/setup_report_routes.py b/jarvis/ui/web/setup_report_routes.pyindex 033870fa7c..01533713d9 100644--- a/jarvis/ui/web/setup_report_routes.py+++ b/jarvis/ui/web/setup_report_routes.py@@ -1,6 +1,6 @@"""Cross-device setup report — makes "why is THIS install different?" a 2-minute read.-The most expensive cross-device misdiagnosis (CLAUDE.md §3, device-parity+The most expensive cross-device misdiagnosis (AGENTS.md §3, device-paritytriage ritual): a feature "missing" on a second machine is usually not a codebug but an invisible setup difference — a key that exists only on the dev box,a tier that quietly crossed to a fallback family, a wake word never set.diff --git a/jarvis/ui/web/workspace_clis_routes.py b/jarvis/ui/web/workspace_clis_routes.pyindex 904ab16986..1b9a1ba84c 100644--- a/jarvis/ui/web/workspace_clis_routes.py+++ b/jarvis/ui/web/workspace_clis_routes.py@@ -15,7 +15,7 @@ Mount alongside the other routers::this app will start in a terminal. That is exactly what the user is asking forwhen they type it into the form themselves — and exactly what must not happenbecause a model decided it would be helpful. The metadata keeps the generated-CLI and the tool broker asking first (CLAUDE.md §5, AP-14).+CLI and the tool broker asking first (AGENTS.md §5, AP-14)."""from __future__ import annotationsdiff --git a/jarvis/voice/action_phrases.py b/jarvis/voice/action_phrases.pyindex d71fbac7ff..7fdedf5255 100644--- a/jarvis/voice/action_phrases.py+++ b/jarvis/voice/action_phrases.py@@ -720,7 +720,7 @@ def resolve_ambient_language() -> str:no user utterance to detect a language from, so the ONE resolver is fed theonly honest inputs there are: the explicit ``brain.reply_language`` pin, andotherwise ``DEFAULT_LOCALE``. This layer never guesses beyond that- (CLAUDE.md §1 — one resolver decides, no layer re-derives). Mirrors+ (AGENTS.md §1 — one resolver decides, no layer re-derives). Mirrors``jarvis/cu/indicator/controller.py::_resolve_hint_language``, which needsthe same answer for the same reason."""@@ -929,7 +929,7 @@ def _is_speakable_observation(text: str | None) -> bool:#: Failure families OUR OWN tools emit, mapped to a spoken sentence per-#: language. Tool error strings are English by contract (CLAUDE.md §1: the+#: language. Tool error strings are English by contract (AGENTS.md §1: the#: model rephrases them for the user), but the rephrasing model is not always#: there — no ``[ack_brain]`` provider, a dead key, an exhausted quota, the#: breaker open. Live 2026-08-20: the Gemini flash slot answered 404 (stalediff --git a/jarvis/voice/config_readback.py b/jarvis/voice/config_readback.pyindex 34de6510a3..773b7c80ad 100644--- a/jarvis/voice/config_readback.py+++ b/jarvis/voice/config_readback.py@@ -7,7 +7,7 @@ brain must never freely phrase "done" for a change that was refused or rolledback (the maintainer's original ask: "don't confirm something that wasn't done").This renders that line directly from the ``set_config_value`` tool result, in-de/en/es (every supported language — CLAUDE.md "Runtime Output Language"). It is+de/en/es (every supported language — AGENTS.md "Runtime Output Language"). It isseparate from ``echo_confirmation.format_outcome`` (the two-turn confirm flow)because the failure results here carry no ``PendingMutation``, only an``error_kind``.diff --git a/jarvis/voice/instant_ack.py b/jarvis/voice/instant_ack.pyindex 8dfce29b52..eba4dee381 100644--- a/jarvis/voice/instant_ack.py+++ b/jarvis/voice/instant_ack.py@@ -32,7 +32,7 @@ Design constraints, each of which killed an earlier attempt:canned "On it." — so the ACTION pool is deliberately empty and the classis marked ``contextual``.-German/Spanish strings below are runtime voice output (CLAUDE.md §1).+German/Spanish strings below are runtime voice output (AGENTS.md §1)."""from __future__ import annotations@@ -209,7 +209,7 @@ _POOLS: dict[WorkClass, dict[str, tuple[str, ...]]] = {),},# ``{agent}`` is the wake-word-derived agent brand ("<Name>-Agent"),- # rendered by the caller — never a hardcoded product name (CLAUDE.md §4).+ # rendered by the caller — never a hardcoded product name (AGENTS.md §4).WorkClass.MISSION: {"de": ( # i18n-allow: localized runtime voice output"Das gebe ich einem {agent} weiter.", # i18n-allowdiff --git a/jarvis/voice/parked_results.py b/jarvis/voice/parked_results.pyindex 91bc0cedb9..b0f69f5770 100644--- a/jarvis/voice/parked_results.py+++ b/jarvis/voice/parked_results.py@@ -16,7 +16,7 @@ module is the ONE vocabulary both voice engines and the text surfaces share:abandons by name.* :func:`classify_wait_query` — the closed multilingual vocabulary for thetwo things a user says INTO a wait: "how far are you?" (progress) and "what- came out of it?" (result). Regex only, every locale equal (CLAUDE.md §1),+ came out of it?" (result). Regex only, every locale equal (AGENTS.md §1),a miss stays native.* :func:`reanchor` — the short spoken/written prefix that ties a resultdelivered after other exchanges back to the request it answers.diff --git a/jarvis/voice/tool_confirmation.py b/jarvis/voice/tool_confirmation.pyindex 3aa0289f1f..ef934f0855 100644--- a/jarvis/voice/tool_confirmation.py+++ b/jarvis/voice/tool_confirmation.py@@ -14,7 +14,7 @@ response``) resolves it on turn N+1. This module owns only the deterministicPHRASING — no LLM call (AP-11), no I/O. The yes/no classifier is shared with theself-mod flow (``jarvis.voice.echo_confirmation``).-Runtime Output Language doctrine (CLAUDE.md): every spoken phrase table carries+Runtime Output Language doctrine (AGENTS.md): every spoken phrase table carriesde / en / es; an unrecognised tag resolves through ``DEFAULT_LOCALE`` — never anempty string (AD-OE6 zero-silent-drop), never a per-layer hardcoded constant."""diff --git a/jarvis/workflows/seed.py b/jarvis/workflows/seed.pyindex 0350942554..e2b564f6d1 100644--- a/jarvis/workflows/seed.py+++ b/jarvis/workflows/seed.py@@ -57,7 +57,7 @@ def _morning_briefing() -> WorkflowDef:Language is NOT pinned here: the prompt asks for the configured outputlanguage and the speak step passes ``auto``, so the one resolver decides- (CLAUDE.md §1). The seed used to hardcode German for everyone.+ (AGENTS.md §1). The seed used to hardcode German for everyone.Version 2 (BUG-212): the first seed asked for "a short, friendly morningannouncement" and got exactly that — a greeting and a motivationaldiff --git a/scripts/ci/_german_detect.py b/scripts/ci/_german_detect.pyindex 6e3783576f..4b335508fc 100644--- a/scripts/ci/_german_detect.py+++ b/scripts/ci/_german_detect.py@@ -1,7 +1,7 @@#!/usr/bin/env python3"""German-text heuristic shared by the CI language-policy gate.-The repo's Output Language Policy (CLAUDE.md, HIGHEST PRIORITY) requires every+The repo's Output Language Policy (AGENTS.md, HIGHEST PRIORITY) requires everycommitted artifact to be English. This module provides ``looks_german`` — alightweight, dependency-free heuristic the ``check_no_new_german`` gate runs overnewly added diff lines.diff --git a/scripts/ci/agent_integrate.py b/scripts/ci/agent_integrate.pyindex 363bc3d4f0..0e9e36b564 100644--- a/scripts/ci/agent_integrate.py+++ b/scripts/ci/agent_integrate.py@@ -11,8 +11,8 @@ This is the engine behind both halves of agent integration:Conflicts are resolved by file class, cheapest first:-1. **Generated files** (frontend ``dist/``, the AGENTS.md / .agents / .codex- mirrors, the CLI reference docs, lockfiles, timing caches): take main's+1. **Generated files** (frontend ``dist/``, the .claude / .codex copies of+ .agents, the CLI reference docs, lockfiles, timing caches): take main'scopy, then REGENERATE from the merged sources. A hand-merge of generatedoutput is always wrong; a regeneration is always right.2. **Append-only files** (CHANGELOG.md, allowlists, .gitignore): a union@@ -52,8 +52,10 @@ FRONTEND = "jarvis/ui/web/frontend"# (glob, regenerator key). Main's copy is taken, then the key regenerates it.GENERATED: tuple[tuple[str, str], ...] = (("jarvis/ui/web/dist/*", "frontend-build"),- ("AGENTS.md", "mirrors"),- (".agents/*", "mirrors"),+ # AGENTS.md and .agents/ are hand-written sources, never taken from main.+ (".claude/agents/*", "mirrors"),+ (".claude/commands/*", "mirrors"),+ (".claude/skills/*", "mirrors"),(".codex/agents/*", "mirrors"),("docs/jarvis-cli-reference.md", "reference-docs"),("docs/commands-reference.md", "reference-docs"),@@ -193,7 +195,6 @@ def regenerate(keys: set[str], cwd: Path) -> list[str]:py = sys.executablecommands: dict[str, list[list[str]]] = {"mirrors": [- [py, "scripts/ci/sync_agents_md.py"],[py, "scripts/ci/sync_agents_dir.py"],[py, "scripts/ci/sync_codex_agents.py"],],diff --git a/scripts/ci/check_agents_md.py b/scripts/ci/check_agents_md.pynew file mode 100644index 0000000000..4b2f4411d1--- /dev/null+++ b/scripts/ci/check_agents_md.py@@ -0,0 +1,95 @@+#!/usr/bin/env python3+"""Keep ``AGENTS.md`` the repository's only agent-instructions file.++Claude Code, Codex and Gemini CLI all read ``AGENTS.md``. Claude Code reads it+only while no ``CLAUDE.md``, ``.claude/CLAUDE.md`` or ``CLAUDE.local.md`` sits in+the working directory or above it: one committed anywhere in the tree would+silently replace the whole rulebook for every Claude session started there.++This gate fails when the root ``AGENTS.md`` is not tracked or when any+``CLAUDE.md`` / ``CLAUDE.local.md`` is, outside the standalone side-projects+that merely co-live in this repo and keep their own rulebook. It reads the+index, so the pre-commit hook blocks a staged file before it lands, and CI+blocks one that got past.++Used from ``.githooks/pre-commit`` and ``scripts/ci/run_gates.py``.++stdlib-only; resolves the repo root via ``git rev-parse`` so it works in linked+worktrees too.+"""++from __future__ import annotations++import argparse+import subprocess+import sys+from pathlib import Path, PurePosixPath++AGENTS_NAME = "AGENTS.md"+FORBIDDEN_NAMES = frozenset({"CLAUDE.md", "CLAUDE.local.md"})+# Independent projects with their own rulebook (see the side-project block in+# privacy_gate/references/distribution-denylist.txt). A Jarvis session never+# starts inside them, so their CLAUDE.md cannot hide this repo's AGENTS.md.+SIDE_PROJECTS = ("skillbook/",)++# Exit codes: 0 = clean, 1 = forbidden file tracked, 3 = setup error.+EXIT_OK = 0+EXIT_FORBIDDEN = 1+EXIT_SETUP = 3+++def _repo_root() -> Path | None:+ proc = subprocess.run(["git", "rev-parse", "--show-toplevel"], capture_output=True, text=True)+ if proc.returncode != 0:+ return None+ return Path(proc.stdout.strip())+++def _tracked(repo: Path) -> list[str] | None:+ proc = subprocess.run(["git", "-C", str(repo), "ls-files", "-z"], capture_output=True)+ if proc.returncode != 0:+ return None+ return [p for p in proc.stdout.decode("utf-8", "replace").split("\0") if p]+++def main(argv: list[str] | None = None) -> int:+ parser = argparse.ArgumentParser(description=__doc__)+ parser.add_argument(+ "--quiet",+ action="store_true",+ help="print nothing on the success path.",+ )+ args = parser.parse_args(argv)++ repo = _repo_root()+ tracked = _tracked(repo) if repo is not None else None+ if tracked is None:+ sys.stderr.write("check_agents_md: not inside a git repo (or git missing).\n")+ return EXIT_SETUP++ if AGENTS_NAME not in tracked:+ sys.stderr.write(f"check_agents_md: {AGENTS_NAME} is not tracked at the repo root.\n")+ return EXIT_SETUP++ forbidden = sorted(+ p+ for p in tracked+ if PurePosixPath(p).name in FORBIDDEN_NAMES and not p.startswith(SIDE_PROJECTS)+ )+ if forbidden:+ sys.stderr.write(+ "check_agents_md: AGENTS.md is the only agent-instructions file. Claude Code "+ "reads a CLAUDE.md INSTEAD of AGENTS.md, so these would hide the rulebook:\n"+ )+ for path in forbidden:+ sys.stderr.write(f" {path}\n")+ sys.stderr.write("Move their content into the AGENTS.md beside them and remove them.\n")+ return EXIT_FORBIDDEN++ if not args.quiet:+ print("check_agents_md: AGENTS.md is the only agent-instructions file.")+ return EXIT_OK+++if __name__ == "__main__":+ raise SystemExit(main())diff --git a/scripts/ci/check_lockfile_universal.py b/scripts/ci/check_lockfile_universal.pyindex 95c38e790d..df742348d2 100644--- a/scripts/ci/check_lockfile_universal.py+++ b/scripts/ci/check_lockfile_universal.py@@ -139,7 +139,7 @@ def main() -> int:return 0print("FAIL: requirements.txt is not safe for an arbitrary, no-GPU downloader.")- print(" The base lockfile must be `--universal` and GPU-free (CLAUDE.md §3, AP-23).")+ print(" The base lockfile must be `--universal` and GPU-free (AGENTS.md §3, AP-23).")print(" GPU/local-voice wheels belong only in the opt-in [local-voice] extra.")print()for p in problems:diff --git a/scripts/ci/check_no_new_german.py b/scripts/ci/check_no_new_german.pyindex a1cc205e63..28a9eee165 100644--- a/scripts/ci/check_no_new_german.py+++ b/scripts/ci/check_no_new_german.py@@ -1,7 +1,7 @@#!/usr/bin/env python3"""CI gate: block NEWLY ADDED German text from reaching GitHub.-Enforces the repo's Output Language Policy (CLAUDE.md, HIGHEST PRIORITY) without+Enforces the repo's Output Language Policy (AGENTS.md, HIGHEST PRIORITY) withoutdrowning in the in-flight DE->EN translation backlog: it inspects only the linesa push/PR ADDS (the ``+`` lines of the diff), never the pre-existing German thatthe translation effort is still working through.@@ -243,7 +243,7 @@ def main(argv: list[str] | None = None) -> int:if violations:print("OUTPUT-LANGUAGE GATE FAILED - German text detected.\n")print(- "Every committed artifact must be English (CLAUDE.md, Output Language\n"+ "Every committed artifact must be English (AGENTS.md, Output Language\n"f"Policy). The lines below ({scope}) look German:\n")for path, lineno, text in violations:diff --git a/scripts/ci/check_no_private_keys.py b/scripts/ci/check_no_private_keys.pyindex 8b051b10f3..637ca65c14 100644--- a/scripts/ci/check_no_private_keys.py+++ b/scripts/ci/check_no_private_keys.py@@ -159,7 +159,7 @@ def main() -> int:if findings:sys.stderr.write("check_no_private_keys: BLOCKED - private-key material must never "- "enter the repo (CLAUDE.md rule). Findings:\n"+ "enter the repo (AGENTS.md rule). Findings:\n")for f in findings:sys.stderr.write(f" - {f}\n")diff --git a/scripts/ci/check_release_completeness.py b/scripts/ci/check_release_completeness.pyindex 589ba7ef04..d0626837a4 100644--- a/scripts/ci/check_release_completeness.py+++ b/scripts/ci/check_release_completeness.py@@ -1,7 +1,7 @@#!/usr/bin/env python3"""Release-completeness gate - a release ships the ENTIRE current local state.-The recurring failure this gate exists for (CLAUDE.md §2 + §3 device-parity+The recurring failure this gate exists for (AGENTS.md §2 + §3 device-paritytriage, docs/device-parity-debugging.md): a release is cut while fixes stillsit uncommitted or unpublished on the dev box, or with a stale frontendbundle - and every other device then runs "the new version" without them,@@ -282,7 +282,7 @@ def main(argv: list[str] | None = None) -> int:if failed:print("\ncheck_release_completeness: gate FAILED - this release would NOT "- "ship the entire current local state (CLAUDE.md section 2)."+ "ship the entire current local state (AGENTS.md section 2).")return 1print("\ncheck_release_completeness: OK -release ships the full local state.")diff --git a/scripts/ci/check_requirements_sync.py b/scripts/ci/check_requirements_sync.pyindex bfafd443ad..1f9ddc02ae 100644--- a/scripts/ci/check_requirements_sync.py+++ b/scripts/ci/check_requirements_sync.py@@ -6,7 +6,7 @@ This is the guard for the bug class that shipped a broken public installer:lockfile) drifted from ``pyproject.toml [project].dependencies``. It listedextras-only, native packages (for example ``faster-whisper`` and desktop inputdrivers) that pyproject deliberately keeps in the ``[local-voice]`` /-``[desktop]`` extras per the cloud-first doctrine (CLAUDE.md §3). The lockfile+``[desktop]`` extras per the cloud-first doctrine (AGENTS.md §3). The lockfilecompiler then baked the multi-GB, GPU-specific CUDA-13 wheel stack (``nvidia-*``) into thecommitted lockfile, and the Windows/macOS installer forced every downloaderthrough it with ``pip install --require-hashes -r requirements.txt`` — which isdiff --git a/scripts/ci/check_shell_bash32.py b/scripts/ci/check_shell_bash32.pyindex bfa29f9da0..3e5d5725b7 100644--- a/scripts/ci/check_shell_bash32.py+++ b/scripts/ci/check_shell_bash32.py@@ -27,7 +27,7 @@ No existing workflow parsed a single shell script against bash 3.2, so nothingcould have caught it. This gate does, and it is cheap: a parse check, never anexecution.-Engine selection (portable by design, per CLAUDE.md section 3)+Engine selection (portable by design, per AGENTS.md section 3)-------------------------------------------------------------1. A local `/bin/bash` that IS 3.2 - the real thing, on a Mac. No Docker.2. Docker image `bash:3.2` - on Linux/Windows dev boxes and CI.diff --git a/scripts/ci/install_git_hooks.py b/scripts/ci/install_git_hooks.pyindex 29248ccb3e..4ad2421926 100644--- a/scripts/ci/install_git_hooks.py+++ b/scripts/ci/install_git_hooks.py@@ -2,7 +2,7 @@"""Wire up the repo's tracked git hooks (idempotent).Since 2026-07-18 the repo uses the standard shared-history workflow-(CLAUDE.md rule 2): direct pushes to the public flagship repo are the normal+(AGENTS.md rule 2): direct pushes to the public flagship repo are the normalflow, protected by the fail-closed credential gates inside the tracked``.githooks/pre-push`` hook (secret scan, private-key gate) plus GitHub-sidesecret scanning with push protection. The old raw-push hard-blockdiff --git a/scripts/ci/privacy_gate/references/dist-only-keep.txt b/scripts/ci/privacy_gate/references/dist-only-keep.txtindex 3b49252721..ec4161cad6 100644--- a/scripts/ci/privacy_gate/references/dist-only-keep.txt+++ b/scripts/ci/privacy_gate/references/dist-only-keep.txt@@ -6,10 +6,8 @@# here is skipped by that deletion so a deliberately dist-only file is not wiped# every release.#-# AGENTS.md: public-facing contributor guide that lives only in the public repo-# (the working tree uses CLAUDE.md instead). Verified as the only dist-only file-# on 2026-05-31; re-checked each run by the skill's reconcile diff.-AGENTS.md+# AGENTS.md used to be listed here while the working tree kept CLAUDE.md; it is+# the tracked rulebook now (2026-09-30), so it ships like any other file.# Preserve the reviewed public bug register while the local register's newer# live-session evidence remains withheld by the distribution denylist.diff --git a/scripts/ci/privacy_gate/references/distribution-denylist.txt b/scripts/ci/privacy_gate/references/distribution-denylist.txtindex f9619cefd8..965a70c1a7 100644--- a/scripts/ci/privacy_gate/references/distribution-denylist.txt+++ b/scripts/ci/privacy_gate/references/distribution-denylist.txt@@ -121,11 +121,10 @@ 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. the openclaw repo 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+# AGENTS.md + CLOUD.md are the binding contributor doctrine and ship; the old+# CLAUDE.md twin was retired on 2026-09-30 (AGENTS.md is the only rulebook).+# the openclaw repo ships its doctrine publicly too; 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 strongdiff --git a/scripts/ci/privacy_gate/scripts/strip_and_scan.py b/scripts/ci/privacy_gate/scripts/strip_and_scan.pyindex 1f6b9634cd..a63273ed71 100644--- a/scripts/ci/privacy_gate/scripts/strip_and_scan.py+++ b/scripts/ci/privacy_gate/scripts/strip_and_scan.py@@ -454,7 +454,7 @@ def cmd_scan(args: argparse.Namespace) -> int:"note": row["note"], "value": m.group(0)})- # English-only artifact gate (CLAUDE.md rule 1): no German outside the+ # English-only artifact gate (AGENTS.md rule 1): no German outside the# allowlist may ship. `i18n-allow` inline marks and the path allowlist are# the only escapes — same contract as the CI/pre-commit language gate.if (diff --git a/scripts/ci/run_gates.py b/scripts/ci/run_gates.pyindex c4720056d5..d4047c39bb 100644--- a/scripts/ci/run_gates.py+++ b/scripts/ci/run_gates.py@@ -48,7 +48,7 @@ def _gates(base: str) -> list[Gate]:Gate("mirrors",(- (PY, ci + "sync_agents_md.py", "--check"),+ (PY, ci + "check_agents_md.py"),(PY, ci + "sync_agents_dir.py", "--check"),(PY, ci + "sync_codex_agents.py", "--check"),),diff --git a/scripts/ci/select_tests.py b/scripts/ci/select_tests.pyindex bd7b0d7f4c..efb83e6622 100644--- a/scripts/ci/select_tests.py+++ b/scripts/ci/select_tests.py@@ -44,7 +44,7 @@ _EVERYTHING_FILES = {"uv.lock","jarvis/__init__.py",}-# The contract guards CLAUDE.md names: cheap, and they pin the invariants a+# The contract guards AGENTS.md names: cheap, and they pin the invariants a# change anywhere in jarvis/ can break without importing them by name.SMOKE = ("tests/unit/brain/test_routing.py",diff --git a/scripts/ci/sync_agents_md.py b/scripts/ci/sync_agents_md.pydeleted file mode 100644index b7efa08f4e..0000000000--- a/scripts/ci/sync_agents_md.py+++ /dev/null@@ -1,159 +0,0 @@-#!/usr/bin/env python3-"""Copy the shared ``AGENTS.md`` instructions to Claude's compatibility file.--``AGENTS.md`` is authoritative. ``CLAUDE.md`` remains byte-identical because-Claude Code's AGENTS.md support is conditional and older releases need it.--This script is the single sync engine, used from three places:-- * ``.githooks/pre-commit`` (with ``--stage``) -- the hard guarantee: every- commit lands both files in sync.- * ``--check`` in CI / manual verification -- exit non-zero on drift,- change nothing.--Any difference is fixed by copying ``AGENTS.md`` to ``CLAUDE.md``. A missing-source is a setup error, not a reason to replace it with the generated copy.--Line endings are normalized for comparison because Git may check out CRLF on-Windows. When a real sync happens, exact source bytes are written to the copy.--stdlib-only; resolves the repo root via ``git rev-parse`` so it works in linked-worktrees too. Designed to be a cheap no-op on the common path (files equal).-"""--from __future__ import annotations--import argparse-import subprocess-import sys-from pathlib import Path--CLAUDE_NAME = "CLAUDE.md"-AGENTS_NAME = "AGENTS.md"--# Exit codes: 0 = in sync (or synced), 1 = drift found, 3 = setup error.-EXIT_OK = 0-EXIT_DRIFT = 1-EXIT_SETUP = 3---def _git(*args: str, repo: Path) -> subprocess.CompletedProcess[bytes]:- return subprocess.run(["git", "-C", str(repo), *args], capture_output=True)---def _repo_root() -> Path | None:- proc = subprocess.run(["git", "rev-parse", "--show-toplevel"], capture_output=True, text=True)- if proc.returncode != 0:- return None- return Path(proc.stdout.strip())---def _read_bytes(path: Path) -> bytes | None:- try:- return path.read_bytes()- except FileNotFoundError:- return None---def _norm(data: bytes | None) -> bytes | None:- """Normalise line endings so a pure CRLF/LF skew is not seen as a diff."""- if data is None:- return None- return data.replace(b"\r\n", b"\n").replace(b"\r", b"\n")---def _decide_source(- claude: bytes | None,- agents: bytes | None,-) -> tuple[str, bytes] | None:- """Return the Claude copy to update, or None when it already matches."""- if _norm(claude) == _norm(agents):- return None- return (CLAUDE_NAME, agents if agents is not None else b"")---def _pair_staged(repo: Path) -> bool:- staged = _git(- "diff",- "--cached",- "--name-only",- "-z",- "--",- AGENTS_NAME,- CLAUDE_NAME,- repo=repo,- )- return staged.returncode == 0 and bool(staged.stdout)---def _stage_pair(repo: Path) -> bool:- return _git("add", "--", AGENTS_NAME, CLAUDE_NAME, repo=repo).returncode == 0---def main(argv: list[str] | None = None) -> int:- parser = argparse.ArgumentParser(description=__doc__)- parser.add_argument(- "--check",- action="store_true",- help="report drift without changing anything (exit 1 on drift).",- )- parser.add_argument(- "--stage",- action="store_true",- help="after syncing, 'git add' both files (for the pre-commit hook).",- )- parser.add_argument(- "--quiet",- action="store_true",- help="print nothing on the no-op / success path.",- )- args = parser.parse_args(argv)-- repo = _repo_root()- if repo is None:- sys.stderr.write("sync_agents_md: not inside a git repo (or git missing).\n")- return EXIT_SETUP-- claude_path = repo / CLAUDE_NAME- agents_path = repo / AGENTS_NAME-- claude = _read_bytes(claude_path)- agents = _read_bytes(agents_path)-- if agents is None:- sys.stderr.write(f"sync_agents_md: missing source {AGENTS_NAME}.\n")- return EXIT_SETUP-- decision = _decide_source(claude, agents)-- if decision is None:- if args.stage and _pair_staged(repo) and not _stage_pair(repo):- sys.stderr.write("sync_agents_md: 'git add' failed.\n")- return EXIT_SETUP- if not args.quiet:- print(f"sync_agents_md: {CLAUDE_NAME} and {AGENTS_NAME} already in sync.")- return EXIT_OK-- target_name, content = decision-- if args.check:- sys.stderr.write(- f"sync_agents_md: DRIFT -- {CLAUDE_NAME} and {AGENTS_NAME} differ "- f"(would rewrite {target_name}).\n"- )- return EXIT_DRIFT-- (repo / target_name).write_bytes(content)- if not args.quiet:- print(f"sync_agents_md: rewrote {target_name} from {AGENTS_NAME}.")-- if args.stage and _pair_staged(repo):- if not _stage_pair(repo):- sys.stderr.write("sync_agents_md: 'git add' failed.\n")- return EXIT_SETUP-- return EXIT_OK---if __name__ == "__main__":- raise SystemExit(main())diff --git a/scripts/crossplatform/signoff_probe.py b/scripts/crossplatform/signoff_probe.pyindex 21cad3ff9a..c894d5f58d 100644--- a/scripts/crossplatform/signoff_probe.py+++ b/scripts/crossplatform/signoff_probe.py@@ -29,7 +29,7 @@ Usage::missing capability) it prints what is needed and exits cleanly — it never fakes aresult and never raises.-Output language: English (CLAUDE.md Output-Language Policy).+Output language: English (AGENTS.md Output-Language Policy)."""from __future__ import annotations@@ -38,7 +38,7 @@ import argparseimport sysfrom dataclasses import dataclass-# cp1252 is the Windows console default (CLAUDE.md "Windows specifics"); this+# cp1252 is the Windows console default (AGENTS.md "Windows specifics"); this# script prints check-mark / arrow glyphs, so force UTF-8 to avoid a# UnicodeEncodeError on the maintainer's box.try: # pragma: no cover - depends on the console stream typediff --git a/scripts/diagnostics/dictation_e2e_probe.py b/scripts/diagnostics/dictation_e2e_probe.pyindex 4f5d5b76d1..1d8a263f0d 100644--- a/scripts/diagnostics/dictation_e2e_probe.py+++ b/scripts/diagnostics/dictation_e2e_probe.py@@ -59,7 +59,7 @@ Exit codes3 nothing failed but something stayed NOT_PROVEN.This is a diagnostic, not a product surface, so it deliberately lives outside-the CLI-first REST contract (CLAUDE.md §5). Cross-platform by capability probe:+the CLI-first REST contract (AGENTS.md §5). Cross-platform by capability probe:Windows, macOS and Linux/X11 press the key; Wayland and headless hosts refusewith a reason instead of pretending."""diff --git a/scripts/latency_bench.py b/scripts/latency_bench.pyindex ab3bc431c2..6349ca773c 100644--- a/scripts/latency_bench.py+++ b/scripts/latency_bench.py@@ -26,7 +26,7 @@ import sysimport timefrom pathlib import Path-# Windows cp1252 stdout would mangle the ✓/µ glyphs below (CLAUDE.md Unicode rule).+# Windows cp1252 stdout would mangle the ✓/µ glyphs below (AGENTS.md Unicode rule).if hasattr(sys.stdout, "reconfigure"):sys.stdout.reconfigure(encoding="utf-8") # type: ignore[union-attr]diff --git a/scripts/pointer_smoke.py b/scripts/pointer_smoke.pyindex d8ec82cf9f..9eee4e9531 100644--- a/scripts/pointer_smoke.py+++ b/scripts/pointer_smoke.py@@ -22,7 +22,7 @@ from __future__ import annotationsimport asyncioimport sys-try: # cp1252-safe output on a Windows console (CLAUDE.md Windows note)+try: # cp1252-safe output on a Windows console (AGENTS.md Windows note)sys.stdout.reconfigure(encoding="utf-8")except Exception:passdiff --git a/scripts/smoke_boot.py b/scripts/smoke_boot.pyindex 8b6def02ec..4d27a4a33c 100644--- a/scripts/smoke_boot.py+++ b/scripts/smoke_boot.py@@ -63,7 +63,7 @@ from pathlib import Path# Windows console defaults to cp1252; the report uses a few non-ASCII glyphs# (em dash). Reconfigure to UTF-8 so the summary renders cleanly (house rule for-# new CLI modules — see CLAUDE.md "Windows specifics").+# new CLI modules — see AGENTS.md "Windows specifics").if sys.platform == "win32":with contextlib.suppress(AttributeError, OSError):sys.stdout.reconfigure(encoding="utf-8", errors="replace")diff --git a/scripts/verify_clarify_floor_guard.py b/scripts/verify_clarify_floor_guard.pyindex f0a0789776..7707d8c4b7 100644--- a/scripts/verify_clarify_floor_guard.py+++ b/scripts/verify_clarify_floor_guard.py@@ -29,7 +29,7 @@ import sysfrom unittest.mock import MagicMock# Windows console is cp1252 by default; the transcript + the "→" marker are-# UTF-8 (CLAUDE.md Windows-specifics: reconfigure stdout or stick to ASCII).+# UTF-8 (AGENTS.md Windows-specifics: reconfigure stdout or stick to ASCII).try:sys.stdout.reconfigure(encoding="utf-8") # type: ignore[union-attr]except Exception: # noqa: BLE001 — best effort; older streams lack reconfigurediff --git a/scripts/wiki_migrate_v0_to_v1.py b/scripts/wiki_migrate_v0_to_v1.pyindex 18d9b22d57..becf9ca4d6 100644--- a/scripts/wiki_migrate_v0_to_v1.py+++ b/scripts/wiki_migrate_v0_to_v1.py@@ -53,7 +53,7 @@ from pathlib import Pathfrom typing import Iterable# Windows console defaults to cp1252; arrows and em-dashes crash there.-# Same pattern as jarvis/__main__.py — convention from CLAUDE.md.+# Same pattern as jarvis/__main__.py — convention from AGENTS.md.if hasattr(sys.stdout, "reconfigure"):sys.stdout.reconfigure(encoding="utf-8")if hasattr(sys.stderr, "reconfigure"):diff --git a/skillbook/CLAUDE.md b/skillbook/CLAUDE.mdindex c6a43f8e95..ad962d2ab8 100644--- a/skillbook/CLAUDE.md+++ b/skillbook/CLAUDE.md@@ -92,4 +92,4 @@ All five must be demonstrably true in code (referenced by line number) before th## Pre-existing State-The parent repository (Personal Jarvis) may carry unrelated in-progress working-tree changes. That state is **grandfathered** per the parent's CLAUDE.md doctrine: skillbook commits never touch those files, and `git status` may continue to show them as modified/deleted until the parent team commits or discards them. The "git status clean" criterion in the goal applies to the skillbook scope: no uncommitted skillbook-owned files at completion.+The parent repository (Personal Jarvis) may carry unrelated in-progress working-tree changes. That state is **grandfathered** per the parent's AGENTS.md doctrine: skillbook commits never touch those files, and `git status` may continue to show them as modified/deleted until the parent team commits or discards them. The "git status clean" criterion in the goal applies to the skillbook scope: no uncommitted skillbook-owned files at completion.diff --git a/src/skills/web_search/_gemini_client.py b/src/skills/web_search/_gemini_client.pyindex 6f5a71dcf2..6646e2cf59 100644--- a/src/skills/web_search/_gemini_client.py+++ b/src/skills/web_search/_gemini_client.py@@ -56,7 +56,7 @@ class DefaultGeminiClient:The default model tracks the Personal Jarvis main-brain default(``gemini-3.5-flash`` since 2026-05-20, see ``jarvis.toml:187``). Phase 2of ADR-021 replaces this hardcode with a read from- ``cfg.brain.providers.gemini.flash_model`` — the CLAUDE.md rule+ ``cfg.brain.providers.gemini.flash_model`` — the AGENTS.md rule"NIEMALS hardcoded Flash" applies once the skill is wired into Jarvis."""diff --git a/tests/contract/test_stt_protocol.py b/tests/contract/test_stt_protocol.pyindex 16b96bb312..49948ae8e2 100644--- a/tests/contract/test_stt_protocol.py+++ b/tests/contract/test_stt_protocol.py@@ -9,7 +9,7 @@ deliberately exercised only via class-level shape checks. The Groq plugin istestable on any host because httpx is mocked at the transport layer.This test file is also the regression guard for the rule "plugin modules must-not import from ``jarvis.*``" (see CLAUDE.md plugin section).+not import from ``jarvis.*``" (see AGENTS.md plugin section)."""from __future__ import annotations@@ -29,7 +29,7 @@ from jarvis.core.protocols import STTProviderENTRY_POINT_GROUP = "jarvis.stt"# faster-whisper entry-point removed 2026-05-18 along with the dependency-# (cloud-first doctrine — see CLAUDE.md PHILOSOPHY section).+# (cloud-first doctrine — see AGENTS.md PHILOSOPHY section).EXPECTED_PROVIDERS = {"groq-api"}@@ -104,7 +104,7 @@ _ALLOWED_PLUGIN_IMPORT_ROOT = "jarvis.plugins.stt."def test_groq_plugin_has_no_jarvis_imports():- """The Groq plugin must not import the app core (CLAUDE.md section 5).+ """The Groq plugin must not import the app core (AGENTS.md section 5).Its own plugin group is the single exception — see:data:`_ALLOWED_PLUGIN_IMPORT_ROOT`.diff --git a/tests/fakes/__init__.py b/tests/fakes/__init__.pyindex 12670118d5..bd054fd981 100644--- a/tests/fakes/__init__.py+++ b/tests/fakes/__init__.py@@ -1,6 +1,6 @@"""Test fakes — drop-in implementations for plugin protocols.-Convention (CLAUDE.md): "fakes over mocks". Every plugin protocol has+Convention (AGENTS.md): "fakes over mocks". Every plugin protocol hasat least one FakeXxxProvider/FakeXxxProcess with scripted responses; testswork against the fakes instead of ``unittest.mock``."""diff --git a/tests/fakes/fake_admin_transport.py b/tests/fakes/fake_admin_transport.pyindex 3e4403a6cb..624d39fffb 100644--- a/tests/fakes/fake_admin_transport.py+++ b/tests/fakes/fake_admin_transport.py@@ -1,6 +1,6 @@"""Hand-built ``AdminTransport`` fake (Wave 3, sub-task 3.1; EK-3).-Per CLAUDE.md the project uses real fakes, never ``unittest.mock``. A real named+Per AGENTS.md the project uses real fakes, never ``unittest.mock``. A real namedpipe (Windows) or AF_UNIX socket (POSIX) cannot be exercised in a pure-logic unittest, so :class:`FakeAdminTransport` round-trips raw envelope bytes entirelyin-process: the server-side ``handler`` (the reuseddiff --git a/tests/fakes/fake_atspi.py b/tests/fakes/fake_atspi.pyindex 7c59fa2d49..9672604ea5 100644--- a/tests/fakes/fake_atspi.py+++ b/tests/fakes/fake_atspi.py@@ -1,6 +1,6 @@"""Hand-built Linux AT-SPI fake (Wave 2.2, EK-3).-Per CLAUDE.md the project uses real fakes, never ``unittest.mock``. ``pyatspi``+Per AGENTS.md the project uses real fakes, never ``unittest.mock``. ``pyatspi``is GObject-Introspection, distro-packaged (not on PyPI) and cannot be installedon the Windows dev box; the real AT-SPI capture only runs on a Linux leg with alive accessibility bus (``skip_ci``). This fake gives the flatten +diff --git a/tests/fakes/fake_ax_api.py b/tests/fakes/fake_ax_api.pyindex cf7216778f..abd514b134 100644--- a/tests/fakes/fake_ax_api.py+++ b/tests/fakes/fake_ax_api.py@@ -1,6 +1,6 @@"""Hand-built macOS Accessibility (AX) API fake (Wave 2.1, EK-3).-Per CLAUDE.md the project uses real fakes, never ``unittest.mock``. The real+Per AGENTS.md the project uses real fakes, never ``unittest.mock``. The real``pyobjc`` stack cannot be installed on the Windows dev box, and the realAX-tree capture only runs on a macOS leg under a granted Accessibilitypermission (``skip_ci``). This fake gives the flatten + role-normalization +diff --git a/tests/fakes/fake_capabilities.py b/tests/fakes/fake_capabilities.pyindex ebbade36dc..b03272b43f 100644--- a/tests/fakes/fake_capabilities.py+++ b/tests/fakes/fake_capabilities.py@@ -1,6 +1,6 @@"""Hand-built ``Capabilities`` fakes for the three platforms (EK-3).-Per CLAUDE.md the project uses real fakes, never ``unittest.mock``. These give+Per AGENTS.md the project uses real fakes, never ``unittest.mock``. These givetests a deterministic capability snapshot per OS without probing the real host,so a port's seam-factory can be exercised for macOS/Linux from a Windows box."""diff --git a/tests/fakes/fake_elevator.py b/tests/fakes/fake_elevator.pyindex 5def644a72..3d085450e2 100644--- a/tests/fakes/fake_elevator.py+++ b/tests/fakes/fake_elevator.py@@ -1,6 +1,6 @@"""Hand-built ``Elevator`` fake (Wave 3, sub-task 3.4; EK-3).-Per CLAUDE.md the project uses real fakes, never ``unittest.mock``. A real+Per AGENTS.md the project uses real fakes, never ``unittest.mock``. A realelevator triggers an interactive OS prompt (UAC / polkit / Touch-ID) that cannotrun in CI, so :class:`FakeElevator` stands in for any:class:`jarvis.admin.elevator.Elevator`. It records everydiff --git a/tests/fakes/fake_global_hotkeys.py b/tests/fakes/fake_global_hotkeys.pyindex eb54bc8c03..166ea4b0a5 100644--- a/tests/fakes/fake_global_hotkeys.py+++ b/tests/fakes/fake_global_hotkeys.py@@ -1,6 +1,6 @@"""FakeGlobalHotkeys — drop-in stand-in for the ``global_hotkeys`` module.-Convention (CLAUDE.md): fakes over mocks. The real ``global_hotkeys`` package+Convention (AGENTS.md): fakes over mocks. The real ``global_hotkeys`` packageregisters Windows-wide low-level keyboard hooks via ``win32api`` and spawns anOS polling thread — neither of which can run on a headless Linux CI box (thecloud-first VPS doctrine). This fake replicates the *observable contract* ofdiff --git a/tests/fakes/fake_hotkey_backend.py b/tests/fakes/fake_hotkey_backend.pyindex 0f9300f02c..0be1576f86 100644--- a/tests/fakes/fake_hotkey_backend.py+++ b/tests/fakes/fake_hotkey_backend.py@@ -1,6 +1,6 @@"""FakeHotkeyBackend — drop-in stand-in for a ``HotkeyBackend`` (AD-6 seam).-Convention (CLAUDE.md): fakes over mocks. This fake satisfies the+Convention (AGENTS.md): fakes over mocks. This fake satisfies the``jarvis.trigger.backends.HotkeyBackend`` ``Protocol`` and records the lifecyclecalls so a test can prove ``HotkeyTrigger`` drives the backend correctly(register → start → stop → unregister) without touching any OS or optionaldiff --git a/tests/fakes/fake_overlay_surface.py b/tests/fakes/fake_overlay_surface.pyindex 529455ba4e..3125f87654 100644--- a/tests/fakes/fake_overlay_surface.py+++ b/tests/fakes/fake_overlay_surface.py@@ -1,6 +1,6 @@"""Hand-built overlay fakes for the Wave-2 orb seam (EK-3).-Per CLAUDE.md the project uses real fakes, never ``unittest.mock``. These let the+Per AGENTS.md the project uses real fakes, never ``unittest.mock``. These let the``OverlaySurface`` lifecycle, the factory selection, and the tray state-mapping beexercised on a headless Windows/CI box **without** creating a real ``tk.Tk()``window or spinning up a real pystray thread:diff --git a/tests/fakes/fake_pty_backend.py b/tests/fakes/fake_pty_backend.pyindex c51d23485f..9399c7b257 100644--- a/tests/fakes/fake_pty_backend.py+++ b/tests/fakes/fake_pty_backend.py@@ -1,6 +1,6 @@"""Hand-built ``PtyBackend`` / ``PtyHandle`` fake (EK-3).-Per CLAUDE.md the project uses real fakes, never ``unittest.mock``. A real PTY+Per AGENTS.md the project uses real fakes, never ``unittest.mock``. A real PTYcannot be spawned on the Windows dev box for ``UnixPtyBackend`` (ptyprocess isPOSIX-only), and even the real-PTY roundtrip test only runs on the CI Linux/macOS legs. This fake gives the str<->bytes normalization and lifecycle tests adiff --git a/tests/fakes/fake_telephony_stack.py b/tests/fakes/fake_telephony_stack.pyindex 6a38dc0820..2ffee63c8b 100644--- a/tests/fakes/fake_telephony_stack.py+++ b/tests/fakes/fake_telephony_stack.py@@ -1,6 +1,6 @@"""Deterministic fakes for the telephony STT -> Brain -> TTS seams.-Convention (CLAUDE.md): fakes over mocks. These let the telephony session loop+Convention (AGENTS.md): fakes over mocks. These let the telephony session loopand the media-stream integration test run with no model download, no API keyand no real socket.diff --git a/tests/integration/test_ollama_catalog_is_current.py b/tests/integration/test_ollama_catalog_is_current.pyindex 11daaf823e..e6dfc3249f 100644--- a/tests/integration/test_ollama_catalog_is_current.py+++ b/tests/integration/test_ollama_catalog_is_current.py@@ -149,7 +149,7 @@ def _assert_model_is_current(model_id: str, registry: httpx.Client) -> None:def test_the_shortlist_was_reviewed_within_twelve_months() -> None:- """CLAUDE.md §4: nothing a year old ships as a local default. The review+ """AGENTS.md §4: nothing a year old ships as a local default. The reviewdate is printed in the panel, so it must be both true and recent — theper-tag checks above catch a retired tag, this catches a list nobody haslooked at."""diff --git a/tests/missions/kontrollierer/test_capture_diff.py b/tests/missions/kontrollierer/test_capture_diff.pyindex 4e686ad784..abe62fc5b5 100644--- a/tests/missions/kontrollierer/test_capture_diff.py+++ b/tests/missions/kontrollierer/test_capture_diff.py@@ -92,9 +92,9 @@ def test_capture_diff_surfaces_modified_tracked_file(worktree: Path, kontrollierer: Kontrollierer) -> None:"""Tracked file modifications must show up via `git diff HEAD`."""- target = worktree / "CLAUDE.md"+ target = worktree / "README.md"if not target.exists():- pytest.skip("CLAUDE.md not present in worktree (unexpected fixture state)")+ pytest.skip("README.md not present in worktree (unexpected fixture state)")target.write_text(target.read_text(encoding="utf-8") + "\n<!-- capture-diff-marker -->\n",encoding="utf-8",@@ -103,7 +103,7 @@ def test_capture_diff_surfaces_modified_tracked_file(diff = kontrollierer._capture_diff(worktree)assert diff, "expected non-empty diff for a modified tracked file"- assert "CLAUDE.md" in diff+ assert "README.md" in diffassert "capture-diff-marker" in diff@@ -222,7 +222,7 @@ def test_archive_task_artifacts_writes_diff_and_copies_untracked(after the worktree is gone."""# Mix: one new untracked file + one modified tracked file.(worktree / "hello.txt").write_text("hi\n", encoding="utf-8")- target = worktree / "CLAUDE.md"+ target = worktree / "README.md"if target.exists():target.write_text(target.read_text(encoding="utf-8") + "\n<!-- archive-test -->\n",diff --git a/tests/missions/test_voice_readback.py b/tests/missions/test_voice_readback.pyindex d645f96c39..dbb2e65efc 100644--- a/tests/missions/test_voice_readback.py+++ b/tests/missions/test_voice_readback.py@@ -140,7 +140,7 @@ def test_render_failed_maps_missing_source_checkout_to_capability_phrase() -> Nodef test_git_setup_reasons_carry_spanish() -> None:- """CLAUDE.md §1: Spanish is an equal supported product-surface language,+ """AGENTS.md §1: Spanish is an equal supported product-surface language,so every portable workspace-setup reason added here must carry an ``es``phrase rather than perpetuating the de/en-only gap."""from jarvis.missions.voice.readback import FAILURE_REASON_PHRASESdiff --git a/tests/missions/workers/test_api_family_quota_state.py b/tests/missions/workers/test_api_family_quota_state.pyindex 147fa25c1b..e50fe5372a 100644--- a/tests/missions/workers/test_api_family_quota_state.py+++ b/tests/missions/workers/test_api_family_quota_state.py@@ -7,7 +7,7 @@ remembered that, so every retry re-picked gemini — the healthy openrouter keyone slot further in the SAME loop was never reached. This is the genericAPI-family mirror of ``claude_quota_state`` / ``codex_quota_state``, keyed byprovider slug and FINGERPRINTED: saving a NEW key in the API-Keys view lifts-the cooldown instantly (in-app recoverability, CLAUDE.md §3), while the same+the cooldown instantly (in-app recoverability, AGENTS.md §3), while the samedead key stays skipped until the cooldown self-expires."""from __future__ import annotationsdiff --git a/tests/unit/agentic_ide/test_chat_library_routes.py b/tests/unit/agentic_ide/test_chat_library_routes.pyindex 32f1b8ff36..1ad374aeb3 100644--- a/tests/unit/agentic_ide/test_chat_library_routes.py+++ b/tests/unit/agentic_ide/test_chat_library_routes.py@@ -197,7 +197,7 @@ def test_creating_a_chat_starts_nothing(client: TestClient, tmp_path: Path) -> Ndef test_destructive_routes_declare_themselves(client: TestClient) -> None:- """The danger flag is what keeps a delete out of an unattended yes (CLAUDE.md §5)."""+ """The danger flag is what keeps a delete out of an unattended yes (AGENTS.md §5)."""schema = client.get("/openapi.json").json()["paths"]for path in (diff --git a/tests/unit/agentic_ide/test_fanout_route.py b/tests/unit/agentic_ide/test_fanout_route.pyindex 2991f6054c..887f2ce333 100644--- a/tests/unit/agentic_ide/test_fanout_route.py+++ b/tests/unit/agentic_ide/test_fanout_route.py@@ -1,7 +1,7 @@"""The REST surface for running a fleet: spawn, split, deliver.Why this route exists at all, given the voice path already works: the CLI-first-contract (CLAUDE.md §5) says a capability that lives only in the voice path is+contract (AGENTS.md §5) says a capability that lives only in the voice path isnot done. Speaking is how the maintainer uses this, but the same fleet has tobe startable from the terminal, from a script, and from the workspace UI — andone route is also what keeps those three from growing three different ideas ofdiff --git a/tests/unit/agentic_ide/test_intent_phrasebook.py b/tests/unit/agentic_ide/test_intent_phrasebook.pyindex 9cfe0808a6..6f20ffca05 100644--- a/tests/unit/agentic_ide/test_intent_phrasebook.py+++ b/tests/unit/agentic_ide/test_intent_phrasebook.py@@ -25,7 +25,7 @@ Two properties make this a phrasebook rather than a wishlist:miss. The unrelated block is what keeps the widening honest.German and Spanish utterances here are speech-recognition input vocabulary —-the words a person literally says — not prose (CLAUDE.md §1, closed list item+the words a person literally says — not prose (AGENTS.md §1, closed list item3). They are the content under test."""from __future__ import annotationsdiff --git a/tests/unit/agentic_ide/test_last_prompt_route.py b/tests/unit/agentic_ide/test_last_prompt_route.pyindex 9b8559aed5..b8ccf1545c 100644--- a/tests/unit/agentic_ide/test_last_prompt_route.py+++ b/tests/unit/agentic_ide/test_last_prompt_route.py@@ -8,7 +8,7 @@ an emulator that never painted, a socket reconnecting, a CLI redrawing itsinput box out of view. The user's honest reading of that is that nothinghappened.-It is also the CLI-first half (CLAUDE.md §5): the same proof has to be+It is also the CLI-first half (AGENTS.md §5): the same proof has to beavailable from a terminal and a script, not only from the pane's own overlay."""diff --git a/tests/unit/agentic_ide/test_pane_activity_parity.py b/tests/unit/agentic_ide/test_pane_activity_parity.pyindex cd7aefe75e..0b019ecade 100644--- a/tests/unit/agentic_ide/test_pane_activity_parity.py+++ b/tests/unit/agentic_ide/test_pane_activity_parity.py@@ -3,7 +3,7 @@The words a pane can be in ("working", "waiting", …) cross four layers: thePython literal that produces them, the Pydantic field that ships them, theTypeScript union that types them and the label map that turns each one into-something a person reads. CLAUDE.md §5 exists because a value added to one layer+something a person reads. AGENTS.md §5 exists because a value added to one layerand forgotten in another is this repo's most-repeated bug — and the failure modehere is quiet: an unknown word reaches a `Record` lookup, the badge rendersnothing, and a pane silently loses its status.diff --git a/tests/unit/agentic_ide/test_pane_notifications_route.py b/tests/unit/agentic_ide/test_pane_notifications_route.pyindex 549bd4143f..43cccf1655 100644--- a/tests/unit/agentic_ide/test_pane_notifications_route.py+++ b/tests/unit/agentic_ide/test_pane_notifications_route.py@@ -1,4 +1,4 @@-"""The bell's REST surface — the CLI-first half (CLAUDE.md §5).+"""The bell's REST surface — the CLI-first half (AGENTS.md §5).The panel in the header is one client of this. The other is a terminal: thesame three questions ("what stopped?", "stop counting these", "throw themdiff --git a/tests/unit/audio/test_devices.py b/tests/unit/audio/test_devices.pyindex 4355617841..bfa5c1eb8f 100644--- a/tests/unit/audio/test_devices.py+++ b/tests/unit/audio/test_devices.py@@ -13,7 +13,7 @@ Guards for :mod:`jarvis.audio.devices`:first; input: MME first), tolerating the MME truncation; an unknown nameyields None so callers can fall back to auto-headset.3. **Headless safety** — no sounddevice / a failing query degrades to an- empty list / None, never raises (python:3.11-slim contract, CLAUDE.md §3).+ empty list / None, never raises (python:3.11-slim contract, AGENTS.md §3)."""from __future__ import annotationsdiff --git a/tests/unit/brain/test_ack_brain/conftest.py b/tests/unit/brain/test_ack_brain/conftest.pyindex 8ea089cf2c..aeabf343c0 100644--- a/tests/unit/brain/test_ack_brain/conftest.py+++ b/tests/unit/brain/test_ack_brain/conftest.py@@ -4,7 +4,7 @@ A FakeAckProvider implements the :class:`AbstractAckProvider` protocolwithout any network or SDK dependency. Tests can script its responsesper-utterance (or globally) and inspect call recordings afterwards.-Per project policy (CLAUDE.md "Testing-Konventionen"), tests use Fakes+Per project policy (AGENTS.md "Testing-Konventionen"), tests use Fakesrather than ``unittest.mock`` for protocol-level dependencies. TheFakes live here so they can be shared across the integration suitewithout duplication.diff --git a/tests/unit/brain/test_ack_brain/test_output_language_gate.py b/tests/unit/brain/test_ack_brain/test_output_language_gate.pyindex ef44c884f5..cc29f9af1d 100644--- a/tests/unit/brain/test_ack_brain/test_output_language_gate.py+++ b/tests/unit/brain/test_ack_brain/test_output_language_gate.py@@ -12,7 +12,7 @@ the ack exists to bridge:to pass.The gate now validates against the turn's ALREADY-resolved output language-through ``jarvis.core.turn_language`` (CLAUDE.md §1: one resolver for every+through ``jarvis.core.turn_language`` (AGENTS.md §1: one resolver for everylayer), which fails open on anything indeterminate and covers de/en/es equally.A genuine, high-confidence mismatch must still be blocked."""diff --git a/tests/unit/brain/test_evidence_gate_refusal_language.py b/tests/unit/brain/test_evidence_gate_refusal_language.pyindex 161f9fc9ab..292982bfe0 100644--- a/tests/unit/brain/test_evidence_gate_refusal_language.py+++ b/tests/unit/brain/test_evidence_gate_refusal_language.py@@ -10,7 +10,7 @@ choose the refusal language. Two consequences:back to English.The refusal is user-facing speech, so it must follow the ONE resolver like-every other layer (CLAUDE.md §1). ``check_evidence_domain`` now takes the+every other layer (AGENTS.md §1). ``check_evidence_domain`` now takes thealready-resolved ``language``; the utterance is only consulted when a calleromits it."""@@ -45,7 +45,7 @@ def _refuse(text, *, language=""):def test_every_locale_has_a_complete_refusal_table():- """All locales are equal: no table may lag another (CLAUDE.md §1)."""+ """All locales are equal: no table may lag another (AGENTS.md §1)."""assert set(_REFUSAL_ES) == set(_REFUSAL_DE) == set(_REFUSAL_EN)assert all(text.strip() for text in _REFUSAL_ES.values())diff --git a/tests/unit/brain/test_honesty_language_parity.py b/tests/unit/brain/test_honesty_language_parity.pyindex 43d226a96c..785968e4d0 100644--- a/tests/unit/brain/test_honesty_language_parity.py+++ b/tests/unit/brain/test_honesty_language_parity.py@@ -7,7 +7,7 @@ On a turn whose language cannot be detected (a bare product name, "42", agrunt) the user could get a German refusal followed by an English honestyphrase in the same breath.-CLAUDE.md §1: ONE resolver decides the turn for ALL layers, and every locale is+AGENTS.md §1: ONE resolver decides the turn for ALL layers, and every locale isequal — no layer may pin its own default."""from __future__ import annotationsdiff --git a/tests/unit/brain/test_router_tool_entrypoint_parity.py b/tests/unit/brain/test_router_tool_entrypoint_parity.pyindex 2954a6c07d..dac8d5b9f4 100644--- a/tests/unit/brain/test_router_tool_entrypoint_parity.py+++ b/tests/unit/brain/test_router_tool_entrypoint_parity.py@@ -8,7 +8,7 @@ it out on every boot and it could never load.The cost was not the dead code — it was the documentation. Three separate docsconcluded from the entry point that the tool was live, and-``docs/LLM-CONTEXT.md`` went further and "corrected" CLAUDE.md in the wrong+``docs/LLM-CONTEXT.md`` went further and "corrected" AGENTS.md in the wrongdirection. Every agent session read that. A registration is a claim, and anunreachable claim is worse than an absence.diff --git a/tests/unit/brain/test_run_skill_tool.py b/tests/unit/brain/test_run_skill_tool.pyindex ba677cd13c..2ada22a939 100644--- a/tests/unit/brain/test_run_skill_tool.py+++ b/tests/unit/brain/test_run_skill_tool.py@@ -5,7 +5,7 @@ a skill by name, enforces DRAFT/DISABLED/block-tier rejection, and returns therendered skill body as instructions for the brain to follow — it nevermacro-executes. Optional ``resource`` argument serves bundled files(progressive disclosure L3). Tests use Fakes (no ``unittest.mock``) per-``CLAUDE.md`` testing-conventions.+``AGENTS.md`` testing-conventions."""from __future__ import annotationsdiff --git a/tests/unit/brain/test_wiki_relevance_planning_gate.py b/tests/unit/brain/test_wiki_relevance_planning_gate.pyindex 38e41b6b92..33ce76426f 100644--- a/tests/unit/brain/test_wiki_relevance_planning_gate.py+++ b/tests/unit/brain/test_wiki_relevance_planning_gate.py@@ -24,7 +24,7 @@ from jarvis.brain.wiki_relevance import should_consult_memory@pytest.mark.parametrize("utterance",[- # de (CLAUDE.md §1, closed-list item 4 — speech input under test)+ # de (AGENTS.md §1, closed-list item 4 — speech input under test)"Was soll ich heute Abend machen?", # i18n-allow: German input under test"Wie komme ich am besten nach Berlin?", # i18n-allow: German input under test"Hast du Ideen fuer das Wochenende?", # i18n-allow: German input under testdiff --git a/tests/unit/ci/test_agent_projection.py b/tests/unit/ci/test_agent_projection.pyindex fafd8434bd..e363d5d6e7 100644--- a/tests/unit/ci/test_agent_projection.py+++ b/tests/unit/ci/test_agent_projection.py@@ -5,7 +5,7 @@ from __future__ import annotationsimport subprocessfrom pathlib import Path-from scripts.ci import sync_agents_dir, sync_agents_md, sync_codex_agents+from scripts.ci import sync_agents_dir, sync_codex_agentsdef _git(repo: Path, *args: str) -> bytes:@@ -18,7 +18,6 @@ def _git(repo: Path, *args: str) -> bytes:def _set_roots(monkeypatch, repo: Path) -> None:- monkeypatch.setattr(sync_agents_md, "_repo_root", lambda: repo)monkeypatch.setattr(sync_agents_dir, "_repo_root", lambda: repo)monkeypatch.setattr(sync_codex_agents, "REPO_ROOT", repo)monkeypatch.setattr(sync_codex_agents, "SOURCE_DIR", repo / ".agents" / "agents")@@ -29,7 +28,6 @@ def test_shared_sources_generate_and_stage_compatibility_files(tmp_path, monkeyp_git(tmp_path, "init", "-q")_set_roots(monkeypatch, tmp_path)(tmp_path / "AGENTS.md").write_text("shared rules\n", encoding="utf-8")- (tmp_path / "CLAUDE.md").write_text("stale rules\n", encoding="utf-8")source = tmp_path / ".agents" / "agents" / "reviewer.md"source.parent.mkdir(parents=True)source.write_text(@@ -38,15 +36,12 @@ def test_shared_sources_generate_and_stage_compatibility_files(tmp_path, monkeyp)_git(tmp_path, "add", "--", "AGENTS.md", ".agents/agents/reviewer.md")- assert sync_agents_md.main(["--check", "--quiet"]) == 1assert sync_agents_dir.main(["--check", "--quiet"]) == 1assert sync_codex_agents.project(check_only=True, quiet=True) == 1- assert sync_agents_md.main(["--stage", "--quiet"]) == 0assert sync_agents_dir.main(["--stage", "--quiet"]) == 0assert sync_codex_agents.project(check_only=False, stage=True, quiet=True) == 0- assert (tmp_path / "CLAUDE.md").read_bytes() == (tmp_path / "AGENTS.md").read_bytes()assert (tmp_path / ".claude" / "agents" / "reviewer.md").read_bytes() == source.read_bytes()assert "Review carefully." in (tmp_path / ".codex" / "agents" / "reviewer.toml").read_text(encoding="utf-8"@@ -54,7 +49,6 @@ def test_shared_sources_generate_and_stage_compatibility_files(tmp_path, monkeypstaged = set(_git(tmp_path, "diff", "--cached", "--name-only").decode().splitlines())assert staged == {"AGENTS.md",- "CLAUDE.md",".agents/agents/reviewer.md",".claude/agents/reviewer.md",".codex/agents/reviewer.toml",@@ -85,7 +79,6 @@ def test_matching_copies_are_staged_with_the_source(tmp_path, monkeypatch):_set_roots(monkeypatch, tmp_path)rules = "shared rules\n"(tmp_path / "AGENTS.md").write_text(rules, encoding="utf-8")- (tmp_path / "CLAUDE.md").write_text(rules, encoding="utf-8")source = tmp_path / ".agents" / "agents" / "reviewer.md"target = tmp_path / ".claude" / "agents" / "reviewer.md"source.parent.mkdir(parents=True)@@ -102,13 +95,11 @@ def test_matching_copies_are_staged_with_the_source(tmp_path, monkeypatch):)_git(tmp_path, "add", "--", "AGENTS.md", ".agents/agents/reviewer.md")- assert sync_agents_md.main(["--stage", "--quiet"]) == 0assert sync_agents_dir.main(["--stage", "--quiet"]) == 0assert sync_codex_agents.project(check_only=False, stage=True, quiet=True) == 0staged = set(_git(tmp_path, "diff", "--cached", "--name-only").decode().splitlines())assert staged == {"AGENTS.md",- "CLAUDE.md",".agents/agents/reviewer.md",".claude/agents/reviewer.md",".codex/agents/reviewer.toml",diff --git a/tests/unit/ci/test_check_agents_md.py b/tests/unit/ci/test_check_agents_md.pynew file mode 100644index 0000000000..50f6854224--- /dev/null+++ b/tests/unit/ci/test_check_agents_md.py@@ -0,0 +1,58 @@+"""AGENTS.md must stay the only agent-instructions file in the repository."""++from __future__ import annotations++import subprocess+from pathlib import Path++import pytest++from scripts.ci import check_agents_md+++def _repo(tmp_path: Path, monkeypatch, *files: str) -> Path:+ subprocess.run(["git", "-C", str(tmp_path), "init", "-q"], check=True)+ monkeypatch.setattr(check_agents_md, "_repo_root", lambda: tmp_path)+ for rel in files:+ path = tmp_path / rel+ path.parent.mkdir(parents=True, exist_ok=True)+ path.write_text("rules\n", encoding="utf-8")+ if files:+ subprocess.run(["git", "-C", str(tmp_path), "add", "--", *files], check=True)+ return tmp_path+++def test_agents_md_alone_passes(tmp_path, monkeypatch):+ _repo(tmp_path, monkeypatch, "AGENTS.md", "jarvis/AGENTS.md")++ assert check_agents_md.main(["--quiet"]) == check_agents_md.EXIT_OK+++def test_side_project_keeps_its_own_claude_md(tmp_path, monkeypatch):+ _repo(tmp_path, monkeypatch, "AGENTS.md", "skillbook/CLAUDE.md")++ assert check_agents_md.main(["--quiet"]) == check_agents_md.EXIT_OK+++ "shadow",+ ["CLAUDE.md", ".claude/CLAUDE.md", "CLAUDE.local.md", "jarvis/CLAUDE.md"],+)+def test_tracked_claude_md_is_blocked(tmp_path, monkeypatch, capsys, shadow):+ _repo(tmp_path, monkeypatch, "AGENTS.md", shadow)++ assert check_agents_md.main(["--quiet"]) == check_agents_md.EXIT_FORBIDDEN+ assert shadow in capsys.readouterr().err+++def test_untracked_claude_md_is_left_alone(tmp_path, monkeypatch):+ repo = _repo(tmp_path, monkeypatch, "AGENTS.md")+ (repo / "CLAUDE.local.md").write_text("my own notes\n", encoding="utf-8")++ assert check_agents_md.main(["--quiet"]) == check_agents_md.EXIT_OK+++def test_missing_agents_md_is_a_setup_error(tmp_path, monkeypatch):+ _repo(tmp_path, monkeypatch, "README.md")++ assert check_agents_md.main(["--quiet"]) == check_agents_md.EXIT_SETUPdiff --git a/tests/unit/ci/test_check_release_completeness.py b/tests/unit/ci/test_check_release_completeness.pyindex 3a57339caa..75ca08b3ad 100644--- a/tests/unit/ci/test_check_release_completeness.py+++ b/tests/unit/ci/test_check_release_completeness.py@@ -1,7 +1,7 @@"""Fail-closed tests for the release-completeness gate's pure helpers.The gate exists so a release can never SILENTLY ship without local work-(CLAUDE.md section 2 + docs/device-parity-debugging.md). These tests pin the+(AGENTS.md section 2 + docs/device-parity-debugging.md). These tests pin thedecision logic that does not need a live git repo or network: dirty-pathparsing (renames included), the volatile-telemetry allowlist, version-parityreading, and the published-release tag match.diff --git a/tests/unit/commands/test_registry_parity.py b/tests/unit/commands/test_registry_parity.pyindex f9f631a588..8b34fbd792 100644--- a/tests/unit/commands/test_registry_parity.py+++ b/tests/unit/commands/test_registry_parity.py@@ -223,7 +223,7 @@ def test_registry_dicts_are_json_serializable_and_small() -> None:@pytest.mark.parametrize("locale", ["de", "en", "es"])def test_every_command_has_voice_aliases_for_all_supported_locales(locale) -> None:- """Supported languages are equal (CLAUDE.md §1) — no de/en-only bias."""+ """Supported languages are equal (AGENTS.md §1) — no de/en-only bias."""for cmd in get_registry():assert cmd.voice_aliases.get(locale), (f"{cmd.id}: missing {locale} voice alias"diff --git a/tests/unit/control/test_cancel.py b/tests/unit/control/test_cancel.pyindex bf2df95698..dc5386af07 100644--- a/tests/unit/control/test_cancel.py+++ b/tests/unit/control/test_cancel.py@@ -162,7 +162,7 @@ async def test_bind_is_idempotent_per_bus():@pytest.mark.asyncioasync def test_forward_kill_bridges_between_busses():- """Two-bus problem from CLAUDE.md: KillSwitch can forward an event from+ """Two-bus problem from AGENTS.md: KillSwitch can forward an event frombus A to bus B."""ui_bus = EventBus()diff --git a/tests/unit/core/test_secret_locked_keyring.py b/tests/unit/core/test_secret_locked_keyring.pyindex 0932bec746..8199ccaa1e 100644--- a/tests/unit/core/test_secret_locked_keyring.py+++ b/tests/unit/core/test_secret_locked_keyring.py@@ -9,7 +9,7 @@ engaged for ``fail.Keyring`` was skipped, ``keyring.set_password`` raised``KeyringLocked``, and ``set_secret`` returned False. The in-app POST``/secrets/{key}`` route turns that into HTTP 500, so pasting a key in the UIfailed and nothing persisted. A locked/unusable OS keyring must degrade to the-file store at RUNTIME, keeping the "recoverable in-app" guarantee (CLAUDE.md §3).+file store at RUNTIME, keeping the "recoverable in-app" guarantee (AGENTS.md §3)."""from __future__ import annotationsdiff --git a/tests/unit/core/test_turn_language.py b/tests/unit/core/test_turn_language.pyindex 2a9e6e216e..9d34cbd2f7 100644--- a/tests/unit/core/test_turn_language.py+++ b/tests/unit/core/test_turn_language.py@@ -119,7 +119,7 @@ def test_unknown_everything_falls_back_to_default() -> None:# every spoken/written layer must consume. Precedence: explicit reply-language# pin (de/en/es) > detected input language (text > STT tag) > default locale.# This is the contract enforced by the "Runtime Output Language" doctrine in-# CLAUDE.md (2026-06-18 forensic: a German utterance mis-transcribed as English+# AGENTS.md (2026-06-18 forensic: a German utterance mis-transcribed as English# made the whole chain go English because each layer re-derived language).# ---------------------------------------------------------------------------diff --git a/tests/unit/dictation/test_delivery_gates.py b/tests/unit/dictation/test_delivery_gates.pyindex 2a38d34445..6e40f13af7 100644--- a/tests/unit/dictation/test_delivery_gates.py+++ b/tests/unit/dictation/test_delivery_gates.py@@ -39,7 +39,7 @@ from jarvis.speech.pipeline import SpeechPipeline, _is_silence_hallucinationBYTES_PER_SECOND = 16_000 * 2# German fixtures. A transcript reproduces the speaker's own words, so the-# dictated German IS the thing under test here (CLAUDE.md §1, list #4).+# dictated German IS the thing under test here (AGENTS.md §1, list #4).DE_SENTENCE = "Er hat gesagt, dass er das Dokument gleich schickt." # i18n-allow: fixtureDE_THANKS = "Vielen Dank für das Update" # i18n-allow: fixturediff --git a/tests/unit/dictation/test_polish_parity.py b/tests/unit/dictation/test_polish_parity.pyindex 17e7535b43..df84aff7f1 100644--- a/tests/unit/dictation/test_polish_parity.py+++ b/tests/unit/dictation/test_polish_parity.py@@ -1,6 +1,6 @@"""Cross-layer parity guards for the two vocabularies the polish pass added (AP-4).-CLAUDE.md §5 asks for this test PREEMPTIVELY, before a value has drifted, because+AGENTS.md §5 asks for this test PREEMPTIVELY, before a value has drifted, becausethe five-layer drift bug (BUG-008) has recurred four times in this repo and everyrecurrence looked different on the surface. Two vocabularies started crossinglayers when the wording pass landed, and neither had a guard:@@ -329,7 +329,7 @@ def test_the_language_tab_says_the_transcript_leaves_the_machine() -> None:def test_the_privacy_sentence_hardcodes_no_product_name() -> None:- """CLAUDE.md §4: a visible product name is derived from the wake word.+ """AGENTS.md §4: a visible product name is derived from the wake word.The sentence talks about "your speech recognition" and "the model you pick"on purpose — naming the app would be a hardcoded brand, and naming adiff --git a/tests/unit/dictation/test_translate.py b/tests/unit/dictation/test_translate.pyindex ee2d8d7b1e..def2c89530 100644--- a/tests/unit/dictation/test_translate.py+++ b/tests/unit/dictation/test_translate.py@@ -57,7 +57,7 @@ from jarvis.dictation.polish_prompt import RAW_OPEN_DELIMITER# The German below is the MATERIAL under test, not prose: a translation test# needs text in a language other than the target, and the language detector the# guards run on knows de/en/es — so the fixture has to be one of those to-# exercise the check at all (CLAUDE.md §1, allowed category 4).+# exercise the check at all (AGENTS.md §1, allowed category 4).GERMAN = ("also ich glaube wir sollten den bericht am dienstag rausschicken" # i18n-allow)@@ -817,7 +817,7 @@ def test_the_openai_wording_models_come_from_the_verified_catalog() -> None:"""The wording pass and the brain must not disagree about what OpenAI serves.This family's default sat on a 2025 model id for long enough that nobody- noticed (CLAUDE.md §3 forbids a default that old). Tying both ids to the+ noticed (AGENTS.md §3 forbids a default that old). Tying both ids to thecurated roster the brain already keeps current means the next refresh ofthat roster cannot leave this pass behind — and a removal there fails hereinstead of 404-ing at dictation time.diff --git a/tests/unit/docs/test_adr_uniqueness.py b/tests/unit/docs/test_adr_uniqueness.pyindex f6ecd122a4..73c589750e 100644--- a/tests/unit/docs/test_adr_uniqueness.py+++ b/tests/unit/docs/test_adr_uniqueness.py@@ -24,7 +24,7 @@ _NUMBER_RE = re.compile(r"^(\d{4})-")# Legacy duplicates that pre-date this test. Adding to this list MUST# be accompanied by an ADR explaining why a renumber was not feasible-# (typically: published inbound links from CLAUDE.md, BUGS.md, or other+# (typically: published inbound links from AGENTS.md, BUGS.md, or other# ADRs). The Wave-4 doc flags these for a follow-up renumber sweep._ALLOWED_DUPLICATES: frozenset[str] = frozenset({"0009", # awareness-architecture + self-healing-worker-criticdiff --git a/tests/unit/plugins/stt/test_stt_error_classification.py b/tests/unit/plugins/stt/test_stt_error_classification.pyindex 615d254702..52a4e94805 100644--- a/tests/unit/plugins/stt/test_stt_error_classification.py+++ b/tests/unit/plugins/stt/test_stt_error_classification.py@@ -143,7 +143,7 @@ def _raise_from_gemini(status: int, headers: dict[str, str] | None = None) -> Ba#: Every cloud STT plugin, by provider id. The behaviour these share is a#: CAPABILITY — "the pipeline can read a status off my failure" — not a type#: (AP-21). Groq reaches it through ``httpx.HTTPStatusError`` because that-#: plugin may not import ``jarvis.*`` at all, not even lazily (CLAUDE.md §5,+#: plugin may not import ``jarvis.*`` at all, not even lazily (AGENTS.md §5,#: pinned by tests/contract/test_stt_protocol.py); the other three reach it#: through the shared ``STTHTTPError``. Both satisfy the consumer, which is the#: only thing that decides whether a user's turn survives a 429.diff --git a/tests/unit/plugins/stt/test_transcript_filter.py b/tests/unit/plugins/stt/test_transcript_filter.pyindex 1f56b19298..60f077a9f2 100644--- a/tests/unit/plugins/stt/test_transcript_filter.py+++ b/tests/unit/plugins/stt/test_transcript_filter.py@@ -1,7 +1,7 @@"""Transcript cleanup filter — ``jarvis.plugins.stt.transcript_filter``.The German and Spanish strings in this file are the speech under test: a filter-that removes German hesitation sounds cannot be tested in English (CLAUDE.md §1,+that removes German hesitation sounds cannot be tested in English (AGENTS.md §1,allowed category 4)."""from __future__ import annotationsdiff --git a/tests/unit/plugins/stt/test_transcript_filter_parity.py b/tests/unit/plugins/stt/test_transcript_filter_parity.pyindex 3de1a097e3..4f76b0b091 100644--- a/tests/unit/plugins/stt/test_transcript_filter_parity.py+++ b/tests/unit/plugins/stt/test_transcript_filter_parity.py@@ -12,7 +12,7 @@ Two failure modes this pins, both of which are invisible until a user reports``raw_text`` turns the user's filler switch into a no-op (AP-31) and makeswake judge an edited transcript (AP-27).-The German fixtures are the speech under test (CLAUDE.md §1, category 4).+The German fixtures are the speech under test (AGENTS.md §1, category 4)."""from __future__ import annotationsdiff --git a/tests/unit/realtime/test_protocol.py b/tests/unit/realtime/test_protocol.pyindex 26709a93d6..0512c486f3 100644--- a/tests/unit/realtime/test_protocol.py+++ b/tests/unit/realtime/test_protocol.py@@ -78,7 +78,7 @@ def test_event_can_mark_a_self_initiated_interruption():def test_no_event_language_field_defaults_to_one_particular_language():- """CLAUDE.md §1: supported locales are equal, so a language field whose+ """AGENTS.md §1: supported locales are equal, so a language field whosepublisher omitted it must fall back to the SHARED default.These defaults were the literal "de", so any event published without adiff --git a/tests/unit/realtime/test_session.py b/tests/unit/realtime/test_session.pyindex ac5c04d1c6..3d3d81946a 100644--- a/tests/unit/realtime/test_session.py+++ b/tests/unit/realtime/test_session.py@@ -9099,7 +9099,7 @@ async def test_a_handshake_resource_exhausted_says_busy_not_unreachable():@pytest.mark.asyncioasync def test_the_handshake_notice_follows_the_pinned_reply_language():- """One resolver decides, here as everywhere (CLAUDE.md §1 runtime rule 1).+ """One resolver decides, here as everywhere (AGENTS.md §1 runtime rule 1).Every supported locale is equal: a Spanish-pinned user must not be told inEnglish (or German) that the call is ending.diff --git a/tests/unit/realtime/test_session_skills_roster.py b/tests/unit/realtime/test_session_skills_roster.pyindex 108caf58d1..37d326ddf6 100644--- a/tests/unit/realtime/test_session_skills_roster.py+++ b/tests/unit/realtime/test_session_skills_roster.py@@ -134,7 +134,7 @@ def test_the_session_instructions_name_every_installed_skill(def test_the_compact_profile_also_names_the_skills(skills_root: Path) -> None:"""A small self-hosted brain gets a shorter roster, never no roster —- provider parity is not optional (CLAUDE.md §3)."""+ provider parity is not optional (AGENTS.md §3)."""_install(skills_root)instructions = session_module._session_instructions(diff --git a/tests/unit/skills/test_authoring_request.py b/tests/unit/skills/test_authoring_request.pyindex de07a86712..4e7ad2c45d 100644--- a/tests/unit/skills/test_authoring_request.py+++ b/tests/unit/skills/test_authoring_request.py@@ -5,7 +5,7 @@ service they name is the skill's CONTENT, never a command — so a brandmentioned inside the request must not capture the turn. Precision overrecall: every entry in the "misses" section is a hard negative.-Lightweight fakes, no ``unittest.mock`` (CLAUDE.md testing convention).+Lightweight fakes, no ``unittest.mock`` (AGENTS.md testing convention)."""from __future__ import annotationsdiff --git a/tests/unit/skills/test_explicit_request.py b/tests/unit/skills/test_explicit_request.pyindex a936c2fb60..c00778ed6f 100644--- a/tests/unit/skills/test_explicit_request.py+++ b/tests/unit/skills/test_explicit_request.py@@ -5,7 +5,7 @@ The resolver is the deterministic form of the doctrine inskill class. Precision over recall — every test in the "misses" section is ahard negative that must never resolve.-Lightweight fakes, no ``unittest.mock`` (CLAUDE.md testing convention).+Lightweight fakes, no ``unittest.mock`` (AGENTS.md testing convention)."""from __future__ import annotationsdiff --git a/tests/unit/skills/test_prompt_injection.py b/tests/unit/skills/test_prompt_injection.pyindex e600537950..7bbd18577f 100644--- a/tests/unit/skills/test_prompt_injection.py+++ b/tests/unit/skills/test_prompt_injection.py@@ -5,7 +5,7 @@ SkillRegistry snapshot into a Markdown ``## AVAILABLE SKILLS`` block that theBrainManager appends to the system prompt. Bullets carry description +when_to_use, capped at 1536 chars per entry.-These tests use lightweight Fakes (no ``unittest.mock``, per CLAUDE.md+These tests use lightweight Fakes (no ``unittest.mock``, per AGENTS.mdtesting convention)."""from __future__ import annotationsdiff --git a/tests/unit/speech/test_announcement_language.py b/tests/unit/speech/test_announcement_language.pyindex c84e721b0a..82973f2ed1 100644--- a/tests/unit/speech/test_announcement_language.py+++ b/tests/unit/speech/test_announcement_language.py@@ -12,7 +12,7 @@ stale/wrong) language an emitter stamped on the event drove the TTS voice.These tests pin the contract: the event tag is only a HINT (passed where theSTT tag normally goes); the pin wins, then conversation stickiness for thinturns, then the detected language of the announcement text, then the tag.-See CLAUDE.md "Runtime Output Language".+See AGENTS.md "Runtime Output Language"."""from __future__ import annotationsdiff --git a/tests/unit/speech/test_dictation_lifecycle_events.py b/tests/unit/speech/test_dictation_lifecycle_events.pyindex 00297533a6..86275236eb 100644--- a/tests/unit/speech/test_dictation_lifecycle_events.py+++ b/tests/unit/speech/test_dictation_lifecycle_events.py@@ -4,7 +4,7 @@ Before this, the only signals a dictation produced were the live transcript andthe completion — both at or after the END. A surface therefore could not show"listening" until the first partial arrived (a partial interval plus an STTround-trip later, and never at all for a short press), and a refused start was-a ``log.info`` in a file the desktop app cannot display (CLAUDE.md §9), so the+a ``log.info`` in a file the desktop app cannot display (AGENTS.md §9), so theshortcut simply did nothing with no way to learn why.Pinned here:diff --git a/tests/unit/speech/test_dictation_no_audio_dropped.py b/tests/unit/speech/test_dictation_no_audio_dropped.pyindex ea144ec7a0..f170d909e8 100644--- a/tests/unit/speech/test_dictation_no_audio_dropped.py+++ b/tests/unit/speech/test_dictation_no_audio_dropped.py@@ -294,7 +294,7 @@ async def test_fillers_are_removed_even_when_the_provider_names_no_language(pipe._record_dictation = _no_history # type: ignore[method-assign]- # The German hesitation sounds ARE the input under test (CLAUDE.md §1 #4):+ # The German hesitation sounds ARE the input under test (AGENTS.md §1 #4):# the filler rules are per-language, so proving they ran needs a sentence# in a language that has rules.spoken = "Also ähm ich wollte äh kurz Bescheid sagen" # i18n-allow: input under testdiff --git a/tests/unit/speech/test_dictation_recognition_language.py b/tests/unit/speech/test_dictation_recognition_language.pyindex 6adea8ba0c..adf7647ac9 100644--- a/tests/unit/speech/test_dictation_recognition_language.py+++ b/tests/unit/speech/test_dictation_recognition_language.py@@ -47,7 +47,7 @@ class TestWhatTheRecogniserIsAskedFor:assert resolve_recognition_language(pinned="auto", session_language=" ES ") == "es"def test_every_supported_language_is_carried_the_same_way(self):- """No de/en bias — a locale is a locale (CLAUDE.md §1)."""+ """No de/en bias — a locale is a locale (AGENTS.md §1)."""for code in ("de", "en", "es"):assert (resolve_recognition_language(pinned="auto", session_language=code)diff --git a/tests/unit/speech/test_output_language_pin.py b/tests/unit/speech/test_output_language_pin.pyindex 7215d69a51..80834898f3 100644--- a/tests/unit/speech/test_output_language_pin.py+++ b/tests/unit/speech/test_output_language_pin.py@@ -9,7 +9,7 @@ pipeline did NOT — it re-derived the turn language from text/STT alone. Thesetests pin the unified contract: ``SpeechPipeline._output_language`` resolves theturn's output language through ``resolve_output_language``, so a selectedlanguage reaches the ack preamble, the canned phrases and the TTS voice, while-``auto`` still mirrors the input. See CLAUDE.md "Runtime Output Language".+``auto`` still mirrors the input. See AGENTS.md "Runtime Output Language"."""from __future__ import annotationsdiff --git a/tests/unit/speech/test_speak_playback_timeout.py b/tests/unit/speech/test_speak_playback_timeout.pyindex 415bc815f2..18fddb5003 100644--- a/tests/unit/speech/test_speak_playback_timeout.py+++ b/tests/unit/speech/test_speak_playback_timeout.py@@ -952,7 +952,7 @@ async def test_timeout_phrase_resolves_in_input_language() -> None:def test_cause_aware_timeout_tables_cover_de_en_es() -> None:- """Both new cause-aware tables must carry every supported locale (CLAUDE.md+ """Both new cause-aware tables must carry every supported locale (AGENTS.md§1): an es speaker must never fall back to the wrong language."""for table in (_TIMEOUT_TOOL_STALL_PHRASE, _TIMEOUT_NO_ANSWER_PHRASE):assert {"de", "en", "es"} <= set(table), tablediff --git a/tests/unit/speech/test_stream_sentence_filter.py b/tests/unit/speech/test_stream_sentence_filter.pyindex 22fe0e5d02..041dd419d2 100644--- a/tests/unit/speech/test_stream_sentence_filter.py+++ b/tests/unit/speech/test_stream_sentence_filter.py@@ -264,7 +264,7 @@ async def test_filtered_sentence_never_interrupts_a_healthy_answer(assert spoken == ["Der Bericht ist fertig.", "Sonst noch was?"]assert FALLBACK_PHRASES["de"] not in spoken- # ... and the drop is on the record (CLAUDE.md §7: nothing swallowed).+ # ... and the drop is on the record (AGENTS.md §7: nothing swallowed).dropped = [r for r in caplog.records if "DROPPED" in r.getMessage()]assert len(dropped) == 1assert _POISON in dropped[0].getMessage()diff --git a/tests/unit/speech/test_wake_verifier.py b/tests/unit/speech/test_wake_verifier.pyindex a9af4c5b5d..61e50dd6db 100644--- a/tests/unit/speech/test_wake_verifier.py+++ b/tests/unit/speech/test_wake_verifier.py@@ -149,7 +149,7 @@ async def test_verify_returns_true_when_transcript_has_hey_prefix() -> None:# inherited — so a wake was verified by ASSERTING the audio is German no# matter who was speaking, garbling the transcript the matcher then has to# satisfy. A layer that cannot tell must fall back honestly, never guess one- # locale (CLAUDE.md runtime-output-language rule, and the same §3+ # locale (AGENTS.md runtime-output-language rule, and the same §3# universality contract that forbids tuning to one user).assert stt.calls == [(len(PCM_2S_16K), 16_000, None)]diff --git a/tests/unit/test_claude_auth.py b/tests/unit/test_claude_auth.pyindex 2b61b66fc7..3e8a87bd1d 100644--- a/tests/unit/test_claude_auth.py+++ b/tests/unit/test_claude_auth.py@@ -676,7 +676,7 @@ def test_the_default_dir_is_recognised_without_a_hardcoded_separator("""Built from Path.home(), so the home fallback is not Windows-only.A hand-written "~/.claude" string is a per-OS guess about the separator;- this repo ships the same behaviour on macOS and Linux (CLAUDE.md §3).+ this repo ships the same behaviour on macOS and Linux (AGENTS.md §3)."""home = tmp_path / "home"monkeypatch.setattr(Path, "home", classmethod(lambda _cls: home))diff --git a/tests/unit/test_recognition_languages.py b/tests/unit/test_recognition_languages.pyindex c503a6a524..d1d4e89c97 100644--- a/tests/unit/test_recognition_languages.py+++ b/tests/unit/test_recognition_languages.py@@ -12,7 +12,7 @@ user sees an option that will not save.locales the product *speaks*. But what Jarvis can understand is a differentquestion from what it can answer in, and capping recognition at three languagesmeant a Mandarin, Japanese or Arabic speaker could not dictate at all. That is-the maintainer's-config-is-the-baseline mistake in miniature (CLAUDE.md §3), so+the maintainer's-config-is-the-baseline mistake in miniature (AGENTS.md §3), sothe floor is asserted, not assumed."""from __future__ import annotationsdiff --git a/tests/unit/ui/jarvisbar/test_mode_parity.py b/tests/unit/ui/jarvisbar/test_mode_parity.pyindex 7a04ca4e30..837e3bb5ab 100644--- a/tests/unit/ui/jarvisbar/test_mode_parity.py+++ b/tests/unit/ui/jarvisbar/test_mode_parity.py@@ -103,7 +103,7 @@ def test_the_tk_surface_still_rejects_an_unknown_mode() -> None:@pytest.mark.parametrize("mode", modes.MODES)def test_the_ipc_proxy_accepts_and_forwards_every_mode(mode: str) -> None:"""The macOS proxy must put every mode on the wire, or the feature is- Windows/Linux-only — a silent OS-parity hole (CLAUDE.md §3)."""+ Windows/Linux-only — a silent OS-parity hole (AGENTS.md §3)."""proxy = subprocess_mod.SubprocessBarOverlay.__new__(subprocess_mod.SubprocessBarOverlay)diff --git a/tests/unit/ui/web/test_dictation_polish_routes.py b/tests/unit/ui/web/test_dictation_polish_routes.pyindex 89012080af..03e315badf 100644--- a/tests/unit/ui/web/test_dictation_polish_routes.py+++ b/tests/unit/ui/web/test_dictation_polish_routes.py@@ -381,7 +381,7 @@ def test_the_dry_run_never_500s_when_the_pass_is_unreachable(def test_the_dry_run_is_reachable_from_the_cli_surface(app: FastAPI) -> None:"""Tagged ``dictation``, so it becomes a ``jarvis api dictation`` command- for free — the CLI-first contract (CLAUDE.md §5)."""+ for free — the CLI-first contract (AGENTS.md §5)."""spec = app.openapi()["paths"]["/api/dictation/polish/test"]["post"]assert spec["tags"] == ["dictation"]diff --git a/tests/unit/ui/web/test_dictation_routes.py b/tests/unit/ui/web/test_dictation_routes.pyindex 602869d849..d57d7fd934 100644--- a/tests/unit/ui/web/test_dictation_routes.py+++ b/tests/unit/ui/web/test_dictation_routes.py@@ -780,7 +780,7 @@ def _described_strings(node: Any) -> Iterator[str]:def test_no_openapi_description_hardcodes_an_assistant_name(app: FastAPI) -> None:- """CLAUDE.md §4: a user-visible string never carries a fixed brand.+ """AGENTS.md §4: a user-visible string never carries a fixed brand.These descriptions are user-visible twice over — the /docs page and thegenerated ``jarvis api dictation --help`` — so a sentence naming thediff --git a/tests/unit/ui/web/test_keybind_action_ts_parity.py b/tests/unit/ui/web/test_keybind_action_ts_parity.pyindex 43a7815c4d..429b8be28d 100644--- a/tests/unit/ui/web/test_keybind_action_ts_parity.py+++ b/tests/unit/ui/web/test_keybind_action_ts_parity.py@@ -37,7 +37,7 @@ _FRONTEND = _REPO_ROOT / "jarvis" / "ui" / "web" / "frontend" / "src"_HOTKEY_TS = _FRONTEND / "hooks" / "useHotkey.ts"_LOCALES = _FRONTEND / "i18n" / "locales"-#: The locales the product ships. All of them are equal (CLAUDE.md §1) — a key+#: The locales the product ships. All of them are equal (AGENTS.md §1) — a key#: that exists only in English is a bug for every other user, not a nicety.SUPPORTED_LOCALES = ("de", "en", "es")diff --git a/tests/unit/ui/web/test_section_id_parity.py b/tests/unit/ui/web/test_section_id_parity.pyindex ca3282410a..ccfb91ef8c 100644--- a/tests/unit/ui/web/test_section_id_parity.py+++ b/tests/unit/ui/web/test_section_id_parity.py@@ -232,7 +232,7 @@ def test_every_voice_section_id_has_a_nav_key_in_every_locale() -> None:def test_the_merged_sidebar_row_carries_the_brand_token_not_a_name() -> None:- """CLAUDE.md §4 — the user-visible brand is derived from the wake word.+ """AGENTS.md §4 — the user-visible brand is derived from the wake word.``nav.voice`` is the one label of this section that reaches the sidebar, soa hardcoded product name here would show up for every user regardless ofdiff --git a/tests/unit/ui/web/test_setup_report_routes.py b/tests/unit/ui/web/test_setup_report_routes.pyindex 69372c5d28..c370629798 100644--- a/tests/unit/ui/web/test_setup_report_routes.py+++ b/tests/unit/ui/web/test_setup_report_routes.py@@ -1,7 +1,7 @@"""REST-route tests for the cross-device setup report.The report exists to name why one install behaves differently from another-(CLAUDE.md §3 device-parity triage), so the tests pin its three contracts:+(AGENTS.md §3 device-parity triage), so the tests pin its three contracts:1. Share-safety: credentials appear strictly as presence BOOLEANS — a reportmust be pasteable into an issue without scrubbing.diff --git a/tests/unit/voice/test_echo_confirmation_es.py b/tests/unit/voice/test_echo_confirmation_es.pyindex 50b2008dac..f7331d3176 100644--- a/tests/unit/voice/test_echo_confirmation_es.py+++ b/tests/unit/voice/test_echo_confirmation_es.py@@ -1,6 +1,6 @@"""Spanish coverage for ``echo_confirmation.classify_response``.-Runtime Output Language doctrine (CLAUDE.md): the yes/no classifier must cover+Runtime Output Language doctrine (AGENTS.md): the yes/no classifier must coverde/en/es. Before this, ``language="es"`` silently fell into the German branch, soa Spanish "sí"/"no" was misclassified as "unknown" — an es-pinned user could notconfirm or veto a consequential action by voice. Veto keeps priority over confirmdiff --git a/tests/unit/web/test_local_only_install_has_every_tier.py b/tests/unit/web/test_local_only_install_has_every_tier.pyindex 3d89298ba2..bb489d3f61 100644--- a/tests/unit/web/test_local_only_install_has_every_tier.py+++ b/tests/unit/web/test_local_only_install_has_every_tier.py@@ -1,6 +1,6 @@"""A download whose only hardware is their own must reach every tier.-Personal Jarvis is aimed at an arbitrary downloader (CLAUDE.md section 3), and+Personal Jarvis is aimed at an arbitrary downloader (AGENTS.md section 3), anda meaningful share of them will not enter a single cloud credential — that isthe whole point of the local providers. For those installs "mostly local" isnot a state the product should have: one keyless gap means the voice mode, thediff --git a/tests/unit/workflows/test_seed_scheduled.py b/tests/unit/workflows/test_seed_scheduled.pyindex 886cf6d352..388bd7f889 100644--- a/tests/unit/workflows/test_seed_scheduled.py+++ b/tests/unit/workflows/test_seed_scheduled.py@@ -72,7 +72,7 @@ def test_the_morning_briefing_needs_no_credentials() -> None:def test_the_morning_briefing_pins_no_language() -> None:"""The one resolver decides the output language, not the seed- (CLAUDE.md §1). This seed used to hardcode German for every downloader."""+ (AGENTS.md §1). This seed used to hardcode German for every downloader."""briefing = _seed("Morning Briefing")speak = next(s for s in briefing.steps if isinstance(s, SpeakStep))assert speak.language == "auto"diff --git a/ui/orb/bus_bridge.py b/ui/orb/bus_bridge.pyindex 40a4ba9420..dae0fa5a07 100644--- a/ui/orb/bus_bridge.py+++ b/ui/orb/bus_bridge.py@@ -149,7 +149,7 @@ VOICE_BUBBLE_DURATION_MS = 30_000# Shown in the orb bubble while the brain is thinking and no reply text exists# yet. User-facing German conversational UI on purpose: the same bubble renders-# the German live transcript and the German reply, and CLAUDE.md keeps+# the German live transcript and the German reply, and AGENTS.md keeps# user-facing conversational content German. Single source of truth so it is# trivially translatable later.THINKING_BUBBLE_TEXT = "Denke nach …" # i18n-allow@@ -1264,7 +1264,7 @@ class OrbBusBridge:"""The dictation shortcut was pressed and DECLINED — say so on screen.This is the whole reported bug. Every refusal used to end as a- ``log.info`` in a file the desktop app cannot open (CLAUDE.md §9: the+ ``log.info`` in a file the desktop app cannot open (AGENTS.md §9: thewindow is a WebView with no dev tools), so on the maintainer'sconfiguration — one wake word, ``session_idle_timeout_s = 0``, no hangupkey — a voice conversation stayed open all day and from then on EVERY