Documentation
¶
Overview ¶
Package promote implements deadline-aware automatic priority escalation. It examines pending/in-progress tasks with deadlines and escalates their priority by 1 when the deadline is within the configured threshold (days). Tasks that block overdue tasks are also escalated.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Promotion ¶
Promotion records a single priority escalation event.
func Run ¶
Run evaluates the plan and returns the list of promotions. When dryRun is false the task priorities in the plan are mutated in place; callers must persist state afterwards. thresholdDays is the number of days-remaining at which escalation is triggered (default 3; any task whose deadline is within this window and whose priority > 1 is promoted).