Align prompts and strengthen validation context

This commit is contained in:
2026-09-25 12:23:10 +00:00
parent 3eb73e70fc
commit 325c4ea7d3
23 changed files with 329 additions and 133 deletions

View File

@@ -33,8 +33,6 @@ func TestEmbeddedDefinitionsPrepareThroughPromptKit(t *testing.T) {
{PromptIDValidatorSpokenFormPlausibility, "spoken-form validation assistant", "validator_decision_set.v1.json", "fixture-correction"},
{PromptIDValidatorMeaningReversalReview, "semantic-reversal validation assistant", "validator_decision_set.v1.json", "fixture-correction"},
{PromptIDValidatorEditorialReview, "editorial validation assistant", "validator_decision_set.v1.json", "fixture-correction"},
{PromptIDValidatorGrammarReview, "editorial validation assistant", "validator_decision_set.v1.json", "fixture-correction"},
{PromptIDValidatorSpokenWordReview, "editorial validation assistant", "validator_decision_set.v1.json", "fixture-correction"},
} {
t.Run(tc.id, func(t *testing.T) {
prepared, err := engine.Prepare(context.Background(), pk.RunRequest{PromptID: tc.id, PromptVersion: VersionV1, ProfileID: "fixture", Vars: vars})
@@ -66,7 +64,7 @@ func TestEmbeddedDefinitionsPrepareThroughPromptKit(t *testing.T) {
func TestRegistryMetadataMatchesEmbeddedDefinitions(t *testing.T) {
all := RegisteredMetadata()
if len(all) != 9 {
if len(all) != 7 {
t.Fatalf("prompt count: %d", len(all))
}
for _, meta := range all {