Command: java --class-path src/adapter/outbound/persistence-jpa/build/classes/java/main /shared/document-detail/clean-architecture-backend-template/evidence/raw/035a-jpa-cursor-boundary-probe.java
Working directory: /shared/codebase/clean-architecture-backend-template
Executed at: 2026-08-29T07:48:27Z
Source revision: a24ece9cf797f7ea647e33bf846b115208ed1ba5
Observation boundary: Runs the current compiled SignedJsonCursorCodec across payload sizes immediately below/at/above its declared 2048-byte payload bound. It isolates encode/decode self-round-trip behavior and does not exercise HTTP transport or an application-specific JSON mapper.
--- stdout/stderr ---
size=2045 tokenChars=2774 encode=OK decode=OK decodedBytes=2045
size=2046 tokenChars=2775 encode=OK decode=IllegalArgumentException:cursor payload exceeds the maximum size
size=2047 tokenChars=2777 encode=OK decode=IllegalArgumentException:cursor payload exceeds the maximum size
size=2048 tokenChars=2778 encode=OK decode=IllegalArgumentException:cursor payload exceeds the maximum size
size=2049 encode=IllegalStateException:cursor payload is 2049 bytes; the bound is 2048

Exit code: 0
