GPT-5 finding
Deep-dive issues selection uses unsupported sort=reactions on repo issues endpoint
mediumbughigh
- skills/ai-framework-watch/SKILL.md:214-215
The GitHub REST endpoint repos/{owner}/{repo}/issues does not support sort=reactions. Using this call will not return the top 3 open issues by reactions as intended, leading to incorrect deep-dive output.
Recommendation
Use the Search Issues API with sorting, e.g., gh api 'search/issues?q=repo:{owner}/{repo}+type:issue+state:open&sort=reactions&order=desc&per_page=3' and extract items; or fetch issues with reactions included and sort client-side by reactions. Alternatively, use GraphQL to query reactions.totalCount and sort client-side.