chat_image: test that fails if the take(MAX+1) read bound is removed #12
Loading…
Reference in a new issue
No description provided.
Delete branch "eureka/chat-image-read-bound"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #11 (Heimdall review). The read bound was unreachable by tests: load() refuses an over-cap file on its length first. Extracts
read_boundedand pins it: a file grown past the cap reads exactly MAX_BYTES+1 bytes. Verified by mutation: removing.take(MAX_BYTES + 1)fails the new test; restored it passes (16 chat_image tests).🤖 Generated with Claude Code