status

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package status generates status.md content from live project state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusData

type StatusData struct {
	UpdatedAt    string         // RFC3339
	ServerHealth string         // "healthy", "unreachable", or "unknown"
	InProgress   []*forge.Issue // status:in-progress or status:claimed
	Queued       []*forge.Issue // no recognized status label
	Blocked      []*forge.Issue // status:blocked
	NeedsHuman   []*forge.Issue // status:needs-human or status:human-pending
	NeedsQC      []*forge.Issue // status:needs-qc
	TotalOpen    int
}

StatusData holds the data used to render the status template.

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

Writer generates status.md content by querying the forge tracker.

func New

func New(tracker forge.IssueTracker, healthURL string) *Writer

New creates a Writer with the given forge tracker.

func (*Writer) Generate

func (w *Writer) Generate(ctx context.Context) (content string, err error)

Generate produces the status.md content as a string.

Jump to

Keyboard shortcuts

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