inspector/clients
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 1fd1b15152 fix: enforce the challenge body cap per byte and never log cut-off JSON (#2297)
Copilot review round 2:

- Slice each chunk to the remaining budget, so one oversized chunk can no
  longer carry the recorded body past CHALLENGE_BODY_MAX_BYTES.
- Drop the long-lived-stream exclusion from the challenge branch. It guards
  an unbounded read and this one is bounded, so a 401 to an SSE GET now
  records its body too.
- Keep truncation out of the string that gets redacted. A cut-off body that
  looks like JSON cannot be redacted (redactBody only masks JSON that
  parses), so it is replaced by WITHHELD_TRUNCATED_JSON_BODY. Cut-off form
  and plain-text bodies are redacted, then marked [truncated].

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SG6q6YEDJyJB5H2Hr8nBDS
Signed-off-by: cliffhall <cliff@futurescale.com>
2026-09-14 01:34:38 -04:00
..
cli feat: bound connect attempts with a 30 s default connectionTimeout (#2320) 2026-09-13 20:54:23 -04:00
launcher chore: run each client's test suite once in local:gate, not twice (#2341) 2026-09-12 19:53:08 -04:00
tui chore: run each client's test suite once in local:gate, not twice (#2341) 2026-09-12 19:53:08 -04:00
web fix: enforce the challenge body cap per byte and never log cut-off JSON (#2297) 2026-09-14 01:34:38 -04:00