Skip to content

TUI /tell and /peek use the existing peer mailbox (#563 leftovers) - #648

Merged
justrach merged 2 commits into
mainfrom
cursor/peer-talk-563-4ffc
Aug 28, 2026
Merged

TUI /tell and /peek use the existing peer mailbox (#563 leftovers)#648
justrach merged 2 commits into
mainfrom
cursor/peer-talk-563-4ffc

Conversation

@justrach

Copy link
Copy Markdown
Owner

#563 leftovers only — peer talk already exists (#469 + ADR 0004). This does not rebuild the channel.

Slice A — tell the truth

graff's 0.0.244 changelog still claimed the model peer_message tool could target "all". It cannot (retired; floods every folder). The line now matches the tool: room or named DM for the model; /tell all stays the human device-wide broadcast.

Schema / tool_desc / the collision gate were already honest. #469 stays in comments and old-transcript prefix matchers only.

Slice B — pager verbs

The line REPL already had /tell and /peek. The TUI catalog did not, so the pager answered unknown command.

  • Catalog + /help list both verbs
  • Dispatch routes them through engine.PeerFn — the TUI does not post
  • tui_launch implements the callback with the existing tellCommand / peekCommand
  • Headless TUI/sim.Term covers catalog, dispatch, and a /tell that shows the posted confirmation
  • src/tui_peer.zig posts /tell all into chan-all.jsonl (from_user: true) so another session would hear it

Not in this PR (still #563)

Slices C–E: typed channel events, model peer_peek, posted-vs-delivered / in_reply_to. Mid-turn inject stays #430.

Leave #563 open until those land or are split out.

Open in Web Open in Cursor 

#563 leftovers: stop telling the changelog that the model can target
"all", catalog the same /tell and /peek the line REPL already has, and
run them through an engine PeerFn so the pager posts to the real room
instead of reimplementing the channel.
@justrach
justrach merged commit 53a8d99 into main Aug 28, 2026
6 checks passed
@justrach
justrach deleted the cursor/peer-talk-563-4ffc branch August 28, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants