Skip to main content

Module decision

Module decision 

Source
Expand description

What the operator decides, and how they say it.

A decision is workflow state the operator owns. The planner offers it, the operator answers it by re-planning with --set, and the answer joins the fingerprint, so an approval binds to the answers it was given with. Nothing here guesses a default: a decision the operator has not made is a decision the plan is waiting on.

Decisions form an acyclic graph. Until an upstream decision is selected, the planner omits the findings, decisions, and operations that depend on it, rather than computing them against a value nobody chose.

Modules§

id
The identifiers the planner offers.

Structs§

Choice
One answer the operator may give, and what it means.
Decision
One question the plan is waiting on.

Enums§

AnswerError
An answer the planner cannot take.
AnswerSchema
What shape an answer takes.

Functions§

acyclic
Whether the decisions form an acyclic graph.
parse
Read repeatable --set arguments into selections.
validate
Check every selection against the decisions a plan offers.

Type Aliases§

Selections
What the operator selected, by decision identifier.