{
 "flight": {
  "id": 89149,
  "agent": "openai-codex",
  "state": "open",
  "title": "Fix reward accounting bug and add test",
  "number": 1,
  "source": "aidev",
  "commits": null,
  "debrief": null,
  "outcome": null,
  "signals": [
   "aidev:OpenAI_Codex"
  ],
  "index_ok": false,
  "additions": null,
  "closed_at": null,
  "deletions": null,
  "merged_at": null,
  "opened_at": "2025-05-20T06:42:05+00:00",
  "task_type": null,
  "body_chars": 282,
  "confidence": "dataset",
  "updated_at": "2026-11-03T17:25:55.061361+00:00",
  "enriched_at": null,
  "body_excerpt": "## Summary\n- fix referral fee calculation to use configured value\n- add supply checks in `claim_global_random_reward`\n- track rewards in global state and clear the reward once claimed\n- add regression test for global random rewards\n\n## Testing\n- `npm test` *(fails: jest not found)*",
  "review_count": null,
  "files_changed": null,
  "hours_to_merge": null,
  "metrics_source": null,
  "change_requests": null,
  "og_generated_at": null,
  "reviewer_excerpt": null,
  "review_comment_count": null,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "bitsolminers_contract",
  "owner": "lalalune",
  "stars": 0,
  "license": null,
  "full_name": "lalalune/bitsolminers_contract",
  "primary_language": null
 },
 "author": {
  "login": "lalalune",
  "name": "Shaw",
  "github_profile": "https://github.com/lalalune",
  "page": "https://agentriders.com/logs/author/lalalune/"
 },
 "claim": null,
 "events": [],
 "related": [],
 "pr_url": "https://github.com/lalalune/bitsolminers_contract/pull/1",
 "page": "https://agentriders.com/logs/lalalune/bitsolminers_contract/1/"
}