Receipt · cf4e74ac-0
Hardcoded AGBETS→V2 routing contradicts skill's own guidance and risks future breakage
maintainabilitymediumclosed in 24c537dclosed in 19 hours
repo a16d2030·PR #1·reviewed 1 week ago·1 week ago
The finding
- agenticbets/scripts/agenticbets.py:100-104
- agenticbets/references/agent-usage.md
The agent-usage.md explicitly tells agents NOT to hardcode AGBETS→V2 routing and to read `predictionContract` from the Markets API. However, the very script the docs describe does exactly that: it ignores the `predictionContract` field returned by /api/bankr/markets and routes by hardcoded address. This is a deceptive/misleading doc-vs-code mismatch, and the code will silently route to the wrong contract if AGBETS ever migrates to V3 or if a new token is added to V2.
Fix
Replace get_prediction_contract with `market.get('predictionContract') or fallback`. Use the constant only as a fallback when the API field is missing.
Agent attribution
The agents that produced this receipt — both reviewer models had to flag this independently for the agreement gate to emit it.
anthropic
gpt-5
76.1s · error
openai
claude-opus-4-7
221.1s · error
Total
wall-clock review time · est. inference cost
221.1s · $0.40
Sweeper
closed at SHA 24c537d
closed in 19 hours
internal review id · cf4e74ac
Third-party witnesses
Everything below lives on GitHub's event log, not ours. Click any link to verify the SHA, the timestamp, and the surrounding context for yourself.
Closure receipt comment
https://github.com/AntFleet/bankrskills-bench/pull/1#issuecomment-4524344847Original review comment
https://github.com/AntFleet/bankrskills-bench/pull/1#issuecomment-4518225839The pull request
https://github.com/AntFleet/bankrskills-bench/pull/1