codex icon indicating copy to clipboard operation
codex copied to clipboard

feat: support passing Github issue as a context

Open sethupavan12 opened this issue 1 year ago • 2 comments

What is this issue for

To track the work for supporting Github issue as an input or context for Codex

Why

While Codex is built to help devs with their code locally, in most real-world workflows, devs start by addressing a GitHub issue — just like this one. Enabling Codex to understand the context of an issue, clone the relevant repository, and work toward resolving the problem or GH issue would significantly boost its usefulness and alignment with real dev usecases. For example, SWE Agent, which is currently SOTA on SWE-bench full supports this functionality.

sethupavan12 avatar Apr 21 '25 11:04 sethupavan12

I have already been using Codex this way. just use gh CLI and it will know what to do to retrieve github issue, similar to how Claude Code does it. But adding more instruction on usage will always be helpful. Not only it will retrieve Github issues, it will create new branch and open PR, review PR add comments to issues and PR. all this with gh cli

Stewart86 avatar Apr 22 '25 03:04 Stewart86

Codex on the web does not support this and it's not authenticated to be able to use the CLI:

Blocked: GitHub Issue Retrieval Failed Per your instruction, I stopped without making, committing, or proposing any changes.

Check

⚠️ gh issue view 240 --repo .../... --json number,title,body,labels,assignees,state,url — failed with the exact error:

g1ddy avatar Aug 27 '26 21:08 g1ddy