disclaw/tests
Nick Tabeling 62ea507974
Some checks failed
CI / build-and-test (ubuntu-latest) (pull_request) Has been cancelled
CI / build-and-test (windows-latest) (pull_request) Has been cancelled
CI / lint (pull_request) Has been cancelled
fix(DIS-105): prevent fence closure from pushing chunks beyond 2000-char hard limit
The flush() helper now enforces the Discord hard limit by hard-splitting
any chunk that exceeds 2000 chars (e.g. when "\n```" was appended after
the soft-limit check). Also reserves 4 chars of overhead in the
soft-limit check when inside a fenced code block.

Adds a regression test that verifies no chunk exceeds 2000 chars even
when the fence closure is appended at the limit boundary.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 10:13:58 +02:00
..
fixtures feat(runner): add --bare and --append-system-prompt-file flags 2026-04-09 11:22:44 +02:00
integration refactor(DIS-108): extract DB schema to src/db/schema.sql (SSOT) 2026-04-09 17:50:14 +02:00
unit fix(DIS-105): prevent fence closure from pushing chunks beyond 2000-char hard limit 2026-04-10 10:13:58 +02:00