Repository navigation
Conversation
…eceiver dispatch gate failed on the primary path (the event fell into the mail branch, the ack marked the row sent, the mirror stayed paused) (0.34.7)
…tbox.ts, the tests run the actual gate+apply+ack (the reviewer's lookalike verdict fixed)
…l return + the row unchanged) - the last lookalike dead
…l-through hardening) + the silent-drop warns + addressedNotifyWake moves to mail.ts (the import cycle out)
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.
Summary
0.34.7 - the hotfix for the mr-reviewer BLOCK verdict on #174: the stream push spread stripped payload.task for task-input. The receiver dispatch gate (d.task?.id) failed, the event fell into the MAIL branch (the input became a plain DM), the ack marked the outbox row SENT, and the POST fallback (the only path applying handleTaskInput to the mirror) never ran - the mirror stayed input_required to the 24h cap. The prod primary path (the stream open most of the time).
The fix = one line: the spread keeps payload.task for task-input (outbox.ts:353).
Tests (mandatory)
Red-green: (a+b) the stream push carries data.task for task-input (the spread assertion) AND dispatching the captured event through the receiver resumes the mirror - STREAM ONLY, no plain DM, no POST fallback; (c) the task-input on an asker_node mismatch = refused (the gate fails, no ack, no apply). The (c) dead-letter at max attempts = the same machinery as task-reply spoof (documented, coherent).
Coverage
pnpm verify exit=0: 661 tests (49 files), build + smoke-dist.
Linked Issue
The mr-reviewer BLOCK verdict on #174 (the 0.34.6 live suite follow-up) - this PR waits the re-review verdict OK before any merge (the BLOCK rule).
OpenCode Validation
Quality Checklist