Repository navigation
Questions from bighelp chats send a notification - #74
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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.publish_clarification) skips a question the hook already alerted for that turn, so nothing is sent twice.clarification.requiredget 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, tempHERMES_HOME,HERMES_DISABLE_LAZY_INSTALLS=1:tests/test_managed_question_notifications.py: 7 tests pass; 3 of them fail without the change.test_native_wiki,test_loopdy_card_schemaneedingjsonschema) fail identically on untouchedmainin this environment.🤖 Generated with Claude Code