This commit is contained in:
greeneclipse committed 2026-08-16 23:42:00 +02:00
1 parent 6e77154228
commit 92f046b542
32 files changed
+1443 -105

No files matched your search

@@ -14,6 +14,9 @@ func TestCategoryEnhanceTemplateHasAttrs(t *testing.T) {
if !strings.Contains(tpl, "{{attrs}}") {
t.Fatalf("template missing {{attrs}}: %q", tpl)
}
if !aiprompts.CategoryEnhanceHasRoleSections(tpl) {
t.Fatal("repaired template must include title/description/meta/attributes sections")
}
if !aiprompts.CategoryEnhancePromptNeedsRepair("legacy HTML prompt without attrs") {
t.Fatal("expected legacy prompt to need repair")
}