本卡屬 FR-196(母卡 CM-3875(已建)),卡 S-3,第三期批 8。只改 BE(主 repo,Repo 欄空著)。依賴:S-2。
第三期資料:型錄裡四個任務類事件設合併視窗 300 秒。
extend seed:UPDATE 四列;表已在 P-1 建則略
repo:~/Projects/Billows/Audit-Manager/compliance-manager-be
改既有:scripts/sql/manifest.tsv(一行)
新開:scripts/sql/2026-11-14-fr196-seed-merge-window.sql
UPDATE public.notification_events SET merge_window_sec=300 WHERE code IN ('task.assigned','task.batch_assigned','task.due','task.review_step');冪等;manifest 一行 seed *。DEV select code from notification_events where merge_window_sec=300=4 列;冪等
~/Projects/Billows/Audit-Manager/compliance-manager-be/docs/features/FR-196-2611-notification-center/design.md §3 決策定案、§5 詳細設計(§5.1 套件職責與 port、§5.2 資料表、§5.3 API、§5.5 前端)、§6 拆卡表本卡那列、§8 風險;討論稿(Artifact,連結在 README)只在想知道「為什麼這樣裁」時看~/Projects/Billows/Audit-Manager/compliance-manager-be/docs/features/FR-196-2611-notification-center/prototype/index.html(四個分頁:鈴鐺、通知中心、通知設定、系統橫幅;純畫面,只取結構與資訊順序;文案依 i18n 重寫)infra/task_alert/(entity/model/mapper/repo+domain/task_alert/service/task_alert_notification_domain_service.py claim/mark);排程先例 core/scheduler_update.py;SocketIO 登記 config/socketio_namespaces.py(檔頭紅線)與 handler 先例 jedi-survey app/handler/fill_survey_socketio_handler.py;橫幅先例 FE src/components/ai-quota/AiQuotaBanner.vue、掛點 src/layout/AppLayout.vue 124;iam 通知接口 common/iam_ports.py;十個寄信點行號在 design.md 表 4-1jedi-bulletin/jedi_bulletin/plugin/(contract/assembly/migrations)、jedi-notification/README.md;主系統接線 core/plugins/bulletin.py、core/plugins/_host.py::host_defaults、core/plugins/license.py::TenantAdminDirectory;寄信點 app/flow_engine/service/workflow_execution_service.py:1246、stage_entered_notify_service.py:117、app/task_alert/service/scan_alert_app_service.py:74;既有投遞紀錄表 infra/task_alert/model/task_alert_notification.py;鈴鐺 FE src/layout/AppTopbar.vue 484~540、TopbarStageQueue.vue;seed 先例 scripts/sql/2026-05-22-seed-oscal-ssp-roles.sql、2026-11-10-fr194-ui-routes-entry-gates.sqldocs/claude/domain-capabilities.md、FE docs/claude/frontend-overview.md §4。三擇一、預設不新增:reuse → extend → 確認沒有才新增。回寫列出本卡 reuse 了哪些、新增了哪些、為什麼不能 reuse。本案設計已做過重複盤點(橫幅、投遞紀錄、去重戳、個人資料頁),卡上「reuse/extend/new」是結論,照它做。if event == ...、開 XxxV2。出現就停下先抽共用。api//app//infra//scripts/sql/ 時 .claude/rules/security/ 自動載入;套件 repo 動手前讀 BE 的 endpoints.md、data.md;FE 讀 FE repo .claude/rules/security/frontend.md。收件匣端點只回本人的列、uid 猜中別人回 404;通知內容不放密碼、token、弱點細節。回寫列出本卡對到哪幾條。