Skip to content

fix: consolidate insight_goals into outreach_goals#744

Merged
bokelley merged 1 commit into
mainfrom
bokelley/fix-outreach-rates
Jan 13, 2026
Merged

fix: consolidate insight_goals into outreach_goals#744
bokelley merged 1 commit into
mainfrom
bokelley/fix-outreach-rates

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Fix outreach_goal_stats view to use planner tables (migration 165)
  • Drop insight_goals table and insight_goal_id column (migration 166)
  • Update InsightsDatabase to query outreach_goals for passive extraction
  • Remove admin insight goals CRUD routes, MCP tools, and UI page
  • Update admin panel to show goal stats from user_goal_history

Test plan

  • Verified migrations apply correctly in Docker container
  • Tested /admin/outreach page displays goal stats correctly
  • Verified no TypeScript errors
  • Manual verification of outreach tracking in production

🤖 Generated with Claude Code

- Fix outreach_goal_stats view to use planner tables (migration 165)
- Drop insight_goals table and insight_goal_id column (migration 166)
- Update InsightsDatabase to query outreach_goals for passive extraction
- Remove admin insight goals CRUD routes, MCP tools, and UI page
- Update admin panel to show goal stats from user_goal_history

outreach_goals is now the single source of truth for both proactive
outreach and passive insight extraction during conversations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 81f8468 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