On startup, subagent transcripts stored as symlinks are converted to hard links or copies.
What's wrong with this entry?
A startup sweep converts symlinked subagent transcript and metadata files into hard links, or copies them if that fails. It only runs when the newer session storage backend is present, and does nothing at all if the session directory sits outside the transcript store.
- Before relinking, it checks the target is inside the transcript store, is not this session's own file, sits beside its transcript, and actually names the agent within the first 64 KiB.
- Caps how much it does per pass and starts at a random offset, so repeated runs cover different files.
- Reports counts through
tengu_adopt_relink; copy fallbacks also incrementtask_local_agent/adopt_link_fallback_copy.
no record naming this agent in the first 64 KiB
Strings lifted out of the shipped bundle, so the claim above can be checked against them.