work

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package work reads and moves work items kept as files in .workline/work/, for projects without a forge (docs/spec/routing.md, "Work starts from a clear need").

Index

Constants

This section is empty.

Variables

View Source
var Required = []string{"Need", "Verification", "Validation", "Scope"}

Required are the sections an item needs before it is ready.

Functions

func Path

func Path(repo, id string) string

Path is where item id lives.

func Ready

func Ready(repo, id string) *verdict.Verdict

Ready moves an item to ready if its four sections are written, and says which are missing otherwise. It checks presence, not quality: that is the person's call.

func ReadyOnForge

func ReadyOnForge(f forge.Forge, id int) *verdict.Verdict

ReadyOnForge is Ready for an issue on a forge: the sections are read from its description, and a ready issue gets the workline:ready label.

func Sections

func Sections(content string) map[string]string

Sections returns the text under each "## " heading.

Types

This section is empty.

Jump to

Keyboard shortcuts

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