mirror of
https://github.com/morluto/rea.git
synced 2026-11-30 08:08:55 +00:00
* feat(trace)!: give Playwright trace import per-call trace_limits inspect_playwright_trace refused large ordinary traces at a fixed archive allowance, a fixed record nesting allowance and four authored-only budgets (decoded streams, retained facts, metadata reads, line bytes). It now accepts trace_limits (CLI --trace-limits JSON) with today's values as defaults, and each refusal reports details.limit. The record parser node allowance is derived from facts_bytes and recovers through it; nesting_depth is capped where a retained record still fits the Evidence JSON depth. The capture JSON parser takes the trace's depth from the caller instead of a format special case. The source-location view's page refusal now reports view.max_bytes in details.limit. GraphQL AST nesting is registered as a representation bound, and GraphQL host-limit, web-bundle host-capacity and the trace decoder's occupied slot declare measured exhaustion. BREAKING CHANGE: PlaywrightTracePort.inspect takes the resolved limits, and trace archive and nesting refusals report details.limit instead of a fixed_ceiling refusal. * fix(trace): project trace records at the selected depth and record trace_limits The HAR projection of a trace record read the network capture's depth (64 by default), so a record admitted under a raised trace_limits.nesting_depth was dropped as malformed. Projection now runs under the selected trace depth. Evidence parameters record the caller's trace_limits selection as given, in complete and partial results.