Ground image analysis and add explicit hooks

This commit is contained in:
jjbrunton committed 2026-08-09 09:58:30 +01:00
1 parent 50f9f8a6aa
commit 43f459a024
2 files changed
+42 -15

No files matched your search

+14 -1
View File
@@ -20,13 +20,26 @@ describe('Prompt Testing', () => {
expect(prompts.imageAnalysisPrompt).toContain('breasts');
expect(prompts.imageAnalysisPrompt).toContain('ASS');
expect(prompts.imageAnalysisPrompt).toContain('vagina');
expect(prompts.imageAnalysisPrompt).toContain('VAGINA');
expect(prompts.imageAnalysisPrompt).toContain('BODY');
expect(prompts.imageAnalysisPrompt).toContain('POSE');
expect(prompts.imageAnalysisPrompt).toContain('VIBE');
expect(prompts.imageAnalysisPrompt).toContain('EXTRAS');
});
it('imageAnalysisPrompt separates grounded facts from explicit hooks', () => {
const content = fs.readFileSync(configPath, 'utf-8');
const prompts = parseYamlPrompts(content);
expect(prompts.imageAnalysisPrompt).toContain('VISIBLE_FACTS');
expect(prompts.imageAnalysisPrompt).toContain('EXPLICIT_HOOKS');
expect(prompts.imageAnalysisPrompt).toContain('NOT_VISIBLE');
expect(prompts.imageAnalysisPrompt).toContain('UNCERTAIN');
expect(prompts.imageAnalysisPrompt).toContain('Never infer');
expect(prompts.imageAnalysisPrompt).toContain('Never mention pussy unless');
expect(prompts.imageAnalysisPrompt).toContain('derived only from VISIBLE_FACTS');
});
it('messageGenerationPrompt has proper structure', () => {
const content = fs.readFileSync(configPath, 'utf-8');
const prompts = parseYamlPrompts(content);