Skip to content

feat(outcome): add notify_admin tool with migration rewrite - #231

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/notify-admin-outcome-7b43
Nov 22, 2026
Merged

cursor[bot] merged 2 commits into
mainfrom
cursor/notify-admin-outcome-7b43

Conversation

@nettee

@nettee nettee commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Summary

Implements the Project notify_admin outcome tool (BCN-115 / reply-notify design).

  • New tool: notify_admin({ text }) → Profile admin.chat_id (orthogonal to reply gate and notify_card)
  • Same Run may combine notify_card + notify_admin + no_reply
  • Migration: non-human (schedule / event / on_failure) reply_text is rewritten to notify_admin + no_reply (behavior unchanged for Feishu)
  • Non-human reply_card left on the reply channel (rare; claim target already admin)
  • Failure fallback: human callers → reply; non-human → notify_admin (never business group)
  • Dashboard: expose notifyDeliveryState / notifyAdminDeliveryState; Runs table Delivery column

No playbook changes; carol not touched.

Test plan

  • Unit: outcome schema/merge, pi tool mapping, system prompt
  • Orchestrator: rewrite, dual notify delivery, failure notify_admin path
  • Schedule trigger + Dashboard records field coverage
  • After merge: carol pack/install + idle-first KeepAlive; observe next cron / failure sample for notifyAdminDelivery
Open in Web Open in Cursor 

cursoragent and others added 2 commits November 22, 2026 13:33
Introduce notify_admin({ text }) as an orthogonal admin side-effect channel
(Profile admin.chat_id), allow it alongside notify_card, rewrite non-human
reply_text to notify_admin+no_reply for behavior parity, route non-human
failures via notify_admin, and surface notify delivery states in Dashboard.

Co-authored-by: nettee <nettee.liu@gmail.com>
@cursor
cursor Bot merged commit eb7519c into main Nov 22, 2026
3 checks passed
@cursor
cursor Bot deleted the cursor/notify-admin-outcome-7b43 branch November 22, 2026 13:36
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.

2 participants