feat(tui): forward rx4 recovery and spill/failure host events - #22
Merged
Merged
Conversation
Add HostSurface stubs for forthcoming Event::Recovery (Prefill/Nudge/Retry/Halt) and typed spill/failure notices. JSON match compiles on the current rx4 pin. Co-authored-by: Max Carter 祁明思 <max@tsc.hk>
undivisible
marked this pull request as ready for review
September 7, 2026 03:49
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_dc3e1c37-232a-4f87-964a-1f655e6c2ef5) |
Bump rotary to the should-fix SHA and forward typed Event::Recovery, Event::ToolSpill, and ProcessStart/ProcessEnd from TUI/CLI/GUI. Co-authored-by: Max Carter 祁明思 <max@tsc.hk>
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.
Thin host wiring only. telekinesis stays a CLI/TUI host for rx4; the agent loop stays in rotary.
Pin
rx4→ gittschk/rotary@74698cfb8dc4654336f4710fe9d1a9a14a340699(rotary#184 draft should-fixes)default-features = false, featuresproviders+builtin-tools(GUI keepscomputer-use)Host Event match
TUI, CLI, and GUI share
ui/tui/src/host_events.rs(EventExt). Direct typed match:RetryReason { retry_reason, layer }ProcessStdin { process_id, bytes }ProcessStart { process_id, program }/ProcessEnd { process_id, exit_code }RequestPermissions { tool, paths }PatchHunk { path, hunk }Recovery { action, reason }—RecoveryKind:prefill|nudge|retry|haltToolSpill { status, locator, original_bytes }—SpillStatusGuessed JSON-only
FailureNotice/{ action, layer, text }Recovery stubs are gone. Unknown Event variants stay ignored. Rendered like ToolExecution / ApprovalRequired. No harness policy.Validate