Skip to content

feat(coop): optional "trust your teammate" prompt emphasis (openhands)#72

Open
ProKil wants to merge 1 commit into
mainfrom
feat/coop-trust-emphasis
Open

feat(coop): optional "trust your teammate" prompt emphasis (openhands)#72
ProKil wants to merge 1 commit into
mainfrom
feat/coop-trust-emphasis

Conversation

@ProKil

@ProKil ProKil commented Jun 3, 2026

Copy link
Copy Markdown
Member

What

An env-gated experiment knob, CB_COOP_TRUST_EMPHASIS. When set, the openhands coop collaboration system prompt gains a Trust block:

YOU SHOULD TRY TO TRUST YOUR TEAMMATE REGARDING WHAT THEY PROMISED. … build against what they promised, do not re-implement or second-guess their part, and do not duplicate their changes.

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)

prompt pass merge-conflicts
baseline 20% (10/50) 18
+ trust emphasis 32% (16/50) 11

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 + mypy clean; full pytest suite (385 passed). The knob is openhands-only for now.

🤖 Generated with Claude Code

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>
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.

1 participant