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.

feat(deck): the start screen launches itself into the board

Harald653a4cfd2798
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d9791eb835..5df4e8595b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -52,6 +52,15 @@ versioning per [SemVer](https://semver.org/).
short "I'll play that" ack it used to look ready even though YouTube
Music was still running. Progress speech now returns to thinking until
the result is spoken.
+- **The deck opens on the board, not on a start screen.** Starting the app
+ left you on the standby ring, waiting for a word before anything to look
+ at appeared. The start now plays out on its own: the boot lights its
+ gates, the ring reports ready, and one beat later the SAME launch a
+ spoken word triggers hands over to the board — orb travel, shockwave,
+ instruments assembling, the lot. Speaking, the hotkey or a press on the
+ orb still gets there sooner, and an install whose voice stack never
+ reports (no microphone, voice off, a headless box) is no longer held on
+ the boot screen: with the link up the board opens anyway.
## [1.4.0] — 2026-08-18
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx
index 5c88a57a5e..2fb6a3de8d 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx
@@ -15,6 +15,7 @@ import {
GATE_ARC_SPAN,
HANDOFF,
SETTLE_MS,
+ STANDBY_CUE_DELAY_S,
type Gate,
type GateId,
type GateState,
@@ -46,12 +47,16 @@ import { useT } from "@/i18n";
* Standby: the sweep turns on the ring while the wake word is actually being
* listened for (and stays still when it is not — hotkey-only setups, a link
* that dropped), the clock and the "quiet for" figure tick, the orb breathes.
- * The cue under the orb names the phrase to say — big, breathing slowly,
- * because it is the one thing a newcomer must read. Nothing else moves: the
- * standby has to be calm enough to sit next to for an hour.
+ * It lasts ONE BEAT (maintainer, 2026-08-20: the start screen sat there
+ * waiting for a word instead of showing the board) — the stage launches
+ * itself on the clock, so this is the pause before the hand-off, not a room
+ * to wait in. The cue under the orb names the phrase to say and comes in
+ * AFTER that beat (`STANDBY_CUE_DELAY_S`): it is the fallback for a launch
+ * that did not come, never a greeting that flashes up and is torn away.
*
- * The board is one press away at all times (`onOpenBoard`), and takes over
- * on its own the moment a turn opens — that hand-off is MissionDeckView's.
+ * The board is one press away at all times (`onOpenBoard`), takes over on
+ * its own the moment a turn opens, and otherwise on the beat — that hand-off
+ * is MissionDeckView's (`lib/deckStandby.ts::AUTO_LAUNCH`).
* This stage's part of it is the LAUNCH (`lib/deckStandby.ts::HANDOFF`):
* the orb flares and two shockwaves leave it, the stage flashes, the ring
* draws breath and bursts past the camera turning while its ticks flare
@@ -334,9 +339,19 @@ export function DeckStandby({
) : (
<motion.div
key="cue"
+ // Its own start state, so the delay below really runs even
+ // when the stage mounted straight into standby (no boot to
+ // inherit "hidden" from). No `animate` — that would cut the
+ // element out of the parent's variant tree and its exit with
+ // it (framer-motion: a child with `animate` stops inheriting).
+ initial="hidden"
variants={{
hidden: { opacity: 0, y: 6 },
- show: { opacity: 1, y: 0, transition: { duration: 0.5, delay: 0.3 } },
+ // Later than the auto-launch (`STANDBY_CUE_DELAY_S`): the
+ // board now opens on its own, so the cue is the fallback
+ // for a beat that passed without a hand-off, not a
+ // greeting that flashes up and is torn away again.
+ show: { opacity: 1, y: 0, transition: { duration: 0.5, delay: STANDBY_CUE_DELAY_S } },
// The cue is pulled into the orb as it launches.
exit: { opacity: 0, y: -10, scale: 0.9, transition: { duration: 0.22, ease: "easeIn" } },
}}
diff --git a/jarvis/ui/web/frontend/src/lib/deckStandby.test.ts b/jarvis/ui/web/frontend/src/lib/deckStandby.test.ts
index 4bde3e5c2a..869d910bd4 100644
--- a/jarvis/ui/web/frontend/src/lib/deckStandby.test.ts
+++ b/jarvis/ui/web/frontend/src/lib/deckStandby.test.ts
@@ -1,6 +1,7 @@
import { describe, expect, test } from "vitest";
import {
arcPath,
+ autoLaunchAfterMs,
gatesFor,
polar,
resolvePhase,
@@ -9,8 +10,10 @@ import {
revealWipeFor,
ringSizeFor,
ringTicks,
+ AUTO_LAUNCH,
CARD_POWER_ON,
HANDOFF,
+ STANDBY_CUE_DELAY_S,
type BoardSlot,
type GateInput,
type PhaseInput,
@@ -63,6 +66,28 @@ describe("resolvePhase", () => {
});
});
+describe("autoLaunchAfterMs", () => {
+ test("the standby is one beat, then the board takes over on its own", () => {
+ expect(autoLaunchAfterMs("standby", true)).toBe(AUTO_LAUNCH.standbyMs);
+ });
+
+ test("a voice stack that never reports does not hold the board hostage", () => {
+ expect(autoLaunchAfterMs("boot", true)).toBe(AUTO_LAUNCH.bootMs);
+ });
+
+ test("without a link there is nothing to launch into", () => {
+ expect(autoLaunchAfterMs("boot", false)).toBeNull();
+ });
+
+ test("a board that is already up is not launched again", () => {
+ expect(autoLaunchAfterMs("board", true)).toBeNull();
+ });
+
+ test("the cue fades in only after the launch would have fired", () => {
+ expect(STANDBY_CUE_DELAY_S).toBeGreaterThan(AUTO_LAUNCH.standbyMs / 1000);
+ });
+});
+
const GATES_START: GateInput = {
connected: false,
voiceReady: false,
diff --git a/jarvis/ui/web/frontend/src/lib/deckStandby.ts b/jarvis/ui/web/frontend/src/lib/deckStandby.ts
index 037f01cb6f..3f12c0b03b 100644
--- a/jarvis/ui/web/frontend/src/lib/deckStandby.ts
+++ b/jarvis/ui/web/frontend/src/lib/deckStandby.ts
@@ -124,6 +124,46 @@ export function resolvePhase(input: PhaseInput): DeckPhase {
*/
export const SETTLE_MS = 3_000;
+/**
+ * The stage launches ITSELF (maintainer, 2026-08-20: the start screen sat
+ * there waiting; a person who opens the app wants the board, not a lobby).
+ * The standby is no longer a waiting room — it is one beat of the start:
+ * the boot lights its gates, the ring reports ready, and then the same
+ * hand-off a spoken word would trigger plays on its own. The launch stays
+ * exactly as it was; only the trigger is now the clock.
+ *
+ * standby — the beat between "ready" and the launch. Long enough for the
+ * ring's ready ping to land, short enough that nobody reads it
+ * as a screen they have to answer.
+ * boot — the link is up but the voice stack has not reported. It may
+ * never (no microphone, voice switched off, a headless box):
+ * the board works without it, so the boot gets this much
+ * patience and then hands off anyway.
+ *
+ * Without a link there is no launch: the board would have nothing to show,
+ * and the boot console is already saying so.
+ */
+export const AUTO_LAUNCH = {
+ standbyMs: 700,
+ bootMs: 6_000,
+} as const;
+
+/** How long this phase holds before the board takes over, or null to wait. */
+export function autoLaunchAfterMs(phase: DeckPhase, connected: boolean): number | null {
+ if (phase === "board") return null;
+ if (phase === "standby") return AUTO_LAUNCH.standbyMs;
+ return connected ? AUTO_LAUNCH.bootMs : null;
+}
+
+/**
+ * When the standby's cue ("Say ‘Hey Nova’") fades in — AFTER the auto-launch
+ * would have fired. The cue asks for a word that the launch no longer waits
+ * for, so it is the fallback, not the greeting: it appears only if the beat
+ * passed without a hand-off. The board's own headline carries the wake
+ * phrase from there on.
+ */
+export const STANDBY_CUE_DELAY_S = AUTO_LAUNCH.standbyMs / 1000 + 0.35;
+
/* ------------------------------------------------------------------ */
/* Ring geometry — the big instrument the standby stage draws */
/* ------------------------------------------------------------------ */
diff --git a/jarvis/ui/web/frontend/src/views/MissionDeckView.phases.test.tsx b/jarvis/ui/web/frontend/src/views/MissionDeckView.phases.test.tsx
index 5eddee878b..f2eba199a7 100644
--- a/jarvis/ui/web/frontend/src/views/MissionDeckView.phases.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/MissionDeckView.phases.test.tsx
@@ -3,10 +3,11 @@ import { afterEach, beforeEach, describe, expect, test, vi } from "vitest";
/**
* The deck's three acts (2026-08-18): the boot sequence while the app comes
- * up, the standby ring until somebody speaks, the board from the first turn
- * on — and never back. The instruments themselves are stubbed (each has its
- * own tests); what is under test is WHICH stage is on, and how the board is
- * reached.
+ * up, the standby ring for one beat, the board from there on — and never
+ * back. Since 2026-08-20 the last hand-off needs no word: the stage launches
+ * itself on the clock, and a spoken turn only gets there sooner. The
+ * instruments themselves are stubbed (each has its own tests); what is under
+ * test is WHICH stage is on, and how the board is reached.
*/
vi.mock("@/components/layout/DockRail", () => ({ DockRail: () => <nav data-testid="dock" /> }));
vi.mock("@/components/deck/DeckWiki", () => ({
@@ -126,6 +127,20 @@ describe("MissionDeckView — the three acts", { timeout: 15_000 }, () => {
expect(screen.getByTestId("deck-standby-cue").textContent).toBe("Say “Hey Nova”");
});
+ test("the standby is one beat: the board takes over on its own, with the launch", async () => {
+ render(<MissionDeckView />);
+ expect(screen.queryByTestId("deck-board")).toBeNull();
+ // Nobody speaks, nobody clicks — the stage launches itself.
+ await waitFor(() => expect(screen.getByTestId("deck-board")).toBeTruthy(), { timeout: 4000 });
+ expect(useDeckStore.getState().boardOpen).toBe(true);
+ // And it is the SAME launch a spoken word gets, not a hard switch.
+ const standby = screen.getByTestId("deck-standby");
+ await waitFor(() => expect(standby.getAttribute("data-leaving")).toBe("true"));
+ expect(screen.getByTestId("deck-slot-left-top").getAttribute("data-reveal")).toBe("true");
+ expect(screen.getByTestId("deck-orb-landing")).toBeTruthy();
+ await waitFor(() => expect(screen.queryByTestId("deck-standby")).toBeNull(), { timeout: 4000 });
+ }, 12_000);
+
test("a reason for the board that comes and goes still leaves the board open", async () => {
render(<MissionDeckView />);
// The transport negotiates: the board takes over …
diff --git a/jarvis/ui/web/frontend/src/views/MissionDeckView.tsx b/jarvis/ui/web/frontend/src/views/MissionDeckView.tsx
index b4a1480d54..973b7ce911 100644
--- a/jarvis/ui/web/frontend/src/views/MissionDeckView.tsx
+++ b/jarvis/ui/web/frontend/src/views/MissionDeckView.tsx
@@ -29,7 +29,7 @@ import { useWakeWord } from "@/hooks/useWakeWord";
import { useVoiceCall } from "@/components/agentic/useVoiceCall";
import { useElementSize } from "@/hooks/useElementSize";
import { orbSizeFor, stageVignette } from "@/lib/deckStage";
-import { HANDOFF, resolvePhase } from "@/lib/deckStandby";
+import { HANDOFF, autoLaunchAfterMs, resolvePhase } from "@/lib/deckStandby";
import { writeDeckMode } from "@/lib/deckMode";
import { cn } from "@/lib/utils";
import { useT } from "@/i18n";
@@ -67,7 +67,11 @@ import { useT } from "@/i18n";
* the stage is `DeckStandby` — the boot sequence while the app comes up,
* then the listening ring — and the board takes over the moment a turn
* opens or the person asks for it (`lib/deckStandby.ts::resolvePhase`,
- * forward only). The hand-off is a LAUNCH, on one clock
+ * forward only). It also takes over ON ITS OWN, one beat after the ring
+ * reports ready (maintainer, 2026-08-20: opening the app must land you on
+ * the board, not on a screen that waits to be answered —
+ * `lib/deckStandby.ts::AUTO_LAUNCH`). The start plays out in full either
+ * way; only the trigger changed. The hand-off is a LAUNCH, on one clock
* (`lib/deckStandby.ts::HANDOFF`): the orb flares and a shockwave leaves
* it, the standby's ring bursts past the camera and its console gets out of
* the way (`DeckStandby`), the orb travels from the ring's centre to its
@@ -136,6 +140,18 @@ export function MissionDeckView({
useEffect(() => {
if (phase === "board") openBoard();
}, [phase, openBoard]);
+ // The start screen launches itself. Nobody who opens the app wants a lobby
+ // they have to answer (maintainer, 2026-08-20) — so the boot lights its
+ // gates, the ring reports ready, and one beat later the SAME hand-off a
+ // spoken word triggers plays on its own (`lib/deckStandby.ts::AUTO_LAUNCH`).
+ // Any real trigger arriving first simply wins: the phase is already board
+ // and this timer never fires.
+ useEffect(() => {
+ const after = autoLaunchAfterMs(phase, connected);
+ if (after === null) return;
+ const id = window.setTimeout(() => openBoard(), after);
+ return () => window.clearTimeout(id);
+ }, [phase, connected, openBoard]);
// The board powers on with its choreography ONLY when it takes over from
// the standby on this very screen. A deck that mounts straight into a
// running session (a section change and back) is simply there. Fixed on