impact

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package impact implements AI-powered strategic impact scoring for PM tasks. It rates every pending/in-progress task on a 1-10 scale based on how much it advances the overall project goal. Multiplier tasks (those that unblock many others) are identified separately from leaf tasks (independent, low leverage).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskImpact

type TaskImpact struct {
	TaskID        int    `json:"task_id"`
	TaskTitle     string `json:"task_title"`
	ImpactScore   int    `json:"impact_score"`   // 1-10
	Rationale     string `json:"rationale"`      // brief explanation
	IsMultiplier  bool   `json:"is_multiplier"`  // unblocks many downstream tasks
	UnblocksCount int    `json:"unblocks_count"` // number of tasks that depend on this one
}

TaskImpact holds the AI-generated impact assessment for one task.

func Score

func Score(ctx context.Context, prov provider.Provider, opts provider.Options, plan *pm.Plan) ([]TaskImpact, error)

Score calls the AI to rate every pending/in-progress task by strategic impact. Returns a slice of TaskImpact sorted by descending impact score.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL