mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-01 04:00:28 +00:00
- Reject non-positive stride values before chunking and validate temporary overlap overrides before mutating chunker state. - Restore the original overlap and custom stride with `try/finally` so state remains unchanged after both successful and failed `chunk_with_overlap()` calls. - Add regression coverage for invalid stride and overlap values, valid boundary cases, and state restoration.