# SQLite sum-order evidence

A controlled native-software study, not a benchmark or field reliability estimate.
Read SYNTHESIS.md for findings and limits; INSERTION.md is the bounded addition
to the existing Hesela article. Source and captured quantities use explicit types
and decimal strings, avoiding JSON large-integer rounding.

## Reproduce

Requires Python 3.11+ linked to SQLite >=3.44. No external packages, devices,
credentials or network are required for the experiment/tests.

```sh
python3 -B validate.py --check
python3 -B -m unittest -v test_evidence.py test_native_bounds.py
python3 -B -O -m unittest -v test_evidence.py test_native_bounds.py
python3 -B probe.py --output observation-new.json
```

The probe refuses to overwrite evidence and removes only its own temporary
database. The strict replay test requires the current SQLite source ID to match
one retained runtime; another runtime needs review, not a silent rebaseline.
If summary.json is absent, generate it with python3 -B validate.py.

The original captures were produced on 6 November. The 7 November completion
replayed both source IDs without modifying the original probe or captures.
Different Python/platform metadata on replay is not silently treated as an
identical environment. Compare stages, including native query plans and hashes,
against the matching SQLite source ID.

Optional source receipt refresh (public HTTPS only):

```sh
python3 -B refresh_sources.py --output source-recheck-new.json
```

The pinned implementation must match its original SHA-256. Mutable documentation
may differ and needs inspection. Historical receipts are never overwritten.

## Package boundaries

The 88 historical outcomes are 2 runtimes x 4 states x 11 queries, not 88
independent samples. Supplementary tests are validation controls, not additions
to an empirical population. No randomization, rate estimate or confidence
interval applies to these deterministic fixtures.

Claims, source metadata, generated summary, tests and full observations belong
with the publication. No site routes or consumer JSON schemas are changed by
this research packet. Site build, browser acceptance, independent review,
merge and production publication are separate gates.
