You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Private records stay home (folder format v0.3.15, OW-8's private clause, §4.5 rule 11). write_world_file and world_file_bytes take include_private_records: bool = False. By default they read records/RECORDS.json and leave out, whole, every file under records/<producer>/ for each producer whose entry has "private": true (the JSON boolean only: "true" or 1 marks nothing), the producer's name matched to its directory by the archive's one fold (NFC, then simple case folding), so a manifest's Fold leaves out records/fold/ on a disk that ignores case; RECORDS.json itself travels byte-exact, its private entries kept, so a reader learns a producer was left out rather than never there. No manifest, nothing is private. Asked (include_private_records=True), every producer's records travel whole and the manifest is not read. A manifest the writer cannot read (not UTF-8 JSON, not a JSON array of objects, or a private entry whose producer is not one directory name) is refused with a plain ValueError naming the file and the keyword, never a guess and never a new WorldFileError cause; asked, it travels as it is. No other writer in the package copies records/.
Folder format v0.3.15: FORMAT_VERSION moves to 0.3.15, so a folder this package writes is stamped 0.3.15 at its birth (a carried stamp is kept, as before).
Schema repinned to schema-dist v0.33.0-dist.49 (same canonical 00.33.00; no schema file moved, _schema.py changes only its provenance lines). The .owworld conformance set grows to 85: four writer fixtures on the private case (sources.private in verdicts.json: pass-OW-8-private-left-out, pass-OW-8-private-asked, fail-OW-8-private-partial, fail-OW-8-private-manifest-rewritten); none of the 81 moved. The npm SDK's published pin is dist.48.
Tests: the set test runs all 85 (the reader accepts the four). The private case's source is rebuilt from the asked side, each file checked against sources.private; written by default and when asked, its entries (names, order and bytes) equal the left-out and asked fixtures and neither fail fixture. A manifest that is an object, an array of strings, broken JSON, NaN, not UTF-8, or names a private producer ../lab or none refuses by default and travels when asked; "private": "true", 1 and false mark nothing. Each clause watched failing on its own mutant.