# FLAC verification: reproduction and preservation policy

This supplement connects the existing Hesela archive analysis and Checksum
record to a frozen native experiment. It is a reproduction of documented
behavior, not a newly discovered codec flaw.

## Evidence

Six synthetic native FLAC files, five C API paths and two CLI policies on each
of libFLAC 1.4.3 and 1.5.0 produced 84 retained observations. The same fixture
bytes were used on both builds. The eight displayed rows are selected from
those captures; the complete captures, diagnostics, fixtures and source
receipts are included. Summary rows collapse versions only after verifying
agreement of native status, coverage and sample-hash fields.

The API configuration getter is not an active-MD5 indicator. A seek to zero
can precede a full returned sample sequence without reactivating comparison.
A fresh enabled pass detects the wrong reference at finish. Reset restores
the configured check. Missing MD5, callback errors and partial coverage are
separate evidence obligations.

Equal decoded-sample digests do not bind sample rate or channel-mask metadata.
The rate example is a valid re-encoding, not an inconsistent header patch.
The mask example changes a metadata comment, not measured playback behavior.
Neither example is an MD5 collision: the digest input is identical.

## Replay

Extract reproduction.zip into a new directory. It includes all fixture files,
both observations, the C observer, the Python runner, tests and source receipts.
No third-party source, binary, commercial audio or system installation is included.

Follow the two version-pinned CMake source-build commands in README.md. Set
FLAC_TOOLCHAIN_ROOT to the directory containing source/flac-1.4.3,
source/flac-1.5.0, build-1.4.3 and build-1.5.0, then run:

    python3 -B -m unittest -v test_experiment
    python3 -B -O -m unittest -v test_experiment

Both native builds are required; missing tools fail instead of silently skipping.
For a dependency-free retained-evidence check, run:

    python3 -B -m unittest -v test_experiment.EvidenceTests

The README and corpus-addition.json retain the original research-stage wording
for provenance. This guide describes the publication package; the proposal
is not a second term definition. Live publication status is not inferred from
any file included in the archive.

## Acceptance policy

For exact-file preservation, compare with a previously trusted external
whole-file digest and object/version inventory. For a migration permitting
re-encoding, separately specify samples, sample rate, channel meanings,
bit depth and required metadata. A fresh digest cannot recover missing intent.

For a library-based pass, explicitly enable the MD5 setting before initialization,
require a nonzero stored reference, track callback errors, require intended
coverage, avoid seeking during the validation pass and check finish's return.
Full sample coverage and a true getter alone are insufficient. CLI warning
escalation detects the tested unset-reference case, not all preservation failures.

## Limits

Selected deterministic controls on two versions and one host are not a field
sample, performance estimate, independent implementation replication, exhaustive
decoder certification, authentication claim or hardware durability test.
The observer accepts only the documented two-channel 16-bit test fixtures.
Do not use it as a general untrusted-file validator.

The manifest files.json gives byte lengths and SHA-256 hashes for downloadable
files. These hashes detect differences relative to this package; they are not
an external trust root or proof of historical authenticity.
