grammar-reader fix 1: canonical keys through the one predicate, duplicate factions refused, bin/ext growth tolerated, guards pinned
The reader mints every faction and allegiance ImportKey and refuses a non-canonical one as a typed NonCanonicalKey naming record and field (0 or 12); two faction rows under one record key are DuplicateFaction. Payloads decode through rmpv so a MessagePack bin or ext cell at a higher key (C# byte[], DateTime) no longer fails the record. Tests pin the record-key sort and a non-map Allegiance. Schema-version check (item 2) not done: CultLib gap. All commits build (not yet run; the suite runs next). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b5edc05b1f
commit
3eb59068c7
4 changed files with 164 additions and 12 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -668,6 +668,7 @@ dependencies = [
|
|||
"ghostlight-persona-projection",
|
||||
"reqwest",
|
||||
"rmp-serde",
|
||||
"rmpv",
|
||||
"serde",
|
||||
"serde_bytes",
|
||||
"serde_json",
|
||||
|
|
|
|||
Loading…
Reference in a new issue