# Conflict Arbitration And Snapshot Visibility
Hesela controlled native software observations, PostgreSQL 16.15.

The original two captures each contain ten prescribed cases. An insert conflict
can be detected while the same statement's fallback SELECT sees no row.
Changing DO NOTHING to an unchanged-value UPDATE has trigger side effects.
Repeatable Read can require a whole-transaction restart; deletion can invalidate
the next lookup. These are not failure rates, crash tests or a newly found bug.

## Offline checks
Extract the complete ZIP into an empty directory, then run:
```sh
python3 -B verify.py capture-2.json capture-3.json
python3 -B build_summary.py --check
python3 -B -m unittest -v test_evidence.py
python3 -B -O -m unittest -v test_evidence.py
```

## Native repetition
Use an unprivileged Linux account with Python 3, libpq and PostgreSQL 16.15
server binaries. No external database or Python dependency is required:
```sh
python3 -B probe.py --bindir /path/to/postgresql/bin --output replay.json
python3 -B verify.py capture-2.json capture-3.json replay.json
```
The probe uses a fresh private cluster, private Unix socket and constructed data.
It verifies a transaction-ID lock wait before releasing the competing writer.
Allow about 100 MiB transient space. It stops and removes only its own cluster.
A cluster that cannot be stopped is retained. Use research infrastructure.

## Provenance and limits
The captured Ubuntu PostgreSQL 16.15 build, binary hashes, runtime settings, SQL,
results, event ordering and SQLSTATEs are recorded in the captures. The verifier
is intentionally version-scoped. summary.json, observations.csv and results-table.md
are generated from those captures. sources.json identifies seven primary sources.
Same-host repetition is not independent replication. No PostgreSQL18 execution,
field frequency, latency, payload durability or arbitrary-trigger guarantee is claimed.
Research code and fixture observations are Hesela material; linked upstream
documents/source files are not included. No new license grant is implied.

Explanation: https://hesela.com/analyses/storage-consistency-ordering/#conflict-visibility
Corpus: https://hesela.dev/terms/read-committed-isolation/
