Claude Code transcripts may lack cwd on early records; hold until seen
Claude Code session transcripts can begin with queue-operation records that hold prompt text but no `cwd` field. Directory-based policy checks therefore cannot read the first line alone. Scan forward with a byte budget, skip overlong records without parsing them, and pre-filter l…