Repository navigation
Say in the reactions contract that the user can withdraw a reaction however far the agent has got - #5418
Merged
Conversation
…the agent has got #5320 let the user take back a sent message or reaction whatever the agent has done with it, and rewrote events.md's "Undo" to match, but the kernel registry's `$reactions` description, which agents and package authors read, still said a reaction can be withdrawn only "while nothing answers it". It now says the same as events.md and points there. events.md also said a withdrawn message keeps its place where "a message or to-do still in force" stands on it, while `events.standing_withdrawn` counts every to-do on the thread the message opened, ended ones included, as its docstring and #5320 intend. The prose now says "a message still in force, or any to-do on the thread it opened". No behavior changes.
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.
The kernel registry's
$reactionsdescription, which agents and package authors read, still told them a reaction can be withdrawn only "while nothing answers it". #5320 removed that limit: the user can take back a sent message or reaction however far the agent has got with it, andsrc/leaf/events.md("Undo") was rewritten to say so. This brings the registry description into line and points it at that section.The same "Undo" section said a withdrawn message keeps its place where "a message or to-do still in force" stands on it.
events.standing_withdrawncounts every to-do on the thread the message opened, ended ones included, which is what its docstring and #5320's commit message say it should do (a completed to-do keeps its discussion for the Done list). The prose now reads "a message still in force, or any to-do on the thread it opened".This is prose only, and no behavior changes.
uv run pytest tests/model -k "registry or reaction"passes (166 tests).