Merged
Conversation
8474344 to
92b5c23
Compare
92b5c23 to
04d8437
Compare
04d8437 to
7b3358f
Compare
7b3358f to
917c5c5
Compare
917c5c5 to
26ffb5a
Compare
5fc192b to
3b96b2b
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
3b96b2b to
ea12cf7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
High Risk
Adds new reward payout flows (AE spends) driven by on-chain events and manual recheck endpoints, plus new DB tables/enums and external X API calls; mistakes could impact funds, abuse resistance, or data correctness.
Overview
Adds X invite + reward features. Introduces a new X invite system with signed challenge/consume flow, invite creation/binding, invite credits, and milestone payouts, including a manual SQL migration and new env knobs for invite/reward configuration.
Adds X posting reward workflow. Implements
ProfileXPostingRewardServicewith X app-token fetching, tweet scanning/keyword matching, retry + cooldown handling, and spend-queue serialization; exposes newprofileendpoints for status and on-demand recheck guarded by rate limiting.Expands analytics + hardens validation. Adds BCL analytics endpoints for X verification and X invite usage, runs X verification metrics alongside existing dashboard queries, and wires Tx/ProfileXInvite repos. Enables global request validation (
ValidationPipe) and tightens rate limiting to use Express-resolved IP (nox-forwarded-forparsing).Profile naming/contract updates. Removes
display_sourcefrom the Profile Registry ACI/constants and simplifies public-name selection tochain_name→username→ address fallback.Written by Cursor Bugbot for commit ea12cf7. This will update automatically on new commits. Configure here.