fix: sanitize SessionStart session summaries (#642)#710
Conversation
There was a problem hiding this comment.
affaan-m has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe session-start hook now sanitizes ANSI escape codes from loaded session files at the point of file reading, moving the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Strip ANSI escape codes from session.tmp when injecting into SessionStart hook. Fixes #642.
Summary by cubic
Strip ANSI escape codes from session summaries before injecting them in the SessionStart hook to keep the context clean. Adds a test to verify sanitization and fixes #642.
Written for commit 11e9f25. Summary will update on new commits.
Summary by CodeRabbit
Release Notes
Bug Fixes
Tests