Skip to content

feat: add Addie escalation and learning capture tools#747

Merged
bokelley merged 3 commits into
mainfrom
bokelley/filter-single-turn-threads
Jan 13, 2026
Merged

feat: add Addie escalation and learning capture tools#747
bokelley merged 3 commits into
mainfrom
bokelley/filter-single-turn-threads

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Add escalate_to_admin tool for Addie to escalate requests she cannot fulfill (capability gaps, needs human action, complex requests, sensitive topics)
  • Add capture_learning tool to flag valuable user insights for synthesis
  • Add admin API endpoints for managing escalations (/api/admin/addie/escalations)
  • Update system prompt with "Honesty About Actions" section to prevent Addie from promising actions without tools
  • Add multi-turn thread filtering in admin UI (filters out 1-turn anonymous web requests)

Test plan

  • Verify build and typecheck pass
  • Test escalation tool creates records and sends Slack notifications
  • Test capture_learning tool creates insight source records
  • Verify admin API endpoints work (list, view, update status)
  • Test multi-turn filter checkbox in admin UI

🤖 Generated with Claude Code

bokelley and others added 3 commits January 13, 2026 09:51
Add tools for Addie to escalate requests she cannot fulfill and capture
valuable insights from conversations:

- New `escalate_to_admin` tool for capability gaps and requests needing
  human action (creates tracked escalations, flags threads, notifies admins)
- New `capture_learning` tool to flag user insights for synthesis
- Admin API endpoints for managing escalations (list, view, update status)
- System prompt updates to prevent Addie from promising actions without tools
- Thread filtering for multi-turn only conversations in admin UI

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Main branch already has 165_fix_outreach_goal_stats.sql from PR #746.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Main branch now has 166_drop_insight_goals.sql from PR #746.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 67a2a37 into main Jan 13, 2026
6 checks passed
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