Migrate examples and guidance to shared domain inputs

This commit is contained in:
2026-11-29 18:22:32 +00:00
parent f05d2e593e
commit 9dc976afaf
24 changed files with 199 additions and 145 deletions

View File

@@ -624,7 +624,7 @@ func productionSpellCatalogContractConfig(t *testing.T) string {
t.Helper()
partyPath := writeSharedReference(t, "party.yml", validPartyYAML)
glossaryPath := writeSharedReference(t, "glossary.json", validSharedGlossary)
catalogPath := filepath.Join(t.TempDir(), "spell-catalog.json")
catalogPath := filepath.Join(t.TempDir(), "spell-glossary.json")
if err := os.WriteFile(catalogPath, []byte(`{"schema_version":"maximumdirect.glossary.v1","collections":{"spells":{"entries":[{"id":"aegis","name":"Aegis of Emberfall","category":"spell","aliases":["Emberfall Aegis"]}]}}}`), 0o600); err != nil {
t.Fatal(err)
}