feat(coop): optional "trust your teammate" prompt emphasis (openhands)#72
Open
ProKil wants to merge 1 commit into
Open
feat(coop): optional "trust your teammate" prompt emphasis (openhands)#72ProKil wants to merge 1 commit into
ProKil wants to merge 1 commit into
Conversation
Add an env-gated experiment knob, CB_COOP_TRUST_EMPHASIS. When set, the openhands coop collaboration system prompt gains a Trust block telling the agent to take the teammate's stated promises at face value: build against what they promised, and don't re-implement, second-guess, or duplicate their part. Off by default, so the baseline coop prompt is unchanged. On the flash set (coop+git, gemini-3-flash) this lifted pass rate to 32% (16/50) from the 20% baseline, mainly by cutting merge conflicts (18 -> 11) as agents stopped redoing each other's work. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
An env-gated experiment knob,
CB_COOP_TRUST_EMPHASIS. When set, the openhands coop collaboration system prompt gains a Trust block:Off by default — the baseline coop prompt is unchanged. Built host-side in
get_coop_system_prompt, so it composes with whatever else is in the collaboration block.Result (flash, coop+git, gemini-3-flash, openhands)
The lift came mainly from fewer merge conflicts — agents stopped redoing each other's work once told to trust stated promises. (Small countervailing cost: a few more apply-failures from building against an interface that didn't land exactly.) Coordination volume was unchanged (~9 msgs/pair).
Test
ruff+mypyclean; fullpytestsuite (385 passed). The knob is openhands-only for now.🤖 Generated with Claude Code