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
docs(router): correct two references left dangling by the prompt cut
Harald254f823039bf
diff --git a/jarvis/plugins/tool/reveal_key_preview.py b/jarvis/plugins/tool/reveal_key_preview.pyindex a0c6309020..d4682f9bb1 100644--- a/jarvis/plugins/tool/reveal_key_preview.py+++ b/jarvis/plugins/tool/reveal_key_preview.py@@ -11,9 +11,12 @@ which returns only 6 characters and never logs the full value. On a real API keythat leaves 30+ characters hidden, so the preview alone is useless to an attacker(the GitHub/Stripe "last 4" pattern).-Refusing the FULL key is handled in the router system prompt (a reasoned,-multilingual, non-canned refusal) — not here. This tool simply has no way to-return the full value.+Refusing the FULL key is handled by this tool's own ``description`` below (a+reasoned, multilingual, non-canned refusal), which travels with the tool+wherever it is offered. It used to live in the router system prompt as well;+that copy was removed when the prompt was cut, because a rule stated next to+the tool reaches the model exactly when the tool does — and only then.+This tool simply has no way to return the full value."""from __future__ import annotationsdiff --git a/tests/unit/test_router_delegator_policy.py b/tests/unit/test_router_delegator_policy.pyindex a1cddda370..94e50f99a2 100644--- a/tests/unit/test_router_delegator_policy.py+++ b/tests/unit/test_router_delegator_policy.py@@ -117,7 +117,14 @@ class TestDelegatorPolicyInPrompt:def test_absolute_rules_preserved(self) -> None:# The existing ABSOLUTE REGELN (anti-hallucination) stay in.assert "ABSOLUTE REGELN" in SYSTEM_PROMPT- assert "Provider" in SYSTEM_PROMPT # anti-provider-switch rule+ # The self-control rule ("never claim a setting changed unless a tool+ # call returned success") is NOT pinned here any more: it moved to+ # _SELF_CONTROL_STANDING in the brain manager, which appends it to+ # every prompt. Asserting the bare word "Provider" here passed for the+ # wrong reason after the prompt was cut — it matched an unrelated+ # settings line. Pin what this prompt still genuinely owns instead:+ # the rule that a tool result decides the truth of the answer.+ assert "Tool" in SYSTEM_PROMPT and "success" in SYSTEM_PROMPT.lower()def test_argument_format_preserved(self) -> None:# The SPAWN_WORKER argument format (action/target) stays documented.