Skip to main content

Module effect

Module effect 

Source
Expand description

Workload effect fields (ADR-099 section 4) and their mapping onto the governance engine’s 5D EffectVector.

Callers describe a workload action in domain terms (package trust, node trust tier, network policy, secrets, emulation, accelerator use, resource cost). The gate derives the 5D vector itself from those fields, so a caller cannot lower its own score by sending a hand-written effect object.

Structs§

WorkloadEffect
The effect fields of one workload governance request.
WorkloadRefs
Revocable references carried with a workload request.
WorkloadRequest
Parsed and validated gate context for a workload action.

Enums§

NetworkPolicy
Network exposure the workload asks for, ordered by exposure.
NodeTrustTier
Node trust tier (ADR-099 section 8.3).
PackageTrust
How far the package’s provenance can be trusted (ADR-099 section 8).

Constants§

MAX_ACCEL_LEN
Maximum length of an accelerator capability id.
MAX_KIND_LEN
Maximum length of a workload kind string (cog, inference, …).
MAX_REFS
Maximum number of signer keys or artifact hashes in one request.