Skip to main content

build_inter_agent_rules

Function build_inter_agent_rules 

Source
pub fn build_inter_agent_rules(branches: &[&str]) -> String
Expand description

Builds the standard inter-agent rules block that the supervisor injects into every coding agent’s AGENTS.md.

branches is the list of all peer branches in the session — used to make the file-ownership constraint explicit (“don’t touch files owned by …”).