Writing / 02

HAR-Driven Prototyping

Using recorded browser traffic as an offline workbench and test suite.

It’s slowly getting colder, Mariah Carey is back, and with her the desire to sit inside and not move an inch. Hot chocolate in hand, anime on the big screen. The only practical question is what to watch this season — and, more importantly, what I have already watched.

When I checked my MyAnimeList profile (or rather, hooked an AI up to it and got recommended three shows I had already finished and two I had dropped after episode one), I realised most of my Crunchyroll watch history from the last two years had never made it onto my list.

So I looked at how people usually solve this. The obvious first stop is MAL-Sync, a genuinely great browser extension that works reliably across dozens of streaming sites. Out of curiosity, I read its Crunchyroll integration to see how it manages to interact with Crunchyroll for years without getting anyone’s account banned. The answer turns out to be refreshingly boring: its Crunchyroll integration never sends a request to Crunchyroll of its own. It sits passively inside your tab, reads the metadata responses Crunchyroll’s own web player already fetches, and writes only to MyAnimeList through MAL’s official API. From Crunchyroll’s side, the traffic is identical to a normal human watching anime.

The catch is that passive episode observation only works going forward. It can’t backfill two years of history.

On the other side sit standalone GitHub tools like CrunchyExporter. They do import your backlog, either by generating an XML file for MAL’s import page or by writing through MAL’s API. To do that, they ask you to fish your etp_rt session cookie out of DevTools and hand it to a Python script that queries Crunchyroll’s private API from outside the browser. Even the README politely reminds you that Crunchyroll prohibits automated access and that your account is on the line.

I didn’t want to hand a script my login cookie, and I didn’t want to poke Crunchyroll’s private API with automated requests.

Decision time

Requirement Using some odd GitHub project Making my own odd GitHub project MAL-Sync
Backfills existing watch history Yes (XML or MAL API) Yes (preview + MAL API) No — only notices new watching
Doesn’t need my session cookie No (etp_rt required) Yes Yes
Doesn’t send requests to Crunchyroll No (calls private API) Yes (passive listener only) Yes
Leaves existing MAL scores untouched Unclear Yes (enforced in tests) Yes

That table points straight at a broader engineering problem that shows up far beyond anime trackers.

Whenever you want to build a browser extension, a personal exporter, or an integration against a web app that has no public API — and you refuse to scrape it, drive Playwright against your logged-in account, or hand session cookies to scripts — how do you actually explore, prototype, and test against it?

The answer I ended up relying on is simple enough that it deserves a proper name and a disciplined workflow: HAR-Driven Prototyping.

Instead of iterating against the live site, you browse the site once like a normal human, save the traffic your browser already loaded as an HTTP Archive (.har), strip every credential out of it through a fail-closed sanitizer, and turn that capture into an offline workbench and test suite.

Two Topologies for Prototyping Against an Undocumented Web App

This post documents that method end to end — how to capture a HAR without shooting yourself in the foot, how to interrogate and diff captures offline, how to sanitize them into safe fixtures, where offline iteration shines, and the exact boundary where HAR stops helping and live testing has to take over. Crunchyroll and MyAnimeList are just the lab specimen throughout.

I. Capture and quarantine

A .har file is just a standardised JSON log of everything your browser’s Network tab observed: every request URL, header, cookie, timing, and response body. Every modern browser can export one out of the box. You don’t need a proxy, a custom CA certificate, or a headless browser.

Why not just fire up Playwright and let a script click around? Because any site that cares about its infrastructure detects automated browsers almost immediately. I got a free demonstration: early in the exploration, my AI agent opened crunchyroll.com/history in a Playwright browser on its own initiative and ran straight into Cloudflare’s bot challenge. I shut it down within a minute. Driving Playwright against your own logged-in account also crosses the exact terms-of-service line you were trying to stay behind. A HAR exported from your normal browser session is just you browsing.

The capture procedure

Capturing a usable HAR takes about sixty seconds, provided you avoid the classic mistake of opening DevTools too late:

  1. Open DevTools (F12) → Network tab before loading the target page. If the page already loaded, the initial batch of JSON responses won’t be in the buffer.
  2. Tick Keep log (Preserve log in older Chrome versions and in Chrome’s docs, Persist Logs in Firefox) so redirects or soft navigations don’t wipe earlier requests.
  3. Filter to Fetch/XHR (or capture All and filter programmatically later — capturing everything and filtering in code is safer if you aren’t sure where the data lives).
  4. Use the page like a normal person. For Crunchyroll, that meant opening crunchyroll.com/history and scrolling all the way to the bottom until no new episodes loaded.
  5. Export the archive (Export HAR in Chrome/Edge, Save All As HAR in Firefox). Since Chrome 130 the default export is sanitized: it leaves out cookies and Authorization headers. Use that one; for read-side prototyping you almost never need the sensitive variant.
Chrome DevTools Network tab alongside Crunchyroll's History page with Keep log enabled and the Export HAR button in the toolbar
Capturing a HAR during normal browsing: Crunchyroll’s History tab (under My Lists) on the left, Chrome DevTools on the right with Keep log ticked, the filter still on All, and Export HAR (downward arrow) in the toolbar.

Three HAR gotchas nobody warns you about

Before writing a single line of parsing code, there are three practical quirks in browser HAR exports that will waste your evening if you don’t expect them:

  • Chrome can silently drop response bodies. When I also visited my Crunchyroll watchlist during the same capture, the page made a batch request (/content/v2/cms/objects/...) for 37 series at once, with a 276 KB response. Chrome recorded the request URL, headers, status code, and size in the HAR — and quietly left response.content.text empty. 276 KB is not large, so don’t assume size is the only trigger (Firefox, for its part, caps bodies at 1 MB by default via devtools.netmonitor.responseBodyLimit). Never assume a request in the Network tab still has its body attached in the exported file; check body lengths first.

  • Response bodies can be base64-encoded. Browsers sometimes store response.content.text as base64 with response.content.encoding === "base64". Every loader you write should decode conditionally before calling JSON.parse:

    function responseText(entry: HarEntry): string {
      const {text = '', encoding} = entry.response.content;
      return encoding === 'base64'
        ? Buffer.from(text, 'base64').toString('utf8')
        : text;
    }
  • A raw HAR is a live login credential, even when sanitized. Chrome’s default export strips Cookie and Authorization headers, and mine had zero of either. It does not touch response bodies. While I browsed, the page had refreshed its login through /auth/v1/token, so my “sanitized” HAR still held a working 1,596-character access token and its refresh token in plain JSON, next to account and profile IDs in URLs and bodies. Header stripping is a blocklist, and blocklists miss things.

That leads to Rule 1 of HAR-driven prototyping: quarantine immediately. Add *.har to .gitignore before you move the file into your project directory. Never paste a raw HAR into a chat window, never commit it, and delete it from both your project folder and your Downloads folder once your sanitized fixture exists.

Anatomy of a HAR Entry: What Is Radioactive vs. What You Keep

II. Offline reconnaissance

Once a HAR sits locally on disk, the economics of exploration flip completely.

Normally, reverse-engineering a frontend data contract means refreshing pages, poking endpoints in DevTools, worrying about rate limits, and half-remembering what a JSON field looked like ten minutes ago. With a static HAR file, every hypothesis costs 50 milliseconds and zero network requests. You write a ten-line Python or Node probe, run it against the file, get an exact answer across your entire dataset, and throw the probe away.

Four specific reconnaissance moves turned out to be worth adopting as standard practice.

1. Audit completeness and structural blind spots first

Before designing anything, check whether the page actually sent all the data you think it did — and what is permanently missing.

In the Crunchyroll HAR, filtering for paths ending in /watch-history turned up 21 JSON responses of up to 100 rows each: 2,006 rows going back to August 2024, covering 229 series and 269 seasons. The 21st page had 6 rows, which proved scrolling had genuinely reached the bottom of the history.

That same 15-line script immediately surfaced a structural blind spot: 46 rows arrived with no episode payload attached at all. Most likely those are titles Crunchyroll has since removed from my region; the watchlist showed the same kind of region filtering. Knowing that up front saves hours of debugging later — no matcher in the world can sync data the server refuses to send.

2. Kill dead-end hypotheses in minutes

Offline captures make it cheap to test clever-sounding ideas and bury them quickly when the data says no.

When you see structured IDs in a Sony-owned platform’s API, it is tempting to assume they key into some external Japanese broadcast or archive database. Dissecting all 2,006 rows offline killed that theory in two minutes. Crunchyroll’s catalogue has three generations of internal IDs:

  • Legacy running counters from the old site (EPI.510074 in 2009 climbing to 972118 in 2025)
  • Random nine-character codes (G0XHWM0D3) covering most older shows
  • Newer structured IDs (GT00384009, GS00384038JAJP, GE00258180ENUS) with a type letter, an eight-digit number, and a locale suffix

Looking at the numbers for newer shows revealed how they are generated: one series was 361955, its season was 361956, and episode one was 361957. Just an internal auto-incrementing rights-system counter — zero relation to MyAnimeList, AniList, or Japan’s Media Arts Database.

A second offline check against Wikidata’s volunteer-maintained Crunchyroll-to-MAL cross-reference killed that path just as fast: accurate where it existed, but it only covered 52 of my 229 series, and just 1 of the 31 shows using the newer ID format. Two plausible dead ends ruled out in under ten minutes, without sending a single request to Crunchyroll.

3. Mine for structural invariants underneath messy UI strings

Anyone who has tried to match streaming sites to anime databases knows UI titles are a trap. Reading through MAL-Sync’s GitHub issues makes the pain obvious: Crunchyroll routinely labels new seasons literally "Season 1", splits or merges cours differently from MyAnimeList, and uses inconsistent numbering. In one issue from October 2025, MAL-Sync’s maintainer wrote: “I did not think they could worsen the data consistency further. But they never disappoint.” Their practical defence is a hand-maintained patch catalogue covering 2,348 series and 3,375 seasons.

My capture had an extra wrinkle: my Crunchyroll UI was set to German. Asking an anime database for „Die Tagebücher der Apothekerin“ or „Ich bin eine Spinne, na und?“ is a reliable way to get empty arrays back.

Instead of fighting localized titles with regexes, inspect the raw JSON payload in your HAR for fields the frontend doesn’t display prominently — the boring, rigid plumbing the backend actually uses to join its own tables.

Mining a Captured Payload: Three Invariants Under Noisy UI Fields

Look at that single real row from the capture. Even inside one object, episode_number says 55 while identifier ends in E7 — a neat illustration of why trusting display numbers breaks down. Yet sitting right next to those noisy fields were three structural invariants:

  1. series_slug_title ("the-apothecary-diaries"): Always the English URL slug, even when the UI is in German.
  2. identifier ("G3KHEVDJ7|S00384044|E7"): Identical across the German dub, English dub, and Japanese original — which collapses dub/sub duplicates locally with zero external lookups.
  3. episode_air_date ("2026-11-13T00:00:00Z"): The original Japanese broadcast date of that episode, even on dubbed versions.

Those three fields were never mentioned in the MAL-Sync issue threads we read (MAL-Sync reads a different response on the video player page). They only became obvious because we had the complete raw JSON responses on disk and could inspect every key across 2,006 rows at once.

4. Differential HAR capture: change one variable, diff row-by-row

This is probably the single most underrated technique in HAR-driven prototyping.

During exploration, I nearly broke my own rule. German titles were hurting the lookups, and Crunchyroll’s watchlist page fires a batch request (/content/v2/cms/objects/...?locale=de-DE) that returns series names. My first idea was to have the extension send that request itself with locale=en-US — an active request the page would never make. On top of that, MAL-Sync’s maintainer had already warned that “just changing the language hides series.”

So I checked once, by hand. I copied the watchlist request out of DevTools as fetch, switched it to en-US, and ran it in the Console. Next to the German response in the HAR, the server reported 34 available shows in German and 33 in English, out of 39 before region filtering. The warning was real: English silently hid a show.

That made the passive route the obvious one. Instead of sending requests, I switched Crunchyroll’s UI language from de-DE to en-US, scrolled the History page once more, exported a second HAR, and diffed the two captures row by row:

  • Both returned exactly 2,006 rows — 1,960 with episode data, 46 empty, 229 series, zero rows lost.
  • English expanded 247 distinct season names into 270, un-collapsing 23 seasons that German had flattened onto repeated series names (for example, German calling Dr. STONE SCIENCE FUTURE simply "Dr. STONE"), and kept punctuation intact (So I’m a Spider, So What?).

One variable changed, two static files diffed, no guesswork, and no extra requests. Whenever an undocumented web app behaves strangely across locales, account tiers, or feature flags, differential HAR capture turns folklore into a two-minute lab test. And if you catch yourself about to send a hand-crafted request “just once”, look for the setting that makes the page send it for you.

Differential HAR Capture and Fail-Closed Sanitization

III. Turning a capture into a safe, permanent fixture

Raw HARs are great for a one-hour exploration, and terrible as a permanent project artifact.

The common mistake here is trying to “clean” a HAR by running find-and-replace over a few known header names. Blocklisting secrets inside a multi-megabyte JSON file is a losing game: an account ID hides inside a query string, a refresh token sits in a JSON body from an unrelated /auth/v1/token call, an email address turns up in a telemetry ping.

The safer pattern is allowlist projection paired with a fail-closed secret guard.

Instead of editing the HAR in place, write a small reducer script (scripts/make_fixture.ts in this project) that does two independent passes over the raw HAR:

  1. Allowlist projection: Filter strictly to the target endpoint (/watch-history) and pick() only the exact fields your application code consumes — in our case, 3 fields on the row (date_played, playhead, fully_watched) and 8 fields on episode_metadata. Roughly 95% of the HAR is thrown away by default.
  2. Secret harvesting + fail-closed assertion: Walk the entire raw HAR — every header matching authorization|cookie|token|api-key (and the like), every cookie value, every UUID in any request URL, and every sensitive JSON key (token, secret, password, email, account, profile, user_id, username) across non-target endpoints — to assemble the set of real secrets present in that capture. Before writing fixture.json, assert that not a single harvested secret appears anywhere in the serialized output:
const secrets = collectSecrets(entries);
const leaked = [...secrets].filter(secret => fixtureText.includes(secret));
if (leaked.length > 0) {
  console.error(
    `Refusing to write ${fixturePath}: ${leaked.length} secret value(s) ` +
    `from the capture appear in the fixture.`,
  );
  process.exit(1);
}
writeFileSync(fixturePath, fixtureText);

In my capture, the harvester is exactly what catches the access and refresh tokens from that /auth/v1/token response.

The guard has two honest limits. It matches secrets byte for byte, so a token that turns up URL-encoded, base64-wrapped, or split would slip past. And it ignores values shorter than eight characters to avoid false alarms. The allowlist is the real defence; the guard is the backstop that catches the allowlist being wrong.

This is a small amount of code (~170 lines total), and it changes what you can safely do next. Once the raw HAR has been reduced through that gate and deleted, you are left with a clean, deterministic fixture.json containing real production messiness and mechanically verified zero credentials.

That matters whether you work solo, with teammates, or with AI coding agents. Handing an AI agent a browser login or raw cookies is a security headache; handing it a sanitized fixture reduced from a HAR gives it real ground-truth data to build and test against while keeping credentials completely outside its reach. (One caveat if you ever open-source a repo: a fixture stripped of auth tokens still contains your personal watch history, so public repos should swap in trimmed or synthetic fixtures before going public.)

IV. The offline workbench: benchmarks, replay, and the overfitting trap

With sanitized German and English fixtures (history.de.json and history.en.json) committed to the project’s private repository, prototyping stops feeling like guesswork and starts feeling like ordinary, fast software engineering.

Iterating on ugly data without touching the target site

Because the HAR gave us series_slug_title and episode_air_date, the matching strategy could ignore Crunchyroll’s unreliable season names completely:

  1. Deduplicate watched rows locally using the language-independent identifier.
  2. Look up the franchise once via its English URL slug on a public anime API (we first evaluated Tenrai, a free, unofficial, read-only anime API that is still in beta, then settled on AniList’s public GraphQL API, packing 24 title searches per query to stay under its query-complexity limit of 500 — turning 229 series, including retries, into roughly 20 requests, well inside AniList’s rate limit).
  3. Place every individual episode into whichever MyAnimeList entry’s Japanese broadcast window contains episode_air_date.
Air-Date Window Matching: Splitting One Crunchyroll Season Across Two MAL Entries

That single rule handles the cases that usually require hundreds of manual overrides. Crunchyroll’s combined 22-episode Dr. Stone: New World season splits cleanly onto New World (April–June 2023) and New World Part 2 (October–December 2023). Spy x Family and Let This Grieving Soul Retire split the same way. Two different Horimiya seasons both titled simply "Horimiya" land cleanly on Horimiya (2021) and Horimiya: Piece (2023).

Catching regressions against a frozen bar

A frozen fixture also acts as an honest regression detector whenever you swap a dependency or port a prototype into production code.

Our initial Python prototype using Tenrai placed 98.7% of distinct episodes (1,784 of 1,808), though a sanity check caught three MAL entries overflowing by one episode where a stray special fell inside a main season’s air dates. When we ported the matcher to TypeScript against AniList and added a strict no-overflow rule, the first measurement came back at 97.68% (1,766 of 1,808) — below the 98% acceptance bar we had set.

Because the fixture was deterministic, we could inspect the exact 42 unplaced episodes in seconds instead of wondering why things felt slightly worse. They clustered into three clean, general failure modes:

  • Long titles with subtitles that returned zero results on AniList (fixed by retrying with a shortened name)
  • Tie-breaks between same-format entries with overlapping dates (fixed by preferring the closer title match)
  • Finales airing slightly past a listed end date (fixed with a two-week grace window)

Those three general fixes lifted placement to 99.39% on the English fixture (1,797 of 1,808) and 98.67% on the German fixture, with zero episode overflows — removing any need to keep Tenrai around as a fallback.

Replaying the capture through the passive extension layer

The fixture doesn’t just test matching; it tests the capture mechanism itself.

The actual Chrome extension doesn’t read HAR files — it injects a tiny main-world observer (~87 lines) that wraps window.fetch and XMLHttpRequest.prototype.send, checks if a response URL ends in /watch-history, calls response.clone().json(), and forwards only the body. Before loading the extension into Chrome once, you can replay all 21 recorded pages straight through that observer and assert invariants:

  • Does the observer forward all 2,006 rows and correctly detect the tail page?
  • What happens if page 2 is dropped while page 1 and page 3 arrive? (A review pass by a second AI agent, which only read the code, caught a real bug here: our first pagination check only verified “this page is older than the last one,” meaning a missing middle page could still falsely report history as complete. Requiring every page to be the exact next page of the run closed that hole.)
  • Do automated tests fail immediately if anyone edits the capture code to read document.cookie or initiate a fetch call of its own?
CrunchyDragon extension popup showing 2041 history rows collected, 46 rows without episode data, and End of history reached: yes
The passive observer in action: rows collected passively while scrolling, the 46 region-removed rows accounted for explicitly, and the sequential end-of-history check. The screenshot is from a later live run, so the row count (2,041) is higher than the 2,006 in the capture.

The real hazard: overfitting to your own HAR

There is one subtle trap in HAR-driven prototyping that deserves calling out explicitly: your HAR is a sample size of one.

When you sit in front of the last unmatched episodes from your own watch history (11 on the English fixture, 24 on the German one), the temptation is strong to add clever heuristics until the score hits 100.0%. Resist that. In my capture, the leftover 1% consisted of genuinely weird upstream data: a KonoSuba film carrying its 2020 streaming date instead of its 2019 theatrical date, Bakemonogatari carrying a 2024 date, a premiere dated 77 days early, and mini-episode specials airing simultaneously with a main season.

Writing special-case rules for those makes your benchmark look pretty on your fixture while making the matcher brittle on everyone else’s account. The right engineering move is to draw a hard line around ~98–99% general rules, disallow overflows, and surface everything ambiguous in a human-readable preview UI with a Skipped section before a single write leaves the browser.

CrunchyDragon review page showing a proposed MyAnimeList change alongside the Skipped table explaining why Dr. STONE EX, Konosuba 2020-03-25, and Re:ZERO episodes were held back
Instead of overfitting to edge cases, the review page surfaces them honestly: the Dr. STONE extra blocked by the no-overflow rule, the Konosuba streaming-date mismatch, Re:ZERO, and the 46 region-removed rows. Taken after the main sync, so only one change is left in the list.

V. Where HAR stops: crossing the live boundary

A method is only as trustworthy as its stated limits. HAR-driven prototyping solves the read side of an undocumented web app extraordinarily well — and it solves almost nothing on the write side.

Four classes of problems stay completely invisible inside a static capture and only show up when you cross back into live traffic:

1. Authentication and OAuth cannot be faked from a HAR

You cannot validate a live OAuth2 handshake against a recorded file. Instead of wiring OAuth inside a finished app and debugging five moving parts at once, pair HAR-driven prototyping with a minimal, throwaway live spike whose sole job is proving the auth and write path on one single record.

In our case, the big unknown was whether an unpacked Chrome extension could authenticate with MyAnimeList with no backend server and no client secret. Chrome makes this surprisingly clean once you see how the pieces fit:

  • chrome.identity.launchWebAuthFlow reserves a virtual redirect URL at https://<extension-id>.chromiumapp.org/. There is no DNS lookup and no server listening there; Chrome watches the login popup, intercepts the redirect before any network packet leaves your machine, and hands the authorization code straight to the extension.
  • A pinned public key in manifest.json gives every unpacked copy of the extension the same stable ID on every machine, so one MAL app registration works across installs without publishing to the Chrome Web Store.
  • PKCE + MAL’s other app type eliminates the client secret entirely — a one-time random verifier proves the token exchange belongs to the browser that started the login. One catch: MAL only supports the plain challenge method, not S256 (MAL’s docs), so the challenge is simply the verifier itself.

We tested that in a small throwaway extension (spike/mal-login, about 200 lines) against a single real show on my list (Frieren: plan_to_watch, 4 of 28 → completed, 28 of 28). It confirmed HTTP 200 without a secret and proved omitting score leaves existing ratings untouched.

2. Remote write APIs may not protect you from yourself

That same throwaway spike uncovered something no documentation or read-only HAR would have warned us about: MyAnimeList’s write API performs almost no sanity checking. When probed with invalid combinations, it happily accepted 7 watched episodes paired with status completed on a 28-episode show, and allowed episode counts to be lowered.

That single live finding dictated our safety architecture: all invariants (never lower an episode count, never downgrade completed, never send a score, only fill empty dates) had to be enforced client-side in two layers — once in the planner and again right before every write — and Apply had to re-read the live MAL list right before executing so a stale browser tab could never overwrite newer progress.

3. Live latency exposes UX bugs that fast unit tests hide

Offline tests replay 2,006 rows and plan 174 updates against an empty test list in a fraction of a second. My real run against my actual list sent about 90 writes, responsibly throttled to 1.2 seconds apart, and took nearly two minutes.

On the very first live run, the Apply button had no spinner or progress counter on it, and the status line sat scrolled out of view at the top of the table. For a long minute, watching DevTools felt like the whole extension had hung until the steady column of 200 OK responses appeared. That is a pure live-boundary failure — offline suites run too fast to feel broken.

4. Long-horizon drift stays real

Finally, a HAR is a snapshot in time. It cannot warn you when Crunchyroll changes a JSON field name six months later, it won’t exercise the token refresh either (MAL’s access tokens last 30 days, so the refresh path first runs for real around day 30; as I write this, it is still an open issue in my tracker), and it exposes quirks in the source platform’s data model that have no software fix (Crunchyroll only stores the most recent play date per episode, so rewatching one episode of Frieren a year later shifts its apparent finish date forward).

VI. When to use HAR-driven prototyping — and when not to

If you are building anything that sits alongside an undocumented web app, HAR-driven prototyping is worth reaching for before you touch Playwright, proxies, or cookie-copying scripts.

It is a strong fit when:

  • You are building a passive browser extension, a personal data exporter, or a one-way sync tool.

  • The site’s frontend already fetches clean JSON over fetch/XHR during normal browsing.

  • You want deterministic offline tests, fast schema exploration, or a safe way to give collaborators or AI coding agents real payloads without exposing credentials.

It is a poor fit when:

  • The app streams binary frames, WebSockets, or obfuscated payloads that DevTools HAR exports don’t capture cleanly.

  • Chrome drops the bodies of the responses you need on export.

  • The core engineering risk lives in stateful server negotiation or write-side transactions rather than read-side data contracts.

The five-step topology

If you want to try this on your next side project or internal integration, the whole workflow fits on an index card:

  1. Capture once as a human. Open DevTools before page load, preserve log, browse normally, export HAR, and verify the response bodies you need are actually present (and decode base64 ones).
  2. Quarantine immediately. .gitignore *.har on minute zero. Treat every raw capture as a live session credential until deleted.
  3. Interrogate and diff offline. Run quick local probes to check completeness, spot missing/filtered data, mine structural invariants under messy UI strings, and use differential captures (changing one variable at a time) to settle assumptions empirically.
  4. Reduce through a fail-closed leak guard. Project only allowlisted fields into a clean fixture.json, harvest every secret from the raw HAR, and refuse to write if a single secret survives into the output.
  5. Pair offline iteration with a tiny live spike. Benchmark and test against the frozen fixture without overfitting to your own account, then isolate auth and live writes into a throwaway single-record spike before wiring the real app.

The browser is already fetching the data you need. Recording it once, cleaning it mechanically, and doing your thinking offline is faster, calmer, and vastly kinder to both your own account and the services you depend on.