Skip to content

Add Point the Target pattern#29

Open
juanmichelini wants to merge 5 commits intolexler:mainfrom
juanmichelini:add-point-the-target-pattern
Open

Add Point the Target pattern#29
juanmichelini wants to merge 5 commits intolexler:mainfrom
juanmichelini:add-point-the-target-pattern

Conversation

@juanmichelini
Copy link

Adds a new pattern that fixes negative-bleedthrough by reframing prompts to avoid negation entirely.

Pattern: Point the Target
Problem: Negative instructions activate unwanted concepts in context (see: negative-bleedthrough). The fix isn't "be more specific" since being specific can involve more negation, instead the fix it's choosing which concepts to activate.

Key example (the moon):

  • ❌ "List traditional planets but not the moon.": fails
  • ⚠️ "…no extra words, just the list.": over-constrains the format to suppress one concept
  • ✅ "List visible planets from Earth and add the Sun.": same specificity, no negation, doesn't fail

Adds relationship: patterns/point-the-target -> solves-> obstacles/negative-bleedthrough

⚠️ Blocked by: the negative-bleedthrough obstacle PR (must merge first since this pattern references it).

openhands-agent and others added 5 commits March 14, 2026 17:06
Documents how negative tokens bleed into context and can be
counterproductive when instructing LLMs.

Co-authored-by: openhands <openhands@all-hands.dev>
Fixes negative-bleedthrough by reframing negative instructions
as positive descriptions of the desired outcome.

Co-authored-by: openhands <openhands@all-hands.dev>
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.

2 participants