Py retype refusal asks schema-id ownership; CHANGELOGs record the duplicate-key refusals

The Python single-file writer refuses a retype when the written type's entry does
not declare the stored schema id (own or compatible) and the schema names differ,
as C# WrittenOwns' declared half asks, instead of comparing names alone. A renamed
type listing the old id compatible may now replace the record. cultcache-py and
org.gamecult.cultlib CHANGELOGs gain the #110 reader/writer refusals under Unreleased.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Libby 2026-11-11 15:22:12 +00:00
commit 4d6f950f87
4 changed files with 41 additions and 2 deletions

View file

@ -2,6 +2,12 @@
All notable changes to this package are documented in this file.
## Unreleased
### Breaking
- A single-file store holding two records under one key is unreadable: the reader refuses it with `CultStoreUnreadableException` naming the key (keys compare by ordinal code units, no case folding or normalisation), so a cache, `ReadStoreSnapshot` and a flush refuse the file and leave it as it is. Before, the later record silently replaced the earlier. The directory store's manifest reader is not changed. Repair the duplicate with the runtime that wrote it before reading the store here.
## [3.0.0] - 2026-11-11
### Breaking