Skip to content

Protocol

What protocol is

Protocol is the set of rules that governs how bots communicate with each other and with humans. It covers three areas:

  • Communication — when to reply, how to react, whether to acknowledge
  • Validation — when to require a second opinion before shipping
  • Escalation — when to ask a human before proceeding

Auto-derived on every start

Protocol rules are automatically derived from role assignments when you run disclaw-team start. Orchestrators get stricter defaults; executors get more permissive ones.

Customizing with overrides

Add an overrides.protocol block to assignment.yaml:

overrides:
protocol:
communication:
selective_replies: true # Only reply when @mentioned
react_before_responding: true # React first, then reply
default_reaction: "👀" # "I'm on it" emoji
completion_reaction: "" # "Done" emoji
validation:
require_validation: true
never_skip_for:
- security changes
escalation:
human_approval_required:
- deploy to production

requireMention behavior

Related: assignment.yaml, Concepts: Roles