Documentation
¶
Overview ¶
Package microstandup generates focused per-task micro-standup cards with blocker detection. Unlike plan-level standups, each card is scoped to a single in-progress task and includes time tracking, heal attempt info, and a 1-5 confidence score with reasoning.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPrompt ¶
func BuildPrompt(c *TaskContext) string
BuildPrompt constructs the AI prompt for a single task's micro-standup.
func FormatCard ¶
FormatCard renders a Card as a compact, ≤15 line terminal card.
func FormatSlack ¶
FormatSlack formats a Card as a Slack-friendly plain text message.
Types ¶
type Card ¶
type Card struct {
TaskID int
TaskTitle string
Yesterday string // what was accomplished
Today string // next 3 steps
Blockers string // specific blockers or "None"
Confidence int // 1-5
ConfidenceReason string
ElapsedMinutes int
EstimatedMinutes int
HealAttempts int
}
Card is the AI-generated micro-standup for one task.
type TaskContext ¶
type TaskContext struct {
Task *pm.Task
Goal string
RecentSteps []string // last 20 step log lines
CheckpointDiff string // human-readable diff between last two checkpoints
ElapsedMinutes int // minutes since task.StartedAt (0 if unknown)
EstimatedMinutes int // from task.EstimatedMinutes
HealAttempts int // from task.HealAttempts
Links []pm.Link
GitHubIssue int
}
TaskContext holds all gathered context for a single in-progress task.
Click to show internal directories.
Click to hide internal directories.