Changing a campaign short link | Influence IQ

The loopback fixture compares 12 GET addresses in ChatGPT Browser.
The browser identified itself as Chrome 157.0.0.0. The run occurred
on November 19, 2026 in Bangkok using Python 3.9.6 and curl 8.7.1.
No user data, platform access or production configuration is required.

Use a new run directory and a locally available port. Use a browser
that has never opened this origin and make sure HTTP caching is enabled.

  mkdir replay
  python3 -u experiment.py replay serve --port 3471 --ttl 75 > replay/origin.jsonl

Open http://127.0.0.1:3471/menu/warm. Click each of the 12 links and
record its final location and the wall-clock interval around the click.
Record milliseconds since the Unix epoch for start and settled.
Return to the same stage menu before each click by navigating to it.

After all 12 links warm and before 75 seconds pass from the first
click, change the origin destination in another shell:

  python3 experiment.py replay phase updated

Follow all 12 links from /menu/before-expiry before 75 seconds have
elapsed since each corresponding initial click. Record final paths
again. Make one separate curl GET per identical short URL to verify
what a client without a stored response receives, for example:

  curl --noproxy '*' -fsSL --max-time 5 -o /dev/null \
    -w '%{url_effective}\n' http://127.0.0.1:3471/go/301/unset

The independent controls receipt takes records with uri and
effective_url fields. Do not include query variants in this run.

After at least 75 seconds have elapsed since the last original
redirect response, repeat the click sequence from /menu/after-expiry.
The captured run waited approximately 83 seconds per case.

Then change the response from the origin to a third destination:

  python3 experiment.py replay phase rollback

Follow all links from /menu/rollback and record the addresses.
During both updated phases and rollback, the origin sends no-store.
It also sends no-store on all HTML menus and destinations.

The evidence archive includes the observed run with 48 browser
navigations and 12 curl checks. To recompute the recorded counts:

  python3 -B reconcile.py run-01

For a fresh replay, follow the same browser stages and save the
four stage lists as replay/browser.json. Each entry has stage, label,
path, start and settled fields. Save the 12 independent client
records as replay/curl-identical-url-controls.json. The same
reconciler reads replay/origin.jsonl and writes replay/outcomes.csv.
No further package is necessary. Stop the loopback server when done.

The browser observation is for the tested environment and ordinary
click navigation. Browser versions, cache partitions, networks,
redirectors and reload behavior can affect what a different client
does. The two no-directive permanent redirects were still reused at
the last observation. This test did not measure their full lifetime.
