Only real failures are reported as failures.
A request with status 0 was "failed" everywhere, but status 0 also means three things that aren't failures: a browser timing record whose status isn't exposed (every Firefox row, and cross-origin rows without Timing-Allow-Origin), a fetch or XHR the app aborted, and an opaque no-cors response. Each became "API … failed with Network Error" at high confidence, sending the reader and the AI after a failure that never happened. Aborted and opaque requests are now tagged at capture, timing rows keep "status unknown", and one rule (src/request-status.ts) decides failure for the report, title, summary, root-cause hint, timeline, repro steps, AI prompt and MCP. The Network tabs show "aborted", "opaque" or "—" instead of a red ERR, and get_network_activity explains each.The clicks that lead up to a bug are no longer pushed out.
A session keeps its newest events and drops the oldest, and the browser's timing records of every image, font and fetch were filling that space while you reproduced the bug, so the clicks that caused it could be the first thing dropped. During a capture, a fetch/XHR is now recorded only by its wrapper (which has the method and status; the timing copy was always discarded later anyway), and an image, script or font only when it failed or was slow, the same rule page-load requests already followed.Typing right before a click is recorded before the click.
A typed value is recorded 300 ms after the last keystroke, so clicking "Apply" quickly put the click ahead of the value it applied, and a value typed just before Stop or leaving the page was lost. Pending typing is now written out the moment you press a mouse button or Enter, leave the page, or stop.Tokens in the page URL no longer leak through error stacks.
An inline script's stack frames carry the page URL, query string included, so ?access_token=… reached the report, the AI prompt and the exported file. Sensitive params are now masked in every URL inside captured text (stacks, console messages, response snippets) and in the error's source URL; the frame's line and column are kept.Hidden form fields are out of the DOM replay.
Masking inputs covered typed values but not an <input type="hidden">'s value, so CSRF tokens rode into every replay. Hidden inputs' values are now dropped from snapshots and later changes.The browser's favicon request is never one of the report's failures.
A missing /favicon.ico counted as a failed request in the evidence block and the exports. It stays in the Network tab.Reports see the newest events.
Events are written to storage about a second after they happen, and the repro steps built on an error (and a report built right after a click) read storage, so the click that triggered the bug could be missing. Reads now include unwritten events, and the repro steps are rebuilt from the session's events each time a report is built instead of reusing the copy frozen at the first error.Failed responses survive a reload.
The first 200 characters of a failed response lived only in memory, so they were gone after a reload and from every saved ticket. They are now stored on the request itself.Storage is shown as it was when the bug happened.
The localStorage / sessionStorage / cookie snapshot was read when the report was built, so a saved ticket reopened days later showed that day's storage. It is now taken at the first error (or when the capture stops) and kept with the session.The report URL is the page the bug happened on.
It was the page the capture started on, so a bug two pages in was reported under the landing page. The URL is now the page of the first failure (or the last page visited), and the Info tab adds "Started on" when they differ.Page-load requests carry their real time.
Requests from before the capture were all stamped with the moment the capture started; they now keep when they actually ran.The recommended MCP setup no longer hides your reports.
Every published setup command carried --dir ./bug-reports, which turns off the server's search of Downloads and Desktop, so a report just exported from the extension gave count: 0. The docs, both READMEs, the website, the exported file's AI tab and the hand-off prompt now use claude mcp add -s user tracebug -- npx -y tracebug mcp (-s user makes it work in every project; native Windows gets a cmd /c note). --dir is documented as "limit to one folder".No more "Restored draft" with the previous bug's title.
The ticket saved its untouched auto-filled title as a draft on close, so the next capture within the hour opened under the old title. Drafts are now saved only when you actually edit, and a successful Export replay or .zip clears them.The in-page toolbar's Record follows your Tab / Desktop choice.
In the extension it always asked for Desktop, so every toolbar recording opened the share picker even with Tab mode set up. It now uses the popup's stored choice (Desktop on Firefox, which has no tab capture).The welcome page copies the real setup command.
It offered a bare npx tracebug mcp, which only waits on stdin. The Alt+B shortcut is described as what it does (screenshot + ticket), not "start a capture".Fix with AI uses the ticket as you edited it.
It sent the auto-generated title and ignored your description; it now applies your title, and an edited description is included as "Reporter's description".The title and summary name the action that caused the bug.
Both used the session's last action, so a coupon crash followed by a click on "Place order" was titled "Place order Fails" and summarized "thrown when clicking Place order". They now use the last action before the first error or failed request, with a neutral title when nothing came before it. Found in the first playground run, where Claude Code had to point out the mismatch.The root-cause hint for "Cannot read properties of undefined" no longer prescribes optional chaining.
It now says to find out why the value is missing (a config entry, a failed request, a wrong key) and to add a guard only where the value can really be absent. "Add ?." is the fix that silences the crash ("SAVE20 applied — NaN% off") instead of fixing it.A capture where nothing failed says so instead of inventing a cause.
With no error and no failed request, the root-cause hint claimed "Click on 'Place order' did not trigger any observable effect" without checking anything, right after the click had visibly placed an order. It now reads "No errors or failed requests were captured — last action was clicking 'Place order'" and points at the reporter's description. The Fix with AI prompt shows a "No errors captured" section in place of a cause, and the MCP investigation guide tells the agent to read the description or ask what looked wrong, and marks the generated test as low value for such a report. No error is not proof of no bug: a wrong total throws nothing, which is what the description is for.Slow typing is one step, not five.
A field's value is recorded after each 300 ms pause, so typing a coupon produced Type "SA", Type "SAV", … Type "SAVE20" in the repro steps and five fill() calls in the generated test. Consecutive typing in the same field (no click, navigation or error in between) now collapses to its final value: Type "SAVE20" in "coupon".A clean capture's title says so:
No errors captured: Click "Apply coupon" → … instead of Session: …, with repeated actions shown once."Dead click" now means a re-click, not a pause.
A click was flagged dead whenever the next captured event came more than 1.5 s later, so stopping to read a message marked a working button as dead and raised the agent's guide to "[HIGH] … where the user got stuck". It now takes a second click on the same element 1.5–8 s later.The timeline lists each request once.
The browser's Resource Timing copy of a fetch showed up as a second, method-less row (" /api/orders → 201"); the timeline now drops it the way the Network tab already did.One workflow in every agent prompt.
The hand-off card, the exported file's AI tab, the MCP /tracebug:debug_bug_report prompt and Fix with AI said different things (one "propose a fix", one "implement the fix", only one mentioned the generated test). They now share src/exporters/agent-workflow.ts: gather the evidence, find the root cause, explain the fix, ask for approval before editing, add or update a regression test, run it red → green.get_playwright_test explains a missing test correctly
(no replayable actions, or a pre-1.9 export) and its run steps now include installing Playwright, starting the dev server and setting BASE_URL, so a spec doesn't silently test the captured staging site.The exported report has the new look.
The .html replay was still on the old indigo theme with a bug-emoji logo; it now uses the coral palette in light and dark, the prompt logo, and dark text on coral buttons.One setup command everywhere.
The hand-off prompt and the exported file’s AI tab still said claude mcp add tracebug … (current project only) while the card above them said claude mcp add -s user tracebug …. All three now use the same user-scoped command.Copied GitHub issues and Jira tickets no longer repeat themselves.
When the description box still held its auto-filled summary, it was printed above the full generated body, so the cause, actions, steps and environment appeared twice. The description is included only when you wrote or edited it.The AI prompt’s “recent successful calls” are API calls.
It listed script, style and image loads (similar-menu.js → 200), which tell an agent nothing; those are left out now.- The AI prompt no longer points at a “cloud link” for screenshots; it says they are in the exported .html report.
The in-page panels get their theme again.
Since 1.11.3 the theme was applied before TraceBug’s UI existed on the page, so none of its colours reached it: the ticket’s More menu was see-through over the panel behind it, and the UI fell back to hard-coded dark colours whatever theme was chosen. The theme is now applied once the UI is mounted (light by default; the ticket’s theme button switches it).