Bug: trace logger truncates long field values #19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Discovered during M2.3 smoke test (trace
1a8711c4-a65b-49fd-853e-50fde79c755f, step 23).The
synthesis_errorstep'sraw_responsefield contains the full LLM JSON output, which is essential for debugging the parse failure (see Issue #16). But in the trace JSONL the value is cut off mid-word ("butterhe" — clearly truncated from "butterhead"), losing the part of the response that would actually pinpoint the parse error.Repro
Same trace as Issue #16 — inspect step 23 in
~/.marchwarden/traces/1a8711c4-a65b-49fd-853e-50fde79c755f.jsonldirectly withjqto confirm the truncation is in the file itself, not just the renderer.Suggested fix
raw_response)TraceLogger.log_stepor the agent's call site is doing the truncation