task

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package task defines the Task — the atomic routable unit of work in Fort. A Task carries only deterministic signals; routing never inspects model output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	ID        string    `json:"id"`
	Title     string    `json:"title"`
	Body      string    `json:"body,omitempty"`
	Labels    []string  `json:"labels,omitempty"`
	Paths     []string  `json:"paths,omitempty"` // files the task touches
	Repo      string    `json:"repo,omitempty"`
	Agent     string    `json:"agent,omitempty"`   // explicit @agent override
	Profile   string    `json:"profile,omitempty"` // exact Fort-owned execution profile
	Model     string    `json:"model,omitempty"`   // profile-derived provider model; never free-form at the UI boundary
	Size      string    `json:"size,omitempty"`    // S | M | L | XL
	Machine   string    `json:"machine,omitempty"` // explicit host pin (spec 022)
	CreatedAt time.Time `json:"created_at"`
}

Task is a unit of work sourced from the inbox (CLI add, watched file, or a label feed) and routed to exactly one agent by the deterministic router.

Jump to

Keyboard shortcuts

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