Skip to content

Questions from bighelp chats send a notification - #74

Merged
promptclickrun merged 1 commit into
mainfrom
feat/clarify-alerts-in-app-chats
Sep 30, 2026
Merged

promptclickrun merged 1 commit into
mainfrom
feat/clarify-alerts-in-app-chats

Conversation

@promptclickrun

Copy link
Copy Markdown
Owner

What changes for people

When your agent asks a question (the clarify tool) in a chat in the bighelp app, your phone now gets a notification, including when the app is closed. Before, questions only alerted when they came through the old messaging adapter, which bighelp chats don't use, so they sent nothing.

How

  • The managed notification observer watches the clarify tool's pre_tool_call. Each question alerts once, as it's asked. The alert names the question; a batch leads with its first question and says how many more.
  • A subagent's question belongs to its parent turn and sends nothing itself.
  • The messaging adapter's own path (publish_clarification) skips a question the hook already alerted for that turn, so nothing is sent twice.
  • Only grants that include clarification.required get these, same as before.

Trust boundary

No change. The question text goes into the same end-to-end encrypted alert as approvals and replies; the notification service only carries ciphertext.

Tested

With Hermes 0.21.2 on PYTHONPATH, temp HERMES_HOME, HERMES_DISABLE_LAZY_INSTALLS=1:

  • New tests/test_managed_question_notifications.py: 7 tests pass; 3 of them fail without the change.
  • Full suite: 1,183 tests. The only failures (12 in test_native_wiki, test_loopdy_card_schema needing jsonschema) fail identically on untouched main in this environment.

🤖 Generated with Claude Code

The agent's clarify questions only alerted the phone when the old messaging
adapter presented them. Chats in the bighelp app run on the dashboard, where
no adapter sees the question, so a question asked while the app was closed
sent nothing.

The managed notification observer now watches the clarify tool itself
(pre_tool_call): each question alerts once as it is asked, a batch leads
with its first question, and a subagent's question stays with its parent.
The messaging adapter skips a question the hook already alerted for that
turn, so it is never sent twice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@promptclickrun
promptclickrun merged commit 5f82499 into main Sep 30, 2026
2 checks passed
@promptclickrun
promptclickrun deleted the feat/clarify-alerts-in-app-chats branch September 30, 2026 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant