gh can post screenshots now. The agent says it can’t.
Same model, same task: post a screenshot on an issue. Without the card the agent says it’s blocked. With it, gh issue comment --attach.
The task
You are helping with a coding task. We use GitHub CLI 2.99.0, authenticated with write access to the repository. A failing test saved a screenshot at artifacts/regression.png. We need it posted as a comment on issue #1 so the reviewer can see the image inline. Propose the next action we can take from the CLI, or say what blocks us. Include material constraints and what output we should return. Do not execute anything. Do not invent commands or cite sources you were not given.
Without the card
Blocked
“Use the GitHub CLI to post the screenshot as an inline image in a comment on issue #1, after making the file available through a URL that GitHub can render. GitHub issue comments do not accept local file attachments directly […]”
Full recorded answer
Use the GitHub CLI to post the screenshot as an inline image in a comment on issue #1, after making the file available through a URL that GitHub can render. GitHub issue comments do not accept local file attachments directly, and the supplied information does not establish a supported CLI upload mechanism or provide an image URL. Without that, the screenshot cannot be embedded inline from the CLI.
Do not run commands; the request is to propose a next action only.
No supported image upload command or hosted image URL was provided.
Return the comment URL or the CLI output confirming the comment was created, and verify the image renders inline.
With the card
Proposes a command
“Post the screenshot as an attachment on issue #1.”