Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(agent): separate use-avibe scope from remote fallback (#1203)
Call White73711eac83a5
diff --git a/core/system_prompt_injection.py b/core/system_prompt_injection.pyindex 029022ac8..df4a22266 100644--- a/core/system_prompt_injection.py+++ b/core/system_prompt_injection.py@@ -36,7 +36,7 @@ _BASE_CAPABILITIES_BODY = """\Avibe is the local-first Agent OS: it turns this machine into the runtime an agent lives in, and the user operates that runtime through Web or IM surfaces such as Slack, Discord, Telegram, WeChat, and Lark/Feishu. \The user is interacting with you through Avibe.-If the user asks you to configure, repair, or operate Avibe itself, read `https://github.com/avibe-bot/avibe/raw/master/skills/use-avibe/SKILL.md` before making changes. Use it for configuration file locations, scope rules, routing behavior, scheduled-task operations, and troubleshooting steps.+Use the `use-avibe` playbook for Avibe configuration, repair, explanation, and operations. Before changing Avibe state or disrupting its running service, consult that playbook; use `https://github.com/avibe-bot/avibe/raw/master/skills/use-avibe/SKILL.md` when it is not installed locally.Avibe provides optional capabilities:diff --git a/tests/test_harness_skill_guidance.py b/tests/test_harness_skill_guidance.pyindex cd45f8098..2fd31833c 100644--- a/tests/test_harness_skill_guidance.py+++ b/tests/test_harness_skill_guidance.py@@ -111,6 +111,26 @@ def test_avibe_skills_do_not_reintroduce_legacy_harness_guidance() -> None:assert text not in body, f"{path} still contains {text!r}"+def test_use_avibe_skill_keeps_its_broad_scope_without_a_session_lifecycle_protocol() -> None:+ for path in ("skills/use-avibe/SKILL.md", "skills/use-vibe-remote/SKILL.md"):+ body = _read(path)++ assert "configure, repair, explain, or operate a local Avibe installation" in body+ assert "managed background watch with `vibe watch`" in body+ assert "scheduled task with `vibe task`" in body+ assert "check or apply Avibe updates" in body+ assert "inspect logs, run doctor, check service status" in body++ for text in (+ "every user turn",+ "each user turn",+ "new user turn",+ "context compaction",+ "active Agent Session context",+ ):+ assert text not in body++def test_background_watch_skill_defaults_to_current_session() -> None:body = _read("skills/background-watch-hook/SKILL.md")diff --git a/tests/test_reply_enhancer_platform.py b/tests/test_reply_enhancer_platform.pyindex 4e92349c8..263a2474d 100644--- a/tests/test_reply_enhancer_platform.py+++ b/tests/test_reply_enhancer_platform.py@@ -100,9 +100,23 @@ class ReplyEnhancerPlatformTests(unittest.IsolatedAsyncioTestCase):self.assertIn("## Silent replies", prompt)self.assertIn("<silent>reason not shown to the user</silent>", prompt)self.assertIn(- "If the user asks you to configure, repair, or operate Avibe itself, read `https://github.com/avibe-bot/avibe/raw/master/skills/use-avibe/SKILL.md` before making changes.",+ "Use the `use-avibe` playbook for Avibe configuration, repair, explanation, "+ "and operations",prompt,)+ self.assertIn(+ "Before changing Avibe state or disrupting its running service, consult that playbook",+ prompt,+ )+ self.assertIn(+ "use `https://github.com/avibe-bot/avibe/raw/master/skills/use-avibe/SKILL.md` "+ "when it is not installed locally",+ prompt,+ )+ self.assertIn("skills/use-avibe/SKILL.md", prompt)+ self.assertNotIn("new user turn", prompt)+ self.assertNotIn("active Agent Session context", prompt)+ self.assertNotIn("context compaction removed the guidance", prompt)self.assertIn("## Send files", prompt)self.assertIn("Avibe provides optional capabilities:", prompt)self.assertNotIn("If you generate an image with Codex", prompt)