Repository navigation
Closed
Labels
Description
Parent
Part of #1695.
What to build
When triaging an existing GitHub issue (thirdshift triage <Issue> or a Triage Pass), screenshots and images attached in the trusted issue body or trusted comments cannot be fetched by the session itself when --read-machine sandboxes network access.
Before starting the triage session, thirdshift should:
- Extract image URLs from Markdown
and HTML<img ... src="url">tags in the trusted issue body and trusted comments only (never from untrusted comments), restricted tohttps://URLs ongithub.comor*.githubusercontent.com. - Download up to 10 unique images (at most 20 MiB per image, with a bounded timeout) on the host (using authenticated
gh/ HTTP requests as needed for private repository attachments) into.thirdshift-issue-images/inside the throwaway triage worktree. - If an image download fails or exceeds the size/count bounds, log a warning and continue with the issue text rather than failing the Triage run.
- Append a section to
.thirdshift-issue.mdlisting each downloaded image's original URL and its local path under.thirdshift-issue-images/, and instruct the session in the prompt /thirdshift-triageskill to inspect downloaded images from.thirdshift-issue-images/.
Acceptance criteria
- Image URLs in the trusted issue body and trusted comments (
and<img ... src="url">) onhttps://github.com/...andhttps://*.githubusercontent.com/...are extracted, while URLs in untrusted comments or non-GitHub/non-HTTPS hosts are ignored. - Up to 10 unique images (max 20 MiB each) are downloaded on the host into
.thirdshift-issue-images/in the triage worktree before the session starts (so they are readable inside the--read-machinesandbox). -
.thirdshift-issue.mdlists each downloaded image's original URL and local worktree path. - A failed or oversized image download logs a warning and allows the Triage run to proceed with the remaining content.
-
prompts/andsite/prompts/index.htmlare regenerated if prompt/skill text changes (cargo test prompts_page), and tests cover trusted vs untrusted image extraction, bounds, and download fallback.
Activity
JacobStephens2 commentedon Nov 10, 2026
Closed by #1922, merged into issue-1695 by a thirdshift Ticket run with Self-merge.