Repository navigation
feat(mac): add opt-in reminders for native main-session attention - #768
Open
Danielweng0902 wants to merge 1 commit into
Open
Danielweng0902 wants to merge 1 commit into
Danielweng0902 wants to merge 1 commit into
Conversation
Danielweng0902
force-pushed
the
feat/main-session-attention
branch
from
October 16, 2026 10:47
4cc2f93 to
519d902
Compare
Danielweng0902
force-pushed
the
feat/main-session-attention
branch
from
October 16, 2026 10:49
519d902 to
43ff6ec
Compare
This branch has not been deployed
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.
Codex Desktop's built-in questions and OpenCode 2's native permissions can wait for the user without producing a usable Coucou reminder. This adds an experimental, opt-in Mac reminder that shows the chat and reason, then opens the native app to respond. Main sessions only is the default; verified child sessions can be included explicitly. Coucou never answers or approves from this card.
The feature is off by default. When enabled, Codex PermissionRequest hooks immediately defer to native handling and become transcript-verified hints; progress/completion still use the existing pipeline. A stdlib Python reader observes local Codex transcripts and GET-only OpenCode loopback pending lists. It uses kqueue source events, bounded reads, active-session refreshes, expiring snapshots, deduplication and bounded restart backoff. Service authentication stays local and is never logged. The App Store target does not ship the reader.
Validation:
Private-format compatibility is intentionally explicit: local Codex 0.162 / OpenCode 2.0.30. Codex Desktop human-approval reminders and newly spawned live child sessions remain unverified; the human reviewer hint is not proof that the final native UI is visible. See docs/NATIVE_ATTENTION.md for acceptance details, bounds and failure behavior.
Related work reviewed: #315 uses managed Codex chat / an explicit Desktop question plugin; this observes existing built-in Desktop questions. #638 answers OpenCode question.asked in Coucou; this only reminds for native permissions. #351/#442 are Windows approval controls. #691/#557 concern OpenCode plugin loading; this GET-only path does not require that plugin. Independent of #767's narrow auto-review relay fix; no duplicate approval-ownership setting from #309 is added.
Rendered component preview (fixture text, not native acceptance evidence):