Skip to content

feat(ui): policy alert cards, notifications, and durable receipts#1006

Closed
dislovelhl wants to merge 2 commits intoamd:mainfrom
dislovelhl:pr952-main
Closed

feat(ui): policy alert cards, notifications, and durable receipts#1006
dislovelhl wants to merge 2 commits intoamd:mainfrom
dislovelhl:pr952-main

Conversation

@dislovelhl
Copy link
Copy Markdown
Contributor

@dislovelhl dislovelhl commented May 8, 2026

Supersedes #952 with the same policy-alert UI delta rebuilt directly on top of the latest main, plus the persistence-gap and cleanup follow-ups from review. Before this refresh, the branch was dirty against upstream and blocked receipts could still disappear or duplicate across provisional-message replacement and setup/error cleanup paths. After this update, policy BLOCK decisions stay durable across reloads and stream error paths, and the branch is conflict-free on the current base.

Test plan

  • PYTHONPATH=/home/martin/code/gaia-acgs/.worktrees/pr952-fix/src python -m pytest tests/unit/chat/ui/test_database.py tests/unit/chat/ui/test_utils_helpers.py::TestMessageToResponse::test_agent_steps_preserves_policy_alert_fields tests/integration/test_chat_ui_integration.py -k 'policy_alert or replace_message or stream_cleanup_after_setup_exception or stream_cleanup_when_thread_start_fails' -q\n- [x] git diff --check\n- [x] python -m black --check src/gaia/ui/_chat_helpers.py src/gaia/ui/database.py tests/integration/test_chat_ui_integration.py tests/unit/chat/ui/test_database.py tests/unit/chat/ui/test_utils_helpers.py\n- [x] python -m isort --check-only src/gaia/ui/_chat_helpers.py src/gaia/ui/database.py tests/integration/test_chat_ui_integration.py tests/unit/chat/ui/test_database.py tests/unit/chat/ui/test_utils_helpers.py\n- [x] cd src/gaia/apps/webui && npm run build\n- [x] cd tests/electron && CI=true npm test -- --runInBand

Rebuild the current PR amd#952 delta directly on top of the latest amd/main, preserve the policy-alert persistence fix, and carry forward the quality-gated local branch state that passes Python, Electron, and web UI build checks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added documentation Documentation changes installer Installer changes dependencies Dependency updates devops DevOps/infrastructure changes jira Jira agent changes cli CLI changes eval Evaluation framework changes tests Test changes electron Electron app changes security Security-sensitive changes performance Performance-critical changes website GAIA website (amd-gaia.ai) agents labels May 8, 2026
@dislovelhl dislovelhl changed the title chore(pr952): refresh branch onto latest main feat(ui): policy alert cards, notifications, and durable receipts May 8, 2026
@dislovelhl dislovelhl marked this pull request as ready for review May 8, 2026 17:28
@dislovelhl dislovelhl requested a review from kovtcharov-amd as a code owner May 8, 2026 17:28
Copilot AI review requested due to automatic review settings May 8, 2026 17:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@dislovelhl dislovelhl closed this May 8, 2026
@dislovelhl dislovelhl deleted the pr952-main branch May 8, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents cli CLI changes dependencies Dependency updates devops DevOps/infrastructure changes documentation Documentation changes electron Electron app changes eval Evaluation framework changes installer Installer changes jira Jira agent changes performance Performance-critical changes security Security-sensitive changes tests Test changes website GAIA website (amd-gaia.ai)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants