awareness

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package awareness provides passive awareness about pending items.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(rc *config.ResolvedConfig)

Print outputs the awareness line to stdout if there are items.

Types

type Summary

type Summary struct {
	ReviewsNeeded   int // Plan reviews awaiting your approval
	SpecsBlocked    int // Specs you own that are blocked
	SpecsInProgress int // Specs you own in build/engineering
	SpecsTotal      int // Total specs you own
}

Summary holds counts of items needing attention.

func Gather

func Gather(rc *config.ResolvedConfig) (*Summary, error)

Gather collects awareness info for the current user.

func (Summary) HasItems

func (s Summary) HasItems() bool

HasItems returns true if there are any items needing attention.

func (Summary) OneLiner

func (s Summary) OneLiner() string

OneLiner returns a brief summary string, or empty if nothing to report.

Jump to

Keyboard shortcuts

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