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(session): compact title prompt (#747)
Call Whitedeeeea15f9fc
diff --git a/core/system_prompt_injection.py b/core/system_prompt_injection.pyindex a76b7ce6a..b4ce929d8 100644--- a/core/system_prompt_injection.py+++ b/core/system_prompt_injection.py@@ -220,13 +220,13 @@ Treat these as the user pointing at that Agent or Session, and decide the action_SESSION_TITLE_PROMPT = """\## Session Title-When the topic of this Web conversation becomes clear, set one concise, human-scannable title for the current Session. Do this silently as soon as the title is obvious, without waiting for the user to ask. Before setting it, inspect the Session:+Once this Web conversation's topic is clear, silently set one concise, human-scannable Session title without waiting for the user. First inspect:`vibe session get`-If `metadata.title_source` is `user` or `agent`, leave the title unchanged; that means the title was deliberately set or cleared. Otherwise, set it once:+If `metadata.title_source` is `user` or `agent`, leave the title unchanged. Otherwise set it once:`vibe session update --title "<short title>"`-Do not mention the title update unless the user asks. Do not repeatedly rename the same Session; after you set it once, treat it as deliberate.+Do not mention the update unless asked. After setting it, do not rename it again."""diff --git a/tests/test_session_cli.py b/tests/test_session_cli.pyindex 8ec8107be..740ac5471 100644--- a/tests/test_session_cli.py+++ b/tests/test_session_cli.py@@ -305,6 +305,7 @@ def _injection_for(session_id, *, platform="avibe", platform_specific=None):def test_web_title_prompt_defaults_to_current_session():out = _injection_for("sesweb")+ title_prompt = out[out.index("## Session Title") :]assert "## Session Title" in outassert "`vibe session get`" in outassert '`vibe session update --title "<short title>"`' in out@@ -313,9 +314,10 @@ def test_web_title_prompt_defaults_to_current_session():assert "metadata.title_source" in outassert "`user` or `agent`" in outassert "leave the title unchanged" in out- assert "set one concise, human-scannable title" in out- assert "Do this silently as soon as the title is obvious" in out- assert "Do not repeatedly rename the same Session" in out+ assert "silently set one concise, human-scannable Session title" in out+ assert "without waiting for the user" in out+ assert "do not rename it again" in out+ assert len(title_prompt.strip()) < 450assert "not set yet" not in outassert "auto-generated" not in out