| 1 | # External payload fixture |
| 2 | |
| 3 | OneNote 2010 authored an empty attachment and a 1 KiB attachment with |
| 4 | `tools/native/external-assets.ps1`. The retained native section is in `native/`. |
| 5 | The fixture generator converts all file-data declarations into the documented |
| 6 | external representation while retaining their identities and exact payloads. |
| 7 | The `read/` capture is an independent fresh-cache OneNote reopen; `payloads.json` |
| 8 | contains the native attachment hashes. `provenance.json` records source hashes. |
| 9 | |
| 10 | ```sh |
| 11 | cargo run -p onestore-notebook --example externalize_fixture -- corpus/native-external-assets/native/synthetic.one /tmp/external-notebook |
| 12 | python3 tools/native_runner.py /tmp/external-notebook /tmp/external-native --expected-pages 3 --collect-notebook |
| 13 | ``` |
| 14 | |
| 15 | The generator creates a new destination and requires reserved fragment space. |
| 16 | It is a fixture converter, not a concurrent publication API. |