# XZ: stored checks, executed checks and intended content

Nine designed synthetic fixtures; 36 reader observations per capture.
XZ Utils/liblzma 5.4.5, Python 3.12.3, Linux x86_64, one host.
Two retained runs are repeats, not independent scientific replication.
Source research commit: 9a989b167725497654ba86ac3b60d32f615f61c5.

Requires Python 3.12 and an installed xz command; no pip packages or network
are needed. Only private temporary synthetic files are used. Each subprocess
has a ten-second timeout. Inspect the code before running.

    sha256sum -c SHA256SUMS
    python3 -B experiment.py --verify capture-a.json --compare capture-b.json
    python3 -B experiment.py --output replay.json --compare capture-a.json
    python3 -B -m unittest discover -s . -p 'test_*.py' -v
    python3 -B -O -m unittest discover -s . -p 'test_*.py' -v

Different encoder builds can choose different bytes or diagnostics. A mismatch
requires review; do not rewrite the expectation to hide it. summary.json is
derived from capture-a.json and checked by the tests. source_receipts.py is
optional online provenance refresh; it is not part of the offline replay.

A successful listing prints stored metadata, not a verified payload. Successful
decoding with no check or an ignored check does not prove verification. Reordered
valid streams pass their own checks but differ from the independently expected
A+B. No checksum collision, field failure rate or security defect is claimed.
Matching payload and successful status do not establish authenticity, application
recovery or crash durability. The parser is limited to its constructed fixtures.

sources.json pins four upstream references; no third-party source is included.
The ZIP contains these seven research files, this guide and SHA256SUMS.
A manifest downloaded beside a package is not independent authentication.

Analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#xz-verification
Reuse: https://hesela.com/reuse/
