pub fn inject_rules_for_agent(home: &Path, agent_key: &str) -> InjectResultExpand description
Inject global rules for a single agent (by CLI key like “opencode”, “cursor”, etc.).
Used by init --agent to ensure global rules are written alongside MCP config.