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.

fix(prompts): restore the quick-reply prompt rewritten in #2684 (#2795)

Call White9f537fa93078
diff --git a/core/prompts/quick-replies.md b/core/prompts/quick-replies.md
index e08a816c6..40673e6ea 100644
--- a/core/prompts/quick-replies.md
+++ b/core/prompts/quick-replies.md
@@ -1,12 +1,10 @@
## Quick-reply buttons
-Offer buttons for useful next actions or decisions, not to fill every reply.
-When none is useful, omit the footer. A single relevant action is enough.
-
-When buttons are supported and enabled, put this exact multiline footer at the very end:
-```text
+At the very end of the message, add a `---` separator followed by `[button text]` to provide clickable quick replies. Example:
---
-[button text] | [another action]
-```
-Use at most four short labels, each no longer than 20 characters, in the
-conversation language. Do not invent filler choices or treat displaying an
-action as authorization to execute it.
+[👌 Continue] | [✅ Submit PR] | [👀 Review first]
+Rules:
+- Think through the tacit knowledge behind the user's words, infer their deeper intent, and suggest likely next replies from the conversation context and the user's habits
+- Do not add filler unrelated to the user's likely next intent, such as: got it, received, thanks
+- They must appear at the very end of the message, after the `---` separator
+- Wrap each button in `[text]` and separate them with `|`; you may start with emoji to improve clarity
+- Use at most 2-4 buttons, each no longer than 20 characters
diff --git a/tests/test_harness_skill_guidance.py b/tests/test_harness_skill_guidance.py
index baad54d46..60d843441 100644
--- a/tests/test_harness_skill_guidance.py
+++ b/tests/test_harness_skill_guidance.py
@@ -263,17 +263,6 @@ def test_pr_delivery_loop_keeps_optional_references_out_of_routine_loading() ->
assert reference.read_text() not in rendered
-def test_quick_replies_are_action_driven_not_mandatory() -> None:
- body = _read("core/prompts/quick-replies.md")
- flat = " ".join(body.split())
- assert "Offer buttons for useful next actions or decisions" in body
- assert "When buttons are supported and enabled, put this exact multiline footer" in body
- assert "---\n[button text] | [another action]" in body
- assert "When none is useful, omit the footer" in body
- assert "Do not invent filler choices" in body
- assert "treat displaying an action as authorization" in flat
-
-
def test_agent_prompt_audit_examples_parse_against_the_real_cli() -> None:
"""The audit Skill teaches live `vibe` calls.
diff --git a/tests/test_prompt_render_export.py b/tests/test_prompt_render_export.py
index 6b4940a1a..cf9ac4967 100644
--- a/tests/test_prompt_render_export.py
+++ b/tests/test_prompt_render_export.py
@@ -532,7 +532,6 @@ def test_approved_guidance_changes_preserve_all_other_injection_bytes(monkeypatc
"skills-prompt",
"skills-manual-prompt",
"codex-skill-reuse",
- "quick-replies-prompt",
}
for backend, history, skill_mode in itertools.product(
("claude", "codex", "opencode"), ("off", "managed", "self-managed"), ("empty", "manual", "pages"),
@@ -549,11 +548,11 @@ def test_approved_guidance_changes_preserve_all_other_injection_bytes(monkeypatc
text = text.replace(_FOLLOW_THROUGH_PRINCIPLE, _PREVIOUS_FOLLOW_THROUGH_PRINCIPLE)
outputs.append(text.replace(_EVIDENCE_LED_PRINCIPLE, _PREVIOUS_VERIFICATION_PRINCIPLE))
digest = hashlib.sha256(json.dumps(outputs, ensure_ascii=False).encode()).hexdigest()
- # Captured before editing from b4eb5cca140955d7e6f7f4206c793892cf19ef59,
- # omitting only the approved quick-reply, Computer Use and Skill-loading
- # guidance blocks (including the Codex-only reuse sentence) and restoring the
- # previous verification principle and conversation-history guidance and
- # Follow-through principle, and the Harness rule that a run's --model applies
+ # Captured before editing from 1e9ba96bc61b0e86027d4871553e68e8ed85c1ac,
+ # omitting only the approved Computer Use and Skill-loading guidance blocks
+ # (including the Codex-only reuse sentence) and restoring the previous
+ # verification principle and conversation-history guidance and Follow-through
+ # principle, and the Harness rule that a run's --model applies
# only to forks (now: to any new Session a run creates).
# Every other byte/order stays pinned, including all Claude/OpenCode output.
- assert digest == "9475df69a6c14f6ddda396dc33d665f4ebda657517cd3ea3134d23d7f5c5c712"
+ assert digest == "262c7cbabbbb0bfefa4a69511d805d28f76a3559bd511184006242f831b4836e"