Skip to content

feat(stats): add lifetime earnings tracking for daily, weekly, work, and rob#3

Merged
siqnole merged 1 commit into
mainfrom
worktree-agent-a14ba7b732d023890
Apr 26, 2026
Merged

feat(stats): add lifetime earnings tracking for daily, weekly, work, and rob#3
siqnole merged 1 commit into
mainfrom
worktree-agent-a14ba7b732d023890

Conversation

@siqnole

@siqnole siqnole commented Apr 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • daily_earnings_total — tracked on every successful daily claim (text + slash)
  • weekly_earnings_total — tracked on every weekly claim (text + slash)
  • work_earnings_total — tracked on every work payout (text + slash)
  • rob_earnings_total — tracked on every successful rob (text + slash)
  • All writes go to user_stats_ext via db->increment_stat, consistent with existing stat pattern

Test plan

  • Compile bot with ./deploy_bot.sh to verify no syntax errors
  • Run .daily, .work, .weekly, .rob and confirm new stat keys appear in user_stats_ext

🤖 Generated with Claude Code

…and rob

Adds increment_stat calls for daily_earnings_total, weekly_earnings_total,
work_earnings_total, and rob_earnings_total so the dashboard can surface
per-source lifetime income alongside the existing net-worth aggregate.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@siqnole siqnole merged commit 075899e into main Apr 26, 2026
1 check 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