Verify shared glossary selection across CLI workflows

This commit is contained in:
2026-11-29 18:14:11 +00:00
parent 994cba3ba2
commit 04546acee0
8 changed files with 92 additions and 24 deletions

View File

@@ -123,7 +123,7 @@ func TestPromptEngineCacheIncludesRuntimeGlossaryInput(t *testing.T) {
main := filepath.Join(dir, "main.yml")
first := filepath.Join(dir, "first.yml")
second := filepath.Join(dir, "second.yml")
for path, contents := range map[string]string{main: "version: 3\n", first: "one: {entries: []}\n", second: "two: {entries: []}\n"} {
for path, contents := range map[string]string{main: "version: 3\n", first: "schema_version: maximumdirect.glossary.v1\ncollections: {one: {entries: []}}\n", second: "schema_version: maximumdirect.glossary.v1\ncollections: {two: {entries: []}}\n"} {
if err := os.WriteFile(path, []byte(contents), 0600); err != nil {
t.Fatal(err)
}