Skip to content

Conversation

@github-actions
Copy link
Contributor

Automated Fix by Amber Agent

This PR addresses issue #488 using the Amber background agent.

Changes Summary

  • Action Type: auto-fix
  • Commit: a07694d
  • Triggered by: Issue label/command

Pre-merge Checklist

  • All linters pass
  • All tests pass
  • Changes follow project conventions (CLAUDE.md)
  • No scope creep beyond issue description

Reviewer Notes

This PR was automatically generated. Please review:

  1. Code quality and adherence to standards
  2. Test coverage for changes
  3. No unintended side effects

🤖 Generated with Amber Background Agent

Closes #488

Implements browser push notifications to keep users informed of session
events even when not actively viewing the application.

Backend changes:
- Add push subscription management endpoints (CRUD operations)
- Add VAPID public key endpoint for Push API
- Store subscriptions in namespace-scoped ConfigMaps
- Implement RBAC checks for subscription access
- Add comprehensive error handling and logging

Frontend changes:
- Add Push API service for subscription management
- Add push notification manager for browser integration
- Add React Query hooks for subscription state
- Implement service worker for background notifications
- Add permission request flow

Features:
- Notification preferences (session start/complete/error, run finish/error)
- Service worker for background delivery
- Automatic permission handling
- Browser compatibility checks
- Test notification functionality

Documentation:
- Comprehensive guide in docs/push-notifications.md
- Architecture overview and data flow
- API endpoint documentation
- Configuration guide (VAPID keys)
- Browser compatibility matrix
- Troubleshooting guide

Security:
- User-scoped K8s clients with RBAC enforcement
- Per-user, per-project subscription isolation
- No sensitive data in notification payloads
- VAPID key management via environment variables

Future integration points:
- SSE event stream (websocket/agui.go)
- Operator phase transitions (operator/internal/handlers/sessions.go)
- Web Push protocol implementation (requires push library)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions github-actions bot added amber-generated PR created by Amber background agent auto-fix labels Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

amber-generated PR created by Amber background agent auto-fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Add browser push notification support

1 participant