| 1 | # Atomic formatted insertions |
| 2 | |
| 3 | Synthetic Rust paragraph/outline insertions with independent OneNote 2010 cold |
| 4 | reads. The native paragraph and table inputs descend from the public |
| 5 | `native/20260905-05` corpus. `manifest.json` records stable intents and file hashes; |
| 6 | each capture retains its native environment and run provenance. Attachment exports |
| 7 | link to existing identical public payloads. |
| 8 | |
| 9 | Generate new candidates with the ignored `export_native_formatted_insertions` test |
| 10 | and `ONESTORE_INSERT_OUTPUT` set to a new absolute directory. Each child directory |
| 11 | is a separate notebook: the candidates can share source section identities. |
| 12 | Use `tools/native_runner.py` with one child directory and `--expected-pages 1`. |
| 13 | `tools/native/formatted-insertion.ps1` performs an unchanged native HTML round trip |
| 14 | followed by a native prefix edit for the four nonempty cases. |
| 15 | |
| 16 | The unchanged round trip establishes native font substitution before checking the |
| 17 | edit's exact character styles. Table updates omit the outline's measured `Size`: |
| 18 | resubmitting it made two unlocked columns oscillate in native XML, including after |
| 19 | a fresh cache reopen. Those unsettled captures are excluded. The retained table |
| 20 | reverse capture omits that measurement; paragraph and ordinary outline captures |
| 21 | retain it. |
| 22 | |
| 23 | `native-cell/ui` records a direct keyboard prefix edit, without HTML resubmission. |
| 24 | Its native XML settles, preserves every prior character's style, and the resulting |
| 25 | file passes the same model oracle. The capture includes the keyboard script and |
| 26 | screenshot. |
| 27 | |
| 28 | COM omits the empty outline. Its cold-reopened file retains the empty rich-text |
| 29 | object and style; `empty/typed-after-cold` adds text to that retained object and |
| 30 | verifies the 18-point italic result in another independent native cold read. |
| 31 | `tools/test_formatted_insertion.py` checks these captures without a live VM. |