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
chore: auto-save WIP via Claude stop-hook safety net (2026-07-03 11:51)
Ruben Lütke70ba1a204710
diff --git a/jarvis/setup/onboarding_meta.py b/jarvis/setup/onboarding_meta.pyindex 3478347167..a4885e74b2 100644--- a/jarvis/setup/onboarding_meta.py+++ b/jarvis/setup/onboarding_meta.py@@ -15,9 +15,12 @@ logger = logging.getLogger(__name__)CURRENT_TERMS_VERSION = "1.0"# Canonical step order — must match the frontend step REGISTRY keys.+# The standalone Terms & Disclaimer step was removed (2026-07-03): the legal+# posture now rests on the up-front risk gate + the MIT-license disclaimer, so+# first-run stays short. The /terms + /accept-terms routes remain for back-compat+# but are no longer part of the guided flow.ONBOARDING_STEPS: list[str] = ["welcome",- "terms","language","wake-word","api-keys",diff --git a/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx b/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsxindex 45ac301a01..dd57702901 100644--- a/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx+++ b/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx@@ -3,7 +3,6 @@ import { MascotGigi } from "@/components/MascotGigi";import { useT } from "@/i18n";import type { useOnboarding } from "@/hooks/useOnboarding";import { WelcomeStep } from "./steps/WelcomeStep";-import { TermsStep } from "./steps/TermsStep";import { LanguageStep } from "./steps/LanguageStep";import { WakeWordStep } from "./steps/WakeWordStep";import { ApiKeysStep } from "./steps/ApiKeysStep";@@ -20,7 +19,6 @@ export interface StepProps {const REGISTRY: Record<string, (p: StepProps) => JSX.Element> = {welcome: WelcomeStep,- terms: TermsStep,language: LanguageStep,"wake-word": WakeWordStep,"api-keys": ApiKeysStep,@@ -34,19 +32,16 @@ export const STEP_KEYS = Object.keys(REGISTRY);export function OnboardingFlow({onb,- initialStep,}: {onb: ReturnType<typeof useOnboarding>;- initialStep?: string;}) {const t = useT();const steps = onb.state?.steps ?? ["welcome", "finish"];// Always begin at the first step so every run walks each step in order. We do// NOT resume to a saved current_step: a user who already finished once would// otherwise be auto-jumped to the last step, which feels like the flow skipped- // itself. An explicit initialStep (the terms-version-bump re-open) still wins.- const initialIdx = initialStep ? Math.max(0, steps.indexOf(initialStep)) : 0;- const [idx, setIdx] = useState(initialIdx);+ // itself.+ const [idx, setIdx] = useState(0);const [skipped, setSkipped] = useState<string[]>(onb.state?.skipped_steps ?? []);const StepComp = useMemo(diff --git a/tests/unit/setup/test_onboarding_meta.py b/tests/unit/setup/test_onboarding_meta.pyindex 24f1ea9e7b..c56bfc6b36 100644--- a/tests/unit/setup/test_onboarding_meta.py+++ b/tests/unit/setup/test_onboarding_meta.py@@ -4,7 +4,10 @@ from jarvis.setup import onboarding_meta as mdef test_meta_constants():assert m.CURRENT_TERMS_VERSION == "1.0"assert m.ONBOARDING_STEPS[0] == "welcome"- assert m.ONBOARDING_STEPS[1] == "terms"+ # The standalone Terms & Disclaimer step was removed (2026-07-03); the risk+ # gate + MIT-license disclaimer carry the legal posture now.+ assert "terms" not in m.ONBOARDING_STEPS+ assert m.ONBOARDING_STEPS[1] == "language"assert m.ONBOARDING_STEPS[-1] == "finish"assert "wake-word" in m.ONBOARDING_STEPSassert "persona-theme" not in m.ONBOARDING_STEPS@@ -13,7 +16,7 @@ def test_meta_constants():assert "system-style" not in m.ONBOARDING_STEPSassert "mic-test" not in m.ONBOARDING_STEPSassert m.ONBOARDING_STEPS[-2] == "api-keys"- assert len(m.ONBOARDING_STEPS) == 6+ assert len(m.ONBOARDING_STEPS) == 5assert len(m.WAKE_WORD_LEGAL_REFERENCES) >= 3for ref in m.WAKE_WORD_LEGAL_REFERENCES:assert ref["label"] and ref["url"].startswith("https://")