Subagent transcripts skip image externalization before size cap / redaction
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 5.1k
- Forks
- 475
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 178
Description
Summary
Main session transcript path: sanitize → externalize images → redact.
Subagent path (prepareSubagentTranscript): sanitize only, then hard-drop if > MaxChunkSize (50MB), then redact.
Impact
- Image-heavy Claude/Codex subagent transcripts can be dropped whole.
- Codex
input_imagepayloads reach redaction still as base64 and can be corrupted (see companion redact issue).
Expected
When image externalization is enabled, run the agent image codec on subagent transcripts before the size check, and store returned assets under the task checkpoint tree.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating prepareSubagentTranscript and trace its sanitize, size-check, and redact sequence. Compare it with the main session transcript path, then verify that enabled image externalization runs before the size check and that returned assets are stored under the task checkpoint tree.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- ai, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100