Documentation
¶
Overview ¶
Package principles loads the worker-type taxonomy (determinism × effectfulness) from the embedded principles.yaml. This embedded copy is the authoritative vocabulary used to validate component metadata at runtime; a sync test guards it against the human-facing copy at the repository root.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Spec ¶
type Spec struct {
Determinisms []string // e.g. ["deterministic", "non_deterministic"]
Effects []string // e.g. ["input_effect", "output_effect"]
Effectfulness []Combo // the canonical allowed effectfulness combinations
}
Spec is the parsed worker-type vocabulary.
func (*Spec) ValidDeterminism ¶
ValidDeterminism reports whether d is an allowed determinism value.
func (*Spec) ValidEffect ¶
ValidEffect reports whether e is an allowed effect value.
Click to show internal directories.
Click to hide internal directories.