# Rsync selection: timestamps and option precedence
Six constructed inputs, seven policies, one native run per configuration.

```sh
python3 -B observe.py --scratch /dev/shm --output replay.json
python3 -B -m unittest -v test_observe.py
```

Requires Linux, Python 3, rsync supporting xxh128, and nanosecond timestamps.
Only fresh private temporary files are modified and then removed.
No network, daemon, delete, append or in-place mode is used. Output creation
is exclusive: existing observations are never overwritten.
Default mtime is 1700000000.1 seconds; subsecond control is 1700000000.5.
All policies force delta mode for selected files; file selection remains variable.
HOME is isolated against per-user aliases and locale is C.

Every run checks exact destination bytes, unchanged source bytes and mtime,
timestamp precision, selected-file count and literal+matched accounting.
Raw stdout, flags, binary hash, environment and source hashes are retained.
No timing or failure-frequency estimate; these are constructed examples.
OS-visible equality is not crash durability or remote-source authentication.
The installed version is identified, not recommended.

Sources reviewed 2026-10-20:
- https://github.com/RsyncProject/rsync/blob/v3.2.7/rsync.1.md
- https://github.com/RsyncProject/rsync/blob/v3.2.7/generator.c#L585-L607
- https://download.samba.org/pub/rsync/rsync.1
- https://www.usenix.org/system/files/fast26-zhang-zhihao.pdf (sections 3.5 and 4)

Code and fixture recipe: MIT. Observation data: CC0-1.0.
