Skip to content

Fix synthetic user extending conversations with unrelated questions#47

Merged
richardkiene merged 1 commit into
mainfrom
fix/synthetic-user-extending-conversations
Jan 22, 2026
Merged

Fix synthetic user extending conversations with unrelated questions#47
richardkiene merged 1 commit into
mainfrom
fix/synthetic-user-extending-conversations

Conversation

@richardkiene
Copy link
Copy Markdown
Contributor

@richardkiene richardkiene commented Jan 22, 2026

Summary

Two issues causing conversations to run too long:

1. Synthetic user inventing new questions

After being satisfied, the synthetic user was asking completely unrelated follow-up questions.

Fix: Added explicit instructions:

  • ONLY ask about the ORIGINAL question
  • END the conversation once satisfied
  • NEVER invent follow-up questions about different topics
  • Say "That's all I needed, thanks" when done

2. check_criteria judge not recognizing user satisfaction

The judge was nitpicking individual criteria even after the user expressed satisfaction, causing infinite "thanks" loops.

Fix: Made user satisfaction the PRIMARY signal:

  • If user says "thanks", "that's what I needed", etc. → ALL CRITERIA MET
  • User satisfaction overrides technical criteria evaluation
  • Do NOT continue nitpicking if user has expressed satisfaction

Test Plan

  • All 255 unit tests pass
  • Linting and type checking pass
  • Manual verification - conversations now terminate properly when user expresses satisfaction

Fixes #46

@richardkiene richardkiene force-pushed the fix/synthetic-user-extending-conversations branch from 2c7a564 to e693a32 Compare January 22, 2026 19:21
…mpletion

Two issues causing conversations to run too long:

1. Synthetic user inventing new questions after being satisfied
   - Added explicit instructions to ONLY ask about ORIGINAL question
   - Added "END when satisfied" instructions
   - Added "NEVER invent follow-up questions" instructions

2. check_criteria judge not recognizing user satisfaction
   - User satisfaction is now the PRIMARY signal for completion
   - If user says "thanks", "that's what I needed", etc. → ALL CRITERIA MET
   - Changed from evaluating technical criteria to detecting conversation completion
   - Do NOT continue nitpicking criteria if user has expressed satisfaction

Fixes #46
@richardkiene richardkiene force-pushed the fix/synthetic-user-extending-conversations branch from e693a32 to 5087f18 Compare January 22, 2026 19:30
@richardkiene richardkiene merged commit 28887b0 into main Jan 22, 2026
3 checks passed
@richardkiene richardkiene deleted the fix/synthetic-user-extending-conversations branch January 22, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Synthetic user extends conversations with unrelated questions

1 participant