Documentation
¶
Overview ¶
Package team implements multi-user task assignment and workload management.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Assign ¶
Assign sets the assignee for a task and persists the updated state. taskID is matched against Task.ID; user may be empty to unassign.
func BalancePrompt ¶
BalancePrompt builds a prompt asking the AI to suggest workload rebalancing across the current team members.
func Members ¶
Members returns an alphabetically sorted list of all distinct non-empty assignees in the plan.
func Workload ¶
Workload groups tasks by assignee. Tasks with no assignee are grouped under the empty string key "". The returned map is never nil.
func WorkloadSummary ¶
WorkloadSummary returns a formatted text block showing each member's task list with statuses and estimated hours. Unassigned tasks are listed last under "(unassigned)".
Types ¶
This section is empty.