pub fn build_request(
room_name: &str,
policy: &PolicyConfig,
task: &str,
) -> Result<DeliberationRequest, String>Expand description
Build a DeliberationRequest from workspace policy config.
- Static policies (
agentsfield) → sendsagent_namesdirectly. - Role-based policies (
rolesfield) → computespolicy_id(content hash) and sends it to the orchestrator for server-side agent resolution.