entireio / entireio/cli

Subagent transcripts skip image externalization before size cap / redaction

Open
#2,063 0 comments 0 reactions 0 assignees View on GitHub

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_image payloads 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.