VerseGrammar: Open refuses a role named actor and two verbs with one name; edge and command-update pins
ValidateAll (one owner, called by AetheriaStores.Open) refuses duplicate verb names; Validate refuses the reserved role name actor. Tests pin the name-class edges (a z 0 9 _), a null role element, the starter verb replaced when only its description or render path differs, the grammar global updated in place, and the fixture's second allegiance and zero-role speak. The test's scoped registry is TestCatalog.Registry(). Builds; unverified until the full run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
88fb919099
commit
972848cb5f
3 changed files with 96 additions and 7 deletions
|
|
@ -40,7 +40,7 @@ public static class AetheriaStores
|
|||
// cut.md), stat modifiers, role usage (Cut 7). Fails loudly, naming the item.
|
||||
foreach (var data in cache.GetAll<EquippableItemData>()) CultRecordRefs.Validate(data);
|
||||
foreach (var data in cache.GetAll<ConsumableItemData>()) CultRecordRefs.Validate(data);
|
||||
foreach (var verb in cache.GetAll<VerseVerb>()) VerseGrammarValidation.Validate(verb);
|
||||
VerseGrammarValidation.ValidateAll(cache.GetAll<VerseVerb>());
|
||||
return cache;
|
||||
}
|
||||
catch
|
||||
|
|
|
|||
Loading…
Reference in a new issue