Skip to content

Push notification when a remote/cloud-agent session needs input#4605

Open
iscekic wants to merge 2 commits into
mainfrom
feature/mobile-agent-attention-notifications
Open

Push notification when a remote/cloud-agent session needs input#4605
iscekic wants to merge 2 commits into
mainfrom
feature/mobile-agent-attention-notifications

Conversation

@iscekic

@iscekic iscekic commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Enables push notifications when a Kilo session (remote CLI or cloud agent) needs user input.

  • session-ingest: flips REMOTE_SESSION_ATTENTION_PUSH_ENABLED to true, enabling the existing remote-session attention push path for active CLI sessions.
  • cloud-agent-next: adds a raise-only attention classifier (question.asked / permission.asked) and dispatches a push notification when such an event occurs on a cloud-agent-web session, gated by presence (suppressed if a client is actively viewing the session) and session/child-session identity checks.

Both slices are additive and raise-only: there is no resolve/clear push, no outbox, scheduler, alarm, or migration. Push payload status remains 'completed' for needs-input notifications, matching existing deployed-schema expectations (#4445).

Testing

  • services/session-ingest: full suite green (449 passed, 5 skipped), typecheck, lint clean.
  • services/cloud-agent-next: full suite green (2276 passed, 3 skipped), typecheck, lint clean.
  • Fresh independent code review: no findings (informational-only notes on residual risk, no changes required).
  • E2E on iOS simulator: verified push wiring, presence-suppression gates, idempotent single-push-per-signal behavior, and simulated APNs delivery (xcrun simctl push) for both payload shapes. Real APNs-to-physical-device delivery and live LLM-triggered question events are not verifiable in the local dev environment (missing EXPO_ACCESS_TOKEN, no deterministic interactive-prompt harness) and are documented as accepted limitations, consistent with prior related work (feat(mobile): notify when agent sessions need input #4545).

No mobile app code changes are included; this is a backend push-trigger feature only.

@iscekic iscekic self-assigned this Jul 16, 2026
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