Repository navigation
Conversation
Read a future FCM session alert from the launcher activity's intent: a session_ref with a known kind and its exact pairing_hint, mutually exclusive with approval_ref. Java checks extra presence before reading either value, so a valid session reference plus a wrongly typed approval_ref is still refused; an approval reference may carry only an approval or question kind, or omit kind. Java then validates the action, types, canonical reference, known session kind and required hint, and keeps the envelope in the bounded dedupe store. Rust parses it into a typed SessionAlert event that shares the existing bounded inbox, dedupe and newest-tap rules, and routes only that valid explicit launch through the shared signed follow_tap session branch. Received data and background messages are untouched; approval taps keep their legacy and routed behaviour. The existing activity, launcher and no-FCM build are unchanged. The relay's NEW_TASK | CLEAR_TOP click action can recreate the standard-mode activity for a background-warm tap, which uses the same capture path and is to be verified on a device; a foreground onNewIntent is not covered by this slice. The relay does not send a session reference yet and no Android session alert opt-in control is added. Checks: cargo fmt --check; host android_fcm_events tests (26); host clippy -D warnings; Android cargo check with and without android-fcm; the pilot static check; javac against android-36; and a Java fixture for the reference, hint and kind validators.
…ndroid-alert-warm-launch
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
One combined Android case with #399: leave a marked review notification in the shade, close the Activity with Back, then tap the existing notification. The cold-start fix and notification renderer meet at that tap. It should start a fresh process and open the same signed approval review, without replaying the older tap or sending a decision. |
|
The combined API 35 emulator rehearsal with #399 passed the lifecycle portion. A review-only notification posted by the FCM renderer stayed in the shade after Back exited the first app process. Tapping that same notification started a different process and drew the app again. The emulator was unpaired and used a fixture payload, so opening the live signed approval on a paired device remains to be verified. |
|
The paired API 35 rehearsal now also passed with #399. The real review renderer posted a marked notification for a later pending question while an earlier approval remained pending. Back ended the app, and tapping the same notification started a new process and opened the exact question through the signed pairing. The host recorded a thread selection and zero answers. Tapping Send answers produced one answer for the exact scope, question and live token. Replaying the resolved notification started a fresh process and produced no further actions. This used a loopback host and fixture payload. Live FCM delivery and physical Android validation remain open. |
…approval-notice-reconcile # Conflicts: # desktop/ox-mobile/README.md # desktop/ox-mobile/check-android-fcm.sh
|
@codex security review |
|
/queue c138542 |
|
In line to merge. Commit c138542 is reviewed with nothing blocking; it has entered the merge queue. |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
After #361 landed, I reconciled this branch with main at The advisory stock-client job failed in the OpenCode loopback fixture. The installed CLI rejected the positional argument in |
Part of #95. Stacked on #361 for cold and warm launch routing.
The opt-in Firebase build can display a review notification for a marked data-only approval on Android 12 or newer. It accepts only the versioned format and two canonical routing values, uses fixed copy, and expires with the Firebase message. Repeated deliveries update the same notification. Separate requests keep distinct immutable tap intents.
The body tap opens the existing signed approval review. The relay still sends its existing tray payload. The standard APK keeps its existing behavior. Approval decisions and the relay opt-in will follow separately.
Local verification passed: