Codex Desktop: add opt-in visible inbox monitor with watchdog#375
Open
ryofukutani wants to merge 4 commits into
Open
Codex Desktop: add opt-in visible inbox monitor with watchdog#375ryofukutani wants to merge 4 commits into
ryofukutani wants to merge 4 commits into
Conversation
Codex has no Monitor tool, and the PATH-shim/app-server bridge only covers CLI-launched sessions. This adds a Desktop-friendly path: - actas-monitor.sh: rebind monitor delivery to an explicit actas identity; app-server sessions keep the bridge, ordinary Codex.app threads fall back to codex-app-monitor.sh - codex-app-monitor.sh: watch inbox rows for one identity and wake the originating Codex.app thread via 'codex exec resume <thread_id>' - restore-actas-monitor.sh: global Codex SessionStart hook that restores the last actas monitor for the project - codex-bridge.js: honor the inbox ids-file so inline-delivered messages are acknowledged read-integrity-safely; add --owner/--claim passthrough; require visible UI acknowledgement in the wake prompt - watch-once.sh: --owner/--claim options for exclusivity claims - dispatch.sh: run the type's actas-monitor hook on 'agmsg actas' - template.md: document the Codex.app wake flow for delivery mode 3 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
inbox.shownership in the target visible threadThis PR includes the visible Codex delivery groundwork from #263 and completes the scheduler/watchdog layer requested in #374.
Verification
bats -t tests/test_codex_monitor_lease.bats tests/test_codex_visible_monitor.bats— 15/15 passedwhoami: defaults to claude-code when no env vars set, because the test process runs below Codex.app and process-tree auto-detection correctly findscodexbash -npassed for changed shell entry pointsshellcheck -S warningpassedgit diff --checkpassedCloses #374
Related: #263