* fix(agent): keep processed tool results stable across replay * fix(agent): preserve multimodal text and complete result references * docs: trim tool result persistence comments * fix(tools): allow complete reads of oversized text lines * fix: keep read_file interface unchanged in replay fix * refactor: pass one tool result reference path * refactor: keep tool result persistence text-only * fix: keep tool output references stable across workspace changes
Rename the boolean flag in _sanitize_persisted_blocks and alias the imported helper so session persistence cannot crash with TypeError when truncation is enabled.