Skip to content

armgit / avibe

Public Imported from GitHub
0

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.

refactor(prompt): tighten preference file template

cyh2bbcba3f6d3e
diff --git a/config/paths.py b/config/paths.py
index 801a0aa5e..7729d30f1 100644
--- a/config/paths.py
+++ b/config/paths.py
@@ -63,14 +63,14 @@ def get_user_preferences_path() -> Path:
_USER_PREFERENCES_TEMPLATE = """# User Preferences
-Use this file for stable long-term habits, preferences, and recurring rules.
+Use this file for stable long-term preferences and recurring rules.
Prefer user-specific notes under `## Users`.
-Only put rules under `## Shared` when they truly apply across users.
-Keep it concise, factual, and deduplicated.
-Do not store secrets here unless the user explicitly asks.
+Use `## Shared` only for rules that truly apply across users.
+Keep entries short, factual, deduplicated, and free of secrets unless the user explicitly asks.
+Prefer durable preferences over one-off requests.
## Shared
-- Add rules here only when they truly apply across users.
+- Add cross-user rules here only when they are broadly useful.
## Users
### platform/user_id
diff --git a/tests/test_v2_paths.py b/tests/test_v2_paths.py
index 1b5a7fc54..831103de0 100644
--- a/tests/test_v2_paths.py
+++ b/tests/test_v2_paths.py
@@ -24,4 +24,5 @@ def test_ensure_data_dirs(tmp_path, monkeypatch):
assert "# User Preferences" in text
assert "Prefer user-specific notes under `## Users`." in text
assert "### platform/user_id" in text
- assert "Do not store secrets here unless the user explicitly asks." in text
+ assert "Prefer durable preferences over one-off requests." in text
+ assert "free of secrets unless the user explicitly asks." in text