Unbounded injection of session-catchup output into model context is a medium-severity security concern: prior session content (which may include web/search results or user messages) was injected verbatim with no size limit. Add a 100-line cap via head -100 and prefix the context with a label so the model knows this content is from a previous session. Co-authored-by: Claude Code <noreply@anthropic.com>