Role-Based Routing System
Implement agent role detection and routing based on governance rules.
Roles to Support
- Architect - Decision makers, system design
- Builder - Implementation, code generation
- Auditor - Compliance, security, validation
- Human - Manual intervention, approval workflows
Requirements
Integration Points
- LLMNode: Inject role-specific prompts
- ToolNode: Enforce tool restrictions
- ConditionalNode: Route based on role
- State: AgentState includes agent_role
Testing
- Unit tests for each role
- Integration tests with node routing
- End-to-end workflow with multiple roles
Related: #30 (Epic), #32 (Phase 2)
Labels: governance, routing, roles
Role-Based Routing System
Implement agent role detection and routing based on governance rules.
Roles to Support
Requirements
src/governance/roles.rsIntegration Points
Testing
Related: #30 (Epic), #32 (Phase 2)
Labels:
governance,routing,roles