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.

merge(master): resolve prompt branch conflicts

cyh960c18e3b467
diff --cc skills/use-vibe-remote/SKILL.md
index 0e14757c3,dab9f6ea9..97236120c
--- a/skills/use-vibe-remote/SKILL.md
+++ b/skills/use-vibe-remote/SKILL.md
@@@ -43,7 -44,7 +44,9 @@@ Important paths
- `~/.vibe_remote/config/config.json`: global config
- `~/.vibe_remote/state/settings.json`: per-channel and per-user overrides
- `~/.vibe_remote/state/scheduled_tasks.json`: persisted scheduled tasks
+- `~/.vibe_remote/state/user_preferences.md`: shared long-term preference file; prefer user-specific notes under `platform/user_id` sections and keep shared rules truly cross-user
+ - `~/.vibe_remote/state/task_requests/`: queued task-run and hook-send requests plus completion receipts
++- `~/.vibe_remote/state/user_preferences.md`: shared long-term preference file; prefer user-specific notes under `platform/user_id` sections and keep shared rules truly cross-user
- `~/.vibe_remote/state/sessions.json`: runtime session state
- `~/.vibe_remote/logs/vibe_remote.log`: main application log
- `~/.vibe_remote/runtime/status.json`: runtime status file
diff --cc tests/test_reply_enhancer_platform.py
index 72fe813cd,3f9b5d92d..3056a1a44
--- a/tests/test_reply_enhancer_platform.py
+++ b/tests/test_reply_enhancer_platform.py
@@@ -82,20 -76,16 +82,21 @@@ class ReplyEnhancerPlatformTests(unitte
platform_specific={"is_dm": False},
)
- prompt = build_reply_enhancements_prompt(include_quick_replies=True, context=context)
+ with patch.object(paths, "get_user_preferences_path", return_value=Path("/tmp/user_preferences.md")):
+ prompt = build_reply_enhancements_prompt(include_quick_replies=True, context=context)
- self.assertIn("## 3. Scheduled tasks", prompt)
+ self.assertIn("## 3. Scheduled tasks and hooks", prompt)
self.assertIn("`vibe task add`", prompt)
+ self.assertIn("`vibe hook send --session-key ... --prompt ...`", prompt)
self.assertIn("Default session key: `slack::channel::C1`", prompt)
self.assertIn("Current thread ID: `171717.123`", prompt)
- self.assertIn("slack::channel::C1::thread::171717.123", prompt)
self.assertIn("If `--timezone` is omitted, the task uses the local system timezone at creation time.", prompt)
+ self.assertIn("Run `vibe task add --help` or `vibe hook send --help` for the full command reference.", prompt)
self.assertIn("https://github.com/cyhhao/vibe-remote/raw/master/skills/use-vibe-remote/SKILL.md", prompt)
+ self.assertIn("When useful, you may read it to learn stable habits, preferences, and recurring rules.", prompt)
+ self.assertIn("usually in the current user's section: `slack/U1`.", prompt)
+ self.assertIn("Only write to a shared section when a rule truly applies across users.", prompt)
+ self.assertIn("Keep it short, factual, deduplicated, and free of secrets unless the user explicitly asks.", prompt)
def test_prompt_uses_fallback_platform_for_unannotated_context(self):
context = MessageContext(