Repository navigation
fix(broker): address #1939 must-fix PTY delivery review findings #1954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
e1287f9
fix(broker): address #1939 must-fix PTY delivery review findings (WIP)
ca627bf
test(broker): M1/M6/OpenCode regression tests; fmt
7c6bfa3
fix(broker): fail closed on long or off-screen failed drafts; unbound…
a3cbca9
fix(broker): satisfy clippy contains_key on the failed-delivery fence
09d1f99
fix(broker): latch partial chunked drafts; publish non-stuck state; i…
faba2e7
test(broker): off-screen draft tail keeps generic acceptance inconclu…
c749f74
fix(broker): ignore prompt and border chrome when probing body text a…
0202e9f
fix(broker): strip only prompt and border glyphs from the cursor-row …
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: A cursor-row placeholder is mistaken for draft content when the delivered message contains the same phrase, so generic output cannot confirm an accepted delivery. Exclude recognized harness chrome independently of
expected_echobefore applying this match.Prompt for AI agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Declining, with the trade-off now documented on
body_text_right_of_cursor. A misread here only fails toward Inconclusive: the delivery is reported unconfirmed and dead-lettered, never falsely confirmed. That's the direction this gate is designed to fail. Recognizing placeholders independently of the body would need a per-harness chrome registry, and the harnesses on this generic path are by definition the ones the broker has no model for. The opposite trade-off is the one Bugbot raised on this same line: dropping body-text matching lets a typed draft be confirmed. The collision also requires the body to contain the same leading 32 compact characters as the placeholder.