Repository navigation
fix(agent-cards): describe the report as lich's notification envelope - #105
Merged
Merged
Conversation
The texts the Agent call answers with said a worker's report arrives as a [lich] note, which lich replaced with <lich-notification> envelopes. They now name the worker-finished envelope in every locale, and drop the claim that it is not a task notification: the mod still wraps it in one.
This was referenced Nov 22, 2026
Merged
Merged
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.
lich no longer sends
[lich]notes: everything it hands an agent is a<lich-notification version="1" kind="...">envelope (docs/hooks/notification.mdin lich). The texts this plugin adds to a session still described the old note, so they now name the envelope.hooks/prompt-text.js: the agent-cards note (backgrounded) and the interrupted denial (denyInterrupted) say, in all seven prompt languages, that the report arrives at the prompt by itself as a<lich-notification kind="worker-finished">, so there is nothing to poll and no need to callwait_for_answer. The old "not as a task notification" clause is dropped: the mod still wraps the envelope in a<task-notification>, so it no longer held.hooks/agent-cards.js,README.md,docs/agent-cards.md: the same wording in comments and docs.tests/fixtures/mod-commands.jsonis read at lich's merge commit 1f4166bf, whose prompt examples (m10, m11) are envelopes; that contract is in no lich release yet, sotests/refresh-fixtures.shpins that commit for this one file, as it did for mod-answer, session-state and mod-status. The mod-control test that mirrors those examples follows.No plugin code recognised lich's messages by the
[lich]prefix, so nothing else changes.This ships as a minor (0.22.0) so that a lich still sending
[lich]notes never installs texts describing the envelope; it needs the lich release after v0.92.0, which raises its plugin ceiling to 0.23.0.Test plan
node --test tests/*.test.mjs: 492 pass.claude plugin test .: 33 pass.tests/refresh-fixtures.shleaves no diff.