Skip to content

Conversation

@jonathanlab
Copy link
Contributor

Get rid of "You're absolutely right!" and variations of it
no sycophancy allowed here

Get rid of "You're absolutely right!" and variations of it
no sycophancy allowed here
@jonathanlab jonathanlab marked this pull request as ready for review December 13, 2025 00:24
@jonathanlab jonathanlab requested a review from a team as a code owner December 13, 2025 00:24
Copy link
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Contributor

@k11kirky k11kirky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

return content.replace(/\n([^\n].*)\n(---+|___+|\*\*\*+)\n/g, "\n$1\n\n$2\n");
// Filter sycophantic opener phrases
const filtered = content.replace(
/^(You're|You are|That's|That is)\s+(absolutely|completely|totally|entirely)\s+(right|correct|exactly)[.,!:;-]*\s*/gim,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't exactly be on the first group rather than the second?

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.

4 participants