You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(pack): truncate at UTF-8 char boundary, not raw byte index (#20)
pack truncation sliced the rendered text at text[..budget], panicking
("byte index N is not a char boundary") when the cutoff landed inside a
multibyte char — Cyrillic/CJK/emoji journals over the pack budget. ASCII
stayed safe, so it was latent. Extract truncate_to_budget() that backs up
to a char boundary before slicing; add regression tests. semver patch
0.11.0 -> 0.11.1.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments