Versions in this module Expand all Collapse all v0 v0.7.0 Nov 19, 2026 Changes in this version type Inputs + Wanted map[pr.Ref]bool v0.6.0 Nov 15, 2026 v0.5.0 Nov 13, 2026 v0.4.0 Nov 8, 2026 v0.3.0 Oct 30, 2026 Changes in this version + const MarkAddressedChecks + const MarkAddressedConflict + const MarkAddressedReviews + const MarkFirstSkipped + const MarkReviewed + const RoundAddress + const RoundFirst + const RoundFollowup + const WhyPartial + func ActiveBlock(evs []pr.Event, viewer string) (pr.Event, bool) + func LastPublished(b src.Book, role string) (head string, at time.Time, ok bool) + func NewestReview(b src.Book) (time.Time, bool) + func StartBlock(ev pr.Event) bool + type Board struct + AuthorWorkspace bool + Carded bool + Checkout *Checkout + ReviewWorkspace bool + type Checkout struct + ID string + Path string + type Config struct + AddressChecks bool + AddressConflicts bool + AddressReviews bool + AddressSkipReviewers []string + AddressWithoutWorkspace bool + Completed []string + Fast time.Duration + FollowupsWithoutWorkspace bool + IgnoreChecks []string + Owners []string + Projects []Project + ReviewPrefix string + Slow time.Duration + TrustedAuthors []string + func (c Config) For(owner, repo string) Config + type Git interface + CheckedOutAt func(ctx context.Context, dir, branch string) (string, error) + HasCommit func(ctx context.Context, dir, oid string) (bool, error) + IsAncestor func(ctx context.Context, dir, ancestor, commit string) (bool, error) + LocalBranchTip func(ctx context.Context, dir, branch string) (string, error) + Upstream func(ctx context.Context, dir string) (string, error) + type Inputs struct + Adopted map[pr.Ref]bool + Books map[pr.Ref]src.Book + Cfg Config + Details map[pr.Ref]store.Detail + Events map[pr.Ref][]pr.Event + Git Git + Listing src.Listing + Now time.Time + Rounds map[pr.Ref]src.RoundState + Rows []pr.PR + Unlisted bool + Viewer string + type Planner struct + func New(ctx context.Context, in Inputs) *Planner + func (p *Planner) BoardOf(ref pr.Ref, r Result) Board + func (p *Planner) Derive(ref pr.Ref) (Result, error) + func (p *Planner) Facts(ref pr.Ref, r Result) []src.Fact + func (p *Planner) Plan(ref pr.Ref, r Result) src.Plan + func (p *Planner) RankOf(ref pr.Ref, r Result) Rank + func (p *Planner) Requested(ref pr.Ref) bool + func (p *Planner) Settle(ref pr.Ref, r Result) Settlement + type Project struct + AddressWithoutWorkspace *bool + FollowupsWithoutWorkspace *bool + Match string + TrustedAuthors []string + type Rank struct + At time.Time + Idx int + Path int + func (a Rank) Compare(b Rank) int + type Result struct + func (r Result) Due(now time.Time) time.Time + func (r Result) Runs() bool + type Settlement struct + Events []pr.Event + Marks map[string]string