Skip to content

Fix Telegram handoff for desktop-owned threads - #1

Open
GioPresta wants to merge 1 commit into
mideco-tech:mainfrom
GioPresta:fix/telegram-flash-handoff
Open

GioPresta wants to merge 1 commit into
mideco-tech:mainfrom
GioPresta:fix/telegram-flash-handoff

Conversation

@GioPresta

Copy link
Copy Markdown

Result

  • Forces DeepSeek V4.1 Flash with low reasoning for Telegram turns.
  • Releases the App Server writer after terminal turns and binding changes.
  • Stops passive observation from acquiring every bound thread.
  • Forwards Telegram input and reads state through the local Codex desktop app-tools pipe when desktop already owns the thread.
  • Persists desktop ownership preference across daemon restarts and repairs.

Verification

  • go test ./...
  • go build -buildvcs=false ./...
  • live desktop-pipe read against the current thread
  • service restart with stable 150-300 ms desktop polling and no bridge writer lock

Residual validation

A live Telegram-origin send was not injected into the active operator thread; the framed send protocol is covered by Unix-socket tests and the desktop-pipe read was verified live.

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.

1 participant