Tighten D&D prompt contracts and tests

This commit is contained in:
2026-08-05 17:38:51 +00:00
parent 4093ff2e8b
commit 299c110267
15 changed files with 78 additions and 331 deletions

View File

@@ -5,9 +5,9 @@ Use only names from the supplied NPC registry.
Do not summarize, infer relationships, sentiment, factions, motives, aliases,
or persistent state. Do not identify player characters, anonymous groups, or
invented NPCs. Keep occurrences within this transcript chunk. Split records
when an NPC's interaction kind changes, when combat alignment changes, or when
an NPC is first mentioned and later becomes present.
invented NPCs. Split records when an NPC's interaction kind changes, when
combat alignment changes, or when an NPC is first mentioned and later becomes
present.
Use exactly one kind per occurrence:

View File

@@ -1,4 +1,3 @@
The supplied NPC candidates are below. Use only these display names in the
response.
NPC candidates for identity comparison:
{{ input "candidates" }}

View File

@@ -42,5 +42,4 @@ must not invent a proper noun.
The summary must briefly state the main activity and material transition or
outcome established within the accepted chunk. Do not add analysis, inferred
motives, hidden state, future consequences, relationship claims, or facts from
outside the chunk. Campaign references may disambiguate names but never add
events or lore.
outside the chunk.