Will an edited correction show up as unread?

The archive contains original synthetic Atom fixtures, runners, normalized observations and the ten-row aggregate. The fixture uses fictional notices. Each case begins with one unread item, which the runner opens and marks read before the publisher state changes. After an ordinary refresh, each runner records the items and repeats the refresh. The experiment measures reader inbox state for the specified versions and local feeds.

Offline verification

  python3 verify.py

This checks aggregate.csv against normalized-observations.json. To compare fresh API responses too, add --miniflux PATH and/or --yarr PATH. The verifier checks baseline read state, identity, link relationship, content and repeat stability before comparing with the recorded aggregate.

Replay on macOS arm64

Requirements: Python 3, curl, unzip, openssl, PostgreSQL 16 command-line tools and two official reader binaries. No external account is required. Use a fresh private directory and the test account below; do not use an existing database or reader account. This recipe starts loopback-only services. Its Miniflux instance permits local-network feeds and disables scheduled refreshes so the runner controls when refreshes happen. These settings are for the isolated experiment.

Download the official assets and confirm their SHA-256 values:

  https://github.com/miniflux/v2/releases/download/2.3.5/miniflux-darwin-arm64
  717f07dfa84349d31ec73e35c72ab57612c9abb45c99576ff80376edc66c5015
  https://github.com/nkanaev/yarr/releases/download/v2.9/yarr_darwin_arm64.zip
  ba98b6d849a719d8517a85dbc06cc9ad33e10be2098a84fcc435fadba96962b0

From the extracted package directory, after putting the PostgreSQL 16 bin directory on PATH, run in a shell. Choose a free loopback port for MINIFLUX_PORT; the Unix-socket PostgreSQL port is confined to the private socket directory.

  trial=$(mktemp -d /tmp/atom-correction.XXXXXXXX)
  chmod 700 "$trial"
  curl -fL https://github.com/miniflux/v2/releases/download/2.3.5/miniflux-darwin-arm64 -o "$trial/miniflux"
  curl -fL https://github.com/nkanaev/yarr/releases/download/v2.9/yarr_darwin_arm64.zip -o "$trial/yarr.zip"
  shasum -a 256 "$trial/miniflux" "$trial/yarr.zip"

Check both hashes above before executing either binary, then continue:

  chmod +x "$trial/miniflux"
  unzip -q "$trial/yarr.zip" -d "$trial"
  mkdir "$trial/pg-socket"
  initdb -D "$trial/pg-data" -U iq_trial --auth=trust --no-locale -E UTF8
  pg_ctl -D "$trial/pg-data" -o "-k $trial/pg-socket -c listen_addresses='' -c unix_socket_permissions=0700 -p 5432" -l "$trial/pg.log" -w start
  createdb -h "$trial/pg-socket" -p 5432 -U iq_trial iq_trial
  openssl rand -hex 24 > "$trial/miniflux-password"
  MINIFLUX_PORT=55927
  printf 'http://127.0.0.1:%s\n' "$MINIFLUX_PORT" > "$trial/miniflux-url.txt"
  python3 fixture.py "$trial" > "$trial/fixture-requests.jsonl" 2>&1 &
  fixture_pid=$!
  DATABASE_URL="postgres://iq_trial@/iq_trial?host=$trial/pg-socket&sslmode=disable" RUN_MIGRATIONS=1 CREATE_ADMIN=1 ADMIN_USERNAME=iq_local ADMIN_PASSWORD="$(cat "$trial/miniflux-password")" LISTEN_ADDR="127.0.0.1:$MINIFLUX_PORT" FETCHER_ALLOW_PRIVATE_NETWORKS=1 DISABLE_SCHEDULER_SERVICE=1 "$trial/miniflux" > "$trial/miniflux.log" 2>&1 &
  miniflux_pid=$!

Wait for fixture-url.txt to appear and Miniflux to finish startup. Then run each reader against the fixture; the separate state markers let both begin with original content.

  python3 run-miniflux.py "$trial" > "$trial/miniflux-results.json"
  python3 run-yarr.py "$trial/yarr" "$(cat "$trial/fixture-url.txt")" "$trial/yarr.after" "$trial/fixture-requests.jsonl" "$trial/yarr-results.json"
  python3 verify.py --miniflux "$trial/miniflux-results.json" --yarr "$trial/yarr-results.json"

Inspect fixture-requests.jsonl to confirm each reader fetched the before and after states. The output JSONs and logs contain loopback URLs and are local trial artifacts. Stop the two services and PostgreSQL after the run:

  kill "$miniflux_pid" "$fixture_pid"
  wait "$miniflux_pid" "$fixture_pid" 2>/dev/null || true
  pg_ctl -D "$trial/pg-data" -m fast -w stop

Remove the task-owned trial directory when finished. The yarr runner starts and stops its own loopback servers with separate temporary SQLite databases. An initial five-feed simultaneous refresh encountered a SQLite lock; the measured yarr run uses isolated databases and sequential refreshes. The results do not characterize concurrent refreshes.

References
https://www.rfc-editor.org/rfc/rfc4287.html
https://github.com/miniflux/v2/releases/tag/2.3.5
https://miniflux.app/docs/api.html
https://github.com/nkanaev/yarr/releases/tag/v2.9
