Documentation
¶
Overview ¶
Package line runs the steps routing names for an event, in order, and the handoffs they ask for (docs/spec/routing.md).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
Status string `json:"status"`
Summary string `json:"summary,omitempty"`
Steps []Step `json:"steps"`
Findings []verdict.Finding `json:"findings,omitempty"` // every step's
AgentCalls int `json:"agent-calls"`
Calls []agent.Call `json:"calls,omitempty"` // every step's
// Pending lists the runs judged with NoApply, in the line's order: what
// `workline apply` is given in the job that holds the write token.
Pending []string `json:"pending,omitempty"`
}
Result is the outcome of an event on the line.
func Run ¶
Run runs event's steps. base carries what every role run shares (repository, roles, agent, inputs, forge, target, scope, NoApply); Role and Event are set per step. The first step that does not pass stops the line: it fails closed. With NoApply, each step judges the tree as it is — no step sees what an earlier one proposed — and handoffs wait, since nothing is applied yet.
Click to show internal directories.
Click to hide internal directories.