Repository navigation
hooks: a subagent's hand-back draws no question context - #38
Merged
Merged
Conversation
on-prompt.sh skipped only a prompt that opens with `<task-notification>`. A subagent's hand-back is queued as a prompt too, opening with `<agent-message from="<id>">`, and on 2026-11-26 one drew the `[question]` context, which told the turn that the maintainer had asked and that it changes nothing. The skip takes that opening as well. Closes #34 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Note This comment was written by an LLM, not a human. Proof for head Three prompts given to
Before, on After, on this head, it draws nothing, and the maintainer's question still draws it: |
This was referenced Nov 26, 2026
lneto
added a commit
to luainkernel/luaebpf
that referenced
this pull request
Nov 26, 2026
The mount moves to luainkernel/harness@feb9545, which carries luainkernel/harness#38 and luainkernel/harness#39. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lneto
added a commit
to luainkernel/lunatik
that referenced
this pull request
Nov 26, 2026
The mount moves to luainkernel/harness@feb9545, which carries luainkernel/harness#38 and luainkernel/harness#39. 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.
A subagent's hand-back reaches the session as a prompt that opens with
<agent-message from="<id>">, andon-prompt.shread it as the maintainer's: on 2026-11-26 one drew the[question]context, which told the turn that he had asked and that it changes nothing.The hook now skips that opening as it skips a background task's
<task-notification>, and a message he types is read as before.Closes #34