Skip to content

Implement additional task assignment strategies (cost-optimized, hierarchical, auction) #173

@Aureliolo

Description

@Aureliolo

Context

Follow-up from #26 which implemented the core 3 strategies (manual, role-based, load-balanced). The remaining strategies from DESIGN_SPEC §6.4 are stretch goals that extend the TaskAssignmentStrategy protocol.

Acceptance Criteria

Strategies

  • Cost-optimized — assign to cheapest capable agent (consider AgentWorkload.total_cost_usd + provider cost tiers)
  • Hierarchical — follow management chain for delegation (integrate with HierarchyResolver)
  • Auction — agents bid on tasks (from DESIGN_SPEC §6.4 table)

Infrastructure

  • Register new strategies in STRATEGY_MAP
  • Unit tests for each new strategy
  • Update DESIGN_SPEC §6.4 "Current state" annotation

Dependencies

Design Spec Reference

  • Section 6.4 — Task Assignment Strategies (Auction, Hierarchical, Cost-optimized rows)

Metadata

Metadata

Assignees

No one assigned

    Labels

    prio:lowNice to have, can deferscope:medium1-3 days of workspec:agent-systemDESIGN_SPEC Section 3 - Agent Systemspec:company-structureDESIGN_SPEC Section 4 - Company Structurespec:task-workflowDESIGN_SPEC Section 6 - Task & Workflow Enginetype:featureNew feature implementationtype:testTest coverage, test infrastructure

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions