1# Offline page creation
2
3Twelve independent replicas start from the same one-page section. Each queues
4a page titled `Same 🦋 é`, a body outline and a dependent body-text edit, then
5reopens its cache and synchronizes. All 36 receipts complete; page identities
6remain distinct and body text identifies each originating replica.
7
8`candidate/pages.one` is the resulting 13-page section. `cold` captures its fresh
9OneNote 2010 reopen. Native XML content/order and 216 explicit character-format
10comparisons pass. Active graphs compare exactly apart from the original seed
11page's previously absent section metadata copy, materialized natively with exact
12page metadata. The creation verifier checks that specific addition.
13`provenance.json` records the capture and removal of clone m6-cc15a5ee.
14
15Set `ONESTORE_OFFLINE_PAGE_OUTPUT` to an absolute, new output directory and run
16`cargo test -p onestore-offline --all-features --test sync
17page::offline_page_creation_rebases_with_dependent_edits_and_duplicate_titles
18-- --exact`. Capture the result with `tools/native_runner.py INPUT OUTPUT
19--expected-pages 13 --collect-notebook`. After building examples,
20`python -m unittest discover -s tools -p test_page_creation.py -v` verifies the
21retained native capture.
22
23This fixture is a serial reconciliation of twelve offline branches. The separate
24`offline_page` sanitizer target varies interleavings, interruption and reopen
25through the shared `tests/support/page_schedule.rs` model.