-
Notifications
You must be signed in to change notification settings - Fork 0
Implement hierarchical delegation (task flows down, results flow up) #12
Copy link
Copy link
Closed
Labels
prio:highImportant, should be prioritizedImportant, should be prioritizedscope:medium1-3 days of work1-3 days of workspec:agent-systemDESIGN_SPEC Section 3 - Agent SystemDESIGN_SPEC Section 3 - Agent Systemspec:communicationDESIGN_SPEC Section 5 - Communication ArchitectureDESIGN_SPEC Section 5 - Communication Architecturespec:company-structureDESIGN_SPEC Section 4 - Company StructureDESIGN_SPEC Section 4 - Company Structurespec:task-workflowDESIGN_SPEC Section 6 - Task & Workflow EngineDESIGN_SPEC Section 6 - Task & Workflow Enginetype:featureNew feature implementationNew feature implementation
Description
Context
Implement hierarchical delegation per spec section 5.1 Pattern 2. Tasks flow down the organizational hierarchy (CEO → CTO → Engineering Lead → Senior Dev → Junior Dev) and results flow back up. Each level may refine or decompose the task before passing it further down.
Acceptance Criteria
- Tasks can be delegated down the organizational hierarchy
- Results are reported back up the hierarchy chain
- Authority validation (agent can only delegate to direct reports or subordinates)
- Task refinement at each delegation level (manager adds context/constraints)
- Skip-level delegation configurable via `allow_skip_level` flag
- Delegation audit trail (who delegated what to whom, when)
- Comprehensive unit tests (>80% coverage)
Dependencies
- Depends on agent-to-agent messaging (Implement agent-to-agent messaging with channels and topics #10)
- Depends on company config/templates (Define default configurations and company template schema #60) ✅ closed
Design Spec Reference
- Section 5.1 — Communication Patterns, Pattern 2 (Hierarchical Delegation)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
prio:highImportant, should be prioritizedImportant, should be prioritizedscope:medium1-3 days of work1-3 days of workspec:agent-systemDESIGN_SPEC Section 3 - Agent SystemDESIGN_SPEC Section 3 - Agent Systemspec:communicationDESIGN_SPEC Section 5 - Communication ArchitectureDESIGN_SPEC Section 5 - Communication Architecturespec:company-structureDESIGN_SPEC Section 4 - Company StructureDESIGN_SPEC Section 4 - Company Structurespec:task-workflowDESIGN_SPEC Section 6 - Task & Workflow EngineDESIGN_SPEC Section 6 - Task & Workflow Enginetype:featureNew feature implementationNew feature implementation