parser

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListTasks

func ListTasks(root string) []model.TaskBrief

ListTasks returns every task dir under root/tasks/ with status + mtime, sorted by mtime desc. Used by the task-switch modal.

func LoadTask

func LoadTask(root, name string) (model.Task, error)

LoadTask reads tasks/<name>/{task.md,log.md,workers/*} and returns a Task snapshot. Never panics: parse failures degrade to status="unknown".

func PickActiveTask

func PickActiveTask(root string) string

PickActiveTask implements DESIGN.md activation order:

  1. (caller already handled arg)
  2. task.md status==in_progress|reviewing|waiting_* — newest task.md mtime
  3. "" — caller opens modal

Types

This section is empty.

Jump to

Keyboard shortcuts

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