Under the hood
No documentation found
Remote-agent transcript output can include a harnessHead excerpt built by a new helper
What
When Claude Code builds the transcript view for a remote agent task (an agent that runs elsewhere and reports back), it now also computes a harnessHead value using a new dedicated helper, and attaches it to the returned data alongside the task's raw output and prompt.
Why
This keeps the extra harness-supplied preamble text, shown ahead of a background task's own output, working specifically for remote-agent transcripts, now produced through its own code path rather than reused inline.