Skip to content

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

fix(ci): harden release admission and prepare v2.5.0

rubenluetke10-beep563cfcf66778
diff --git a/.gitattributes b/.gitattributes
index febe21ac41..c1e4f9aceb 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -35,6 +35,8 @@ verify-wave6.sh text eol=lf
# POSIX launcher (parity twin of run.bat) — CRLF breaks the shebang.
run.sh text eol=lf
+# Every POSIX script must parse after a Windows checkout as well.
+*.sh text eol=lf
# The supply-chain documentation, workflows, and in-toto layout are
# also pinned to LF so any future inclusion in the signed-artifact
diff --git a/.github/workflows/release-cut.yml b/.github/workflows/release-cut.yml
index ed14d01c26..64307ba454 100644
--- a/.github/workflows/release-cut.yml
+++ b/.github/workflows/release-cut.yml
@@ -63,7 +63,7 @@ jobs:
- name: main must be green
run: |
state="$(gh api "repos/$GITHUB_REPOSITORY/commits/$GITHUB_SHA/check-runs?check_name=CI%20gate" \
- --jq '[.check_runs[] | select(.status=="completed")][0].conclusion // "missing"')"
+ --jq '(.check_runs | max_by(.id)) | if .status == "completed" then .conclusion else (.status // "missing") end')"
echo "CI gate on $GITHUB_SHA: $state"
[ "$state" = "success" ] || { echo "::error::main is not green ($state) - no release."; exit 1; }
- name: Bump version + CHANGELOG
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 521eef813f..5543a482ae 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -100,6 +100,7 @@ jobs:
publish:
name: Publish to PyPI
+ if: github.ref_type == 'tag'
needs: build
runs-on: ubuntu-latest
environment: pypi
diff --git a/.github/workflows/sign-installer.yml b/.github/workflows/sign-installer.yml
index 188e0f484f..cbd7356a28 100644
--- a/.github/workflows/sign-installer.yml
+++ b/.github/workflows/sign-installer.yml
@@ -820,6 +820,7 @@ jobs:
# provenance `invocation` subject
# ----------------------------------------------------------------------
provenance:
+ if: github.ref_type == 'tag'
needs: sign
permissions:
id-token: write
@@ -878,6 +879,7 @@ jobs:
# ML-DSA signatures (the `sign` job) remain mandatory.
# ----------------------------------------------------------------------
release:
+ if: github.ref_type == 'tag'
needs: [sign]
runs-on: ubuntu-latest
timeout-minutes: 5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5ef8797221..4c0fd240e3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,28 @@ versioning per [SemVer](https://semver.org/).
---
+## [2.5.0] — 2026-10-01
+
+### Added
+
+- Quick switcher with a configurable keyboard shortcut and faster section navigation.
+- Move coding terminals between workspaces without restarting the agent.
+- Remote agents retain approved Jarvis tools through scoped SSH forwarding.
+
+### Changed
+
+- Background learning and wiki work use the connected agent seat and respect subscription billing boundaries.
+- Remove default scheduled work and retain user-edited skills during migration.
+- Integrate local desktop updates with the latest published installation and permission fixes.
+
+### Fixed
+
+- Improve dictation delivery, retained terminal rendering, and delegation result routing.
+- Require release tags for publishing and reject superseded CI successes during release admission.
+- Require explicit opt-in for live realtime integration calls and keep shell scripts portable across checkouts.
+
+---
+
## [2.4.4] — 2026-09-30
### Added
diff --git a/docs/product/extend-and-automate/skills.md b/docs/product/extend-and-automate/skills.md
index 58cdb91f2f..9312c84563 100644
--- a/docs/product/extend-and-automate/skills.md
+++ b/docs/product/extend-and-automate/skills.md
@@ -15,15 +15,9 @@ tags: [skills, automation, triggers, safety, extensions]
related: [plugins, mcp-connections, jarvis-agents, safety-and-approvals]
---
-A skill is a saved playbook for Jarvis. It describes how you want a recurring
-kind of work handled, such as how to prepare a briefing, organize notes, or
-review a file. When a request matches, Jarvis loads the playbook and follows it
-with the capabilities already available in the app.
-
-Skills are useful when the method matters as much as the result. They do not
-create access to an app, add a missing action, or store a service credential.
-Connect those capabilities separately, then let the skill explain when and how
-to use them.
+A skill is a saved playbook for recurring work, such as briefings or file
+reviews. Jarvis follows it with the capabilities you have connected. Skills
+do not grant app access, add actions, or store credentials.
## Choose the Right Building Block
@@ -35,10 +29,7 @@ to use them.
| **MCP connection** | Tools supplied by an external service through Model Context Protocol (MCP) | A skill needs to read from or act in a connected service |
| **Jarvis-Agent** | An isolated background worker for longer, reviewed work | The task needs several substantial steps or should continue outside the conversation |
-A skill can tell Jarvis to use a command, plugin, or connected tool. A skill
-marked for mission execution can hand its instructions to a Jarvis-Agent. The
-skill remains the method; the other building block supplies the action or does
-the work.
+Skills can use connected tools or hand mission instructions to a Jarvis-Agent.
## Before You Start
diff --git a/jarvis/__init__.py b/jarvis/__init__.py
index 47ca2d7e58..38fe8aa0e3 100644
--- a/jarvis/__init__.py
+++ b/jarvis/__init__.py
@@ -1,3 +1,3 @@
"""Personal Jarvis — a voice-driven, cross-platform meta-orchestrator."""
-__version__ = "2.4.4"
+__version__ = "2.5.0"
diff --git a/jarvis/audio/effects.py b/jarvis/audio/effects.py
index 7034eb2ca6..9755b6fff1 100644
--- a/jarvis/audio/effects.py
+++ b/jarvis/audio/effects.py
@@ -51,20 +51,10 @@ class AudioEffectsService:
self, _event: ScreenCaptureGrabbed
) -> None:
"""Schedule and return; EventBus publication must never wait on audio."""
- # Every shared-service capture is an appshot to the user, so the
- # Appshots page's "play sound" switch owns this cue.
- self.play_capture_cue(section="appshot")
-
- def play_capture_cue(self, *, section: str) -> None:
- """Play the capture click-clack once, gated by ``[<section>].sound``.
-
- Must be called on the event loop; returns at once. ``[ui].sound_effects``
- silences it for every section. A cue already playing absorbs the call.
- """
current = self._capture_task
if current is not None and not current.done():
return
- task = asyncio.create_task(self._play_capture(section), name="screen-capture-cue")
+ task = asyncio.create_task(self._play_capture(), name="screen-capture-cue")
self._capture_task = task
def _clear(done: asyncio.Task[None]) -> None:
@@ -73,12 +63,14 @@ class AudioEffectsService:
task.add_done_callback(_clear)
- async def _play_capture(self, section: str) -> None:
+ async def _play_capture(self) -> None:
try:
config = await asyncio.to_thread(self._load_config)
if not bool(getattr(getattr(config, "ui", None), "sound_effects", True)):
return
- if not bool(getattr(getattr(config, section, None), "sound", True)):
+ # Every shared-service capture is an appshot to the user, so the
+ # Appshots page's "play sound" switch owns this cue.
+ if not bool(getattr(getattr(config, "appshot", None), "sound", True)):
return
player = self._bound_player()
if player is None:
diff --git a/jarvis/computers/remote_os.py b/jarvis/computers/remote_os.py
index 4ae6fc5d1e..421fa8a460 100644
--- a/jarvis/computers/remote_os.py
+++ b/jarvis/computers/remote_os.py
@@ -285,7 +285,7 @@ async def _login_path(session: Session) -> str | None:
answer = await run_command(
session, "/bin/sh -s", timeout_s=timeout, stdin=login_path_script(flags)
)
- except SshError:
+ except SshError: # Failed shell probe: try the next mode, then known paths.
continue
path = parse_login_path(answer.stdout)
if path:
diff --git a/jarvis/core/config.py b/jarvis/core/config.py
index 7ddb88f1d2..3b7ee3cf08 100644
--- a/jarvis/core/config.py
+++ b/jarvis/core/config.py
@@ -2609,56 +2609,6 @@ class AppshotConfig(BaseModel):
effect: bool = True
-class JarvisXConfig(BaseModel):
- """Top-level ``[jarvisx]`` config — the built-in screenshot and screen recorder.
-
- Jarvis X is a plain capture tool (``jarvis/jarvisx/``): region, window and
- full-screen screenshots plus region / full-screen recordings, each on its
- own global shortcut, saved to a folder and kept in a local library. It
- never involves the assistant: no Screen Context privacy pipeline, no
- delivery into a conversation. Every key below is read by
- ``jarvis.jarvisx`` (AP-31).
- """
-
- model_config = {"extra": "allow"}
-
- #: Master switch: off disarms every shortcut and refuses new captures.
- #: The library of earlier captures stays browsable.
- enabled: bool = True
-
- #: Global shortcuts in the shared hotkey syntax; an empty string turns
- #: that one shortcut off. The Ctrl+Shift+digit row stays clear of the OS
- #: screenshot keys (Win+Shift+S, Cmd+Shift+3/4/5) and every other
- #: Jarvis default.
- hotkey_region: str = "ctrl+shift+2"
- hotkey_window: str = "ctrl+shift+3"
- hotkey_fullscreen: str = "ctrl+shift+1"
- hotkey_record_region: str = "ctrl+shift+5"
- hotkey_record_fullscreen: str = "ctrl+shift+6"
- #: Stops a running recording (pressing its record shortcut again does too).
- hotkey_stop_recording: str = "ctrl+shift+4"
-
- #: ``true``: the corner thumbnail stays until it is dismissed. ``false``:
- #: it fades after ``thumbnail_dismiss_s`` seconds.
- thumbnail_persist: bool = False
- #: Clamped to 1..3600 where it is read, so a hand-edited value can never
- #: make the config unloadable.
- thumbnail_dismiss_s: int = 30
-
- #: Folder new captures are saved to. Empty = the user's Pictures folder
- #: (``Pictures/Jarvis X``), or the Jarvis data folder where there is none.
- save_dir: str = ""
-
- #: Also put each new screenshot on the system clipboard.
- copy_to_clipboard: bool = True
-
- #: Shutter sound on every capture (also gated by ``[ui].sound_effects``).
- sound: bool = True
-
- #: Flash plus the corner thumbnail card after every capture.
- effect: bool = True
-
-
class ComputerUseConfig(BaseModel):
"""Top-level ``[computer_use]`` config for the Computer-Use harness.
@@ -4456,9 +4406,6 @@ class JarvisConfig(BaseModel):
# Appshots: the front window as conversation context, on a shortcut or on
# request (jarvis/appshot/). Captures through Screen Context above.
appshot: AppshotConfig = Field(default_factory=AppshotConfig)
- # Jarvis X: the built-in screenshot / screen-recording tool
- # (jarvis/jarvisx/). Independent of Screen Context and the assistant.
- jarvisx: JarvisXConfig = Field(default_factory=JarvisXConfig)
# Phase 5/6 — Computer-Use-POAV-Harness (ADR-0008).
computer_use: ComputerUseConfig = Field(default_factory=ComputerUseConfig)
# Low-latency local-action gate. Hidden tools only; never exposed in the
diff --git a/jarvis/core/config_writer.py b/jarvis/core/config_writer.py
index 371587a557..9445eac3db 100644
--- a/jarvis/core/config_writer.py
+++ b/jarvis/core/config_writer.py
@@ -1028,58 +1028,6 @@ def set_appshot_settings(
_atomic_write(path, out)
-#: Keys ``[jarvisx]`` accepts (``jarvis.core.config.JarvisXConfig``). The
-#: route validates types and hotkeys first; this allowlist keeps a typo from
-#: ever landing in the file.
-JARVISX_SETTING_KEYS: frozenset[str] = frozenset(
- {
- "enabled",
- "hotkey_region",
- "hotkey_window",
- "hotkey_fullscreen",
- "hotkey_record_region",
- "hotkey_record_fullscreen",
- "hotkey_stop_recording",
- "thumbnail_persist",
- "thumbnail_dismiss_s",
- "save_dir",
- "copy_to_clipboard",
- "sound",
- "effect",
- }
-)
-
-
-def set_jarvisx_settings(
- values: dict[str, str | bool | int],
- *,
- path: Path = DEFAULT_CONFIG_FILE,
-) -> None:
- """Persist a validated ``[jarvisx]`` patch in one atomic replacement."""
- unknown = set(values).difference(JARVISX_SETTING_KEYS)
- if unknown:
- raise ValueError(f"unknown jarvisx setting(s): {sorted(unknown)!r}")
- if not values:
- return
- path = _ensure_writable_config_path(path)
- with _WRITE_LOCK:
- raw = path.read_text(encoding="utf-8")
- had_bom = raw.startswith(_BOM)
- if had_bom:
- raw = raw[len(_BOM) :]
- doc: TOMLDocument = tomlkit.parse(raw)
- section = doc.get("jarvisx")
- if section is None:
- section = tomlkit.table()
- doc["jarvisx"] = section
- for key, value in values.items():
- section[key] = value
- out = tomlkit.dumps(doc)
- if had_bom:
- out = _BOM + out
- _atomic_write(path, out)
-
-
def set_reply_language(name: str, *, path: Path = DEFAULT_CONFIG_FILE) -> None:
"""Persist the user-facing reply-language pin in ``[brain] reply_language``.
diff --git a/jarvis/core/events.py b/jarvis/core/events.py
index 888ecb11a0..e3a494e6ab 100644
--- a/jarvis/core/events.py
+++ b/jarvis/core/events.py
@@ -1278,48 +1278,6 @@ class AppshotTaken(Event):
height: int = 0
-@dataclass(frozen=True, slots=True)
-class JarvisXItemCreated(Event):
- """Jarvis X saved a new screenshot or recording to its library.
-
- Metadata only; the file is served by ``/api/jarvisx/items/<id>/file``.
- """
-
- id: str = ""
- #: ``image`` | ``video``.
- kind: str = ""
- #: ``region`` | ``window`` | ``fullscreen``.
- mode: str = ""
-
-
-@dataclass(frozen=True, slots=True)
-class JarvisXItemUpdated(Event):
- """A library item changed (an annotated copy was saved)."""
-
- id: str = ""
-
-
-@dataclass(frozen=True, slots=True)
-class JarvisXItemDeleted(Event):
- """A library item and its files were deleted."""
-
- id: str = ""
-
-
-@dataclass(frozen=True, slots=True)
-class JarvisXRecordingChanged(Event):
- """A Jarvis X screen recording started or stopped.
-
- Published on start and on stop only (not per second); a UI that shows a
- running timer counts ``elapsed_s`` forward itself.
- """
-
- recording: bool = False
- #: ``region`` | ``fullscreen`` while recording, ``""`` once stopped.
- mode: str = ""
- elapsed_s: float = 0.0
-
-
@dataclass(frozen=True, slots=True)
class ActionPlanned(Event):
"""The CU loop planner proposed the next action (before execution)."""
diff --git a/jarvis/skills/bootstrap.py b/jarvis/skills/bootstrap.py
index 62429c2e91..e6f858052e 100644
--- a/jarvis/skills/bootstrap.py
+++ b/jarvis/skills/bootstrap.py
@@ -213,7 +213,7 @@ def _retire_unshipped(
dst_md = dst / "SKILL.md"
try:
raw = dst_md.read_bytes()
- except FileNotFoundError:
+ except FileNotFoundError: # Already absent: no retired skill remains to remove.
continue
except OSError as exc:
log.warning("retired builtin skill '%s' unreadable, left alone: %s", name, exc)
diff --git a/jarvis/ui/desktop_app.py b/jarvis/ui/desktop_app.py
index 8f3958bdc6..6664a1fa87 100644
--- a/jarvis/ui/desktop_app.py
+++ b/jarvis/ui/desktop_app.py
@@ -109,11 +109,6 @@ DETACHABLE_VIEWS: dict[str, str] = {
# picture is something you keep looking at WHILE you carry on working, and
# on a second monitor it stops competing with the section that produced it.
"visualization": "Visualization",
- # The Jarvis X annotation editor. Never a section of the main window: it
- # opens from a capture's thumbnail card or the library, always on one
- # item (``&item=<id>``), and ONE editor window is reused — opening another
- # capture navigates it instead of stacking windows (open_jarvisx_editor).
- "jarvisx-editor": "Jarvis X Editor",
}
META_FILE_PATH = DATA_DIR / ".jarvis-running"
#: Timeout for the initial lock acquire, in seconds. 0 = non-blocking,
@@ -4855,7 +4850,7 @@ class DesktopApp:
return resolve_theme(self._configured_theme())
- def open_detached_window(self, view: str, query: str = "") -> dict[str, Any]:
+ def open_detached_window(self, view: str) -> dict[str, Any]:
"""Open ``view`` in its own solo window — MUST run on a worker thread.
pywebview materializes runtime windows only from a thread whose name is
@@ -4867,22 +4862,11 @@ class DesktopApp:
honest degrade on hosts whose webview backend cannot create runtime
windows.
"""
- suffix = f"&{query}" if query else ""
- fallback = f"/?view={view}&solo=1{suffix}"
+ fallback = f"/?view={view}&solo=1"
if view not in DETACHABLE_VIEWS:
return {"ok": False, "reason": "unknown_view"}
existing = self._detached_windows.get(view)
if existing is not None:
- if query:
- # Same window, new content: navigate it rather than open a
- # second one (the title is the window's identity on Windows).
- try:
- existing.load_url(f"{self._url()}{fallback}")
- except Exception as exc: # noqa: BLE001
- from loguru import logger
-
- logger.opt(exception=exc).warning("Detached '{}' could not navigate", view)
- return {"ok": False, "reason": f"{type(exc).__name__}: {exc}"}
_bring_window_to_front_by_title(self._detached_title(view))
return {"ok": True, "already_open": True, "view": view}
if self._window is None and not self._detached_windows:
@@ -4896,7 +4880,7 @@ class DesktopApp:
title = self._detached_title(view)
window = webview.create_window(
title,
- f"{self._url()}{fallback}",
+ f"{self._url()}/?view={view}&solo=1",
width=1100,
height=750,
min_size=(800, 520),
@@ -4926,16 +4910,6 @@ class DesktopApp:
self._publish_detached_event_threadsafe(view, opened=True)
return {"ok": True, "already_open": False, "view": view}
- def open_jarvisx_editor(self, item_id: str) -> dict[str, Any]:
- """Open (or re-point) the Jarvis X editor window on one capture.
-
- Worker-thread only, like :meth:`open_detached_window`: the card click
- and ``POST /api/jarvisx/items/<id>/open-editor`` both reach it through
- ``asyncio.to_thread``. ``item_id`` is the library's hex id, validated
- by the caller, so it is safe to put into the URL as is.
- """
- return self.open_detached_window("jarvisx-editor", query=f"item={item_id}")
-
def close_detached_window(self, view: str) -> dict[str, Any]:
"""Close the detached window for ``view`` — worker-thread only.
diff --git a/pyproject.toml b/pyproject.toml
index cd9fcce737..8b3dc2c67a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "personal-jarvis"
-version = "2.4.4"
+version = "2.5.0"
description = "Turn your computer into an AI agent that coordinates apps, tools, models, and other agents"
requires-python = ">=3.11,<3.15"
readme = "README.md"
diff --git a/scripts/ci/release_admit.py b/scripts/ci/release_admit.py
index b5a0ef8d1c..268b833e24 100644
--- a/scripts/ci/release_admit.py
+++ b/scripts/ci/release_admit.py
@@ -73,13 +73,17 @@ def gate_state(repo: str, sha: str) -> str:
print(f"[admit] check-run lookup failed: {proc.stderr.strip()[:300]}")
return "missing"
runs = json.loads(proc.stdout or "{}").get("check_runs", [])
+ return latest_gate_state(runs)
+
+
+def latest_gate_state(runs: list[dict]) -> str:
+ """A superseded green run cannot admit a newer pending or failed rerun."""
if not runs:
return "missing"
- if any(r.get("status") == "completed" and r.get("conclusion") == "success" for r in runs):
- return "success"
- if any(r.get("status") != "completed" for r in runs):
+ latest = max(runs, key=lambda run: int(run.get("id") or 0))
+ if latest.get("status") != "completed":
return "pending"
- return "failure"
+ return "success" if latest.get("conclusion") == "success" else "failure"
def main(argv: list[str] | None = None) -> int:
diff --git a/tests/integration/realtime/test_realtime_smoke.py b/tests/integration/realtime/test_realtime_smoke.py
index b1aae83687..740e194401 100644
--- a/tests/integration/realtime/test_realtime_smoke.py
+++ b/tests/integration/realtime/test_realtime_smoke.py
@@ -1,5 +1,6 @@
"""Task 10 — end-to-end smoke test for the realtime provider.
+Requires explicit JARVIS_RUN_LIVE_REALTIME_TESTS=1 opt-in before reading a key.
Self-skips cleanly when no OpenAI key is configured (CI / a fresh install
without a key must never fail here — AP-23). With a key present it opens a
real duplex session, drains one event with a timeout, and closes cleanly.
@@ -7,11 +8,19 @@ real duplex session, drains one event with a timeout, and closes cleanly.
from __future__ import annotations
+import os
+
import pytest
from jarvis.core.config import get_provider_secret
-pytestmark = pytest.mark.integration
+pytestmark = [
+ pytest.mark.integration,
+ pytest.mark.skipif(
+ os.environ.get("JARVIS_RUN_LIVE_REALTIME_TESTS") != "1",
+ reason="live realtime calls require explicit opt-in",
+ ),
+]
@pytest.mark.asyncio
@@ -23,13 +32,15 @@ async def test_can_open_duplex_session_returns_a_bool():
assert isinstance(await prov.can_open_duplex_session(), bool)
[email protected](not get_provider_secret("openai"), reason="no OpenAI key")
@pytest.mark.asyncio
async def test_open_and_close_a_real_session():
from jarvis.plugins.realtime.openai_realtime import OpenAIRealtimeProvider
from jarvis.realtime.protocol import RealtimeSessionConfig
- prov = OpenAIRealtimeProvider(api_key=get_provider_secret("openai"))
+ key = get_provider_secret("openai")
+ if not key:
+ pytest.skip("no OpenAI key")
+ prov = OpenAIRealtimeProvider(api_key=key)
assert await prov.can_open_duplex_session() is True
sess = await prov.open_session(RealtimeSessionConfig(instructions="Say hi.", language="en"))
diff --git a/tests/unit/ci/test_pipeline_scripts.py b/tests/unit/ci/test_pipeline_scripts.py
index fcad7c9db6..96e2e2c243 100644
--- a/tests/unit/ci/test_pipeline_scripts.py
+++ b/tests/unit/ci/test_pipeline_scripts.py
@@ -340,6 +340,39 @@ def test_train_updates_only_conflicting_or_stale_red_branches():
# --------------------------------------------------------------------------- release
[email protected]("status,conclusion,expected", [
+ ("completed", "failure", "failure"),
+ ("completed", "cancelled", "failure"),
+ ("completed", "success", "success"),
+ ("in_progress", None, "pending"),
+ ("queued", None, "pending"),
+])
+def test_release_admission_uses_newest_run(status, conclusion, expected):
+ from scripts.ci.release_admit import latest_gate_state
+
+ old = {"id": 10, "status": "completed", "conclusion": "success"}
+ new = {"id": 11, "status": status, "conclusion": conclusion}
+ assert latest_gate_state([old, new]) == expected
+ assert latest_gate_state([new, old]) == expected
+ assert latest_gate_state([]) == "missing"
+
+
[email protected]("filename,job", [
+ ("release.yml", "publish"),
+ ("sign-installer.yml", "provenance"),
+ ("sign-installer.yml", "release"),
+])
+def test_publication_requires_a_tag(filename, job):
+ import yaml
+
+ workflow = yaml.safe_load(
+ (Path(__file__).resolve().parents[3] / ".github/workflows" / filename).read_text(
+ encoding="utf-8"
+ )
+ )
+ assert workflow["jobs"][job]["if"] == "github.ref_type == 'tag'"
+
+
def test_bump_and_commit_notes():
assert cut_release.bump("2.3.2", "patch") == "2.3.3"
assert cut_release.bump("2.3.2", "minor") == "2.4.0"