Migrate maintained D&D examples to native configuration

This commit is contained in:
2026-11-22 05:45:31 +00:00
parent 3ef55f4668
commit 854d23b91e
25 changed files with 189 additions and 195 deletions

View File

@@ -34,7 +34,7 @@ pipelines:
configPath := writeProductionContractConfig(t, content)
client := &productionFakeLLMClient{}
var stdout, stderr strings.Builder
code := RunWithOptions([]string{"run", "dnd-session", "--config", configPath, "--input-file", repositoryPath("examples", "seriatim-minimal-transcript.json")}, &stdout, &stderr, productionRunOptions(t, client))
code := RunWithOptions([]string{"run", "dnd-session", "--config", configPath, "--input-file", repositoryPath("examples", "dnd-minimal", "transcript.json")}, &stdout, &stderr, productionRunOptions(t, client))
for _, fragment := range []string{`pipeline "dnd-session"`, `reference slot "npc_registry"`, "1048577 bytes", "limit 1048576"} {
if code == 0 || !strings.Contains(stderr.String(), fragment) {
t.Fatalf("status=%d stderr=%q, want %q", code, stderr.String(), fragment)