Repository navigation
fix(server): a moved thread's fence lifts only for a message a person sent from the app - #979
Merged
Merged
Conversation
… sent from the app The fence lifted for any turn without an automatic marker, so command output delivered after the agent went idle, or an auto-fix requeued behind a continue, could lift it. It now lifts only when the message carries sentFrom, which only the server sets from the connection's sign-in, and isn't imported or written for the move; imported queued messages lose any peer-supplied sentFrom. keepsMoveFence is gone, since it only patched the old rule. Found in the outside review of #977.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
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.
Follow-up to #977. A thread that moved here is fenced from the agent tools until the user here sends it a message. The rule decided "the user sent it" by the absence of automatic markers. The outside review of #977 found two automatic paths that passed it:
keepsMoveFencemarker, then lifted the fence when it ran alone.The fix: an allow-list.
sentFrom, which only the server sets, from the connection's sign-in:withMessageSentFromon the WebSocket and HTTP send paths. Clients' own copies are dropped by the schema.sentFromthe other computer sent.keepsMoveFenceis removed; it only patched the old rule.Known gap, failing safe: a session the server can't name, such as a browser paired through the relay, can't lift the fence. Its user sends from the app window, a normal browser or a phone instead.
Checks
sentFromon an imported message. Three of them fail with the fix removed.Not run: the outside review. Threadlines' limit on agent requests was reached. It runs next and any findings get fixed in a follow-up.