Skip to content

feat(scout): add Algora bounty discovery with real reward extraction and idempotency (#4) - #28

Open
jihadMo wants to merge 1 commit into
Nexussyn:mainfrom
jihadMo:agent/jihadMo/issue-4-algora-scout
Open

feat(scout): add Algora bounty discovery with real reward extraction and idempotency (#4)#28
jihadMo wants to merge 1 commit into
Nexussyn:mainfrom
jihadMo:agent/jihadMo/issue-4-algora-scout

Conversation

@jihadMo

@jihadMo jihadMo commented Aug 19, 2026

Copy link
Copy Markdown

Closes #4

Summary of Changes

  • Integrated primary Algora API endpoint (https://algora.io/api/bounties?status=open&limit=50) with fallback to console API in supabase/functions/runtime-opportunity-scout/index.ts.
  • Extracted real bounty data: title, URL, tags/skills, and reward in USD (supporting minor-unit cents normalization, amount_usd, and reward_usd fields).
  • Enforced idempotent SHA-1 task ID generation (opp-algora-<sha1>), preventing duplicate records on repeat scout executions.
  • Included tags, status, and repository metadata in raw payload.

Sample API Response Mapping:

{
  "source": "algora",
  "title": "Fix $O(n^2)$ deduplication in app store options",
  "url": "https://github.com/calcom/cal.com/issues/29959",
  "reward_usd": 50,
  "raw": {
    "status": "open",
    "org": "calcom",
    "tags": ["typescript", "performance"],
    "repo": "calcom/cal.com"
  }
}

Wallet for Base USDC settlement:

0x3AD489c09A5C750b29155B0d0426Fc70654D59e5

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.

🔍 [Agent Task] Add Algora bounty discovery to runtime-opportunity-scout

1 participant