Skip to main content

Module delegation

Module delegation 

Source
Expand description

Versioned authoring adaptation of the shared agency and task contracts. Neither serialization nor policy success verifies adoption or grants access.

Structs§

AppId
Application identifier (e.g. gridcraft, wordcraft, poet).
AuthoringDelegation
Signed consent bytes bind all shared agency/task semantics, source scope and controller associations. This asserted structure is not admitted authority.
DecimalU64
A 64-bit unsigned integer that is serialized as a decimal string in JSON to prevent precision loss across JavaScript, browser, and JSON boundaries.
DelegatedOperation
Requested context is compared with host-admitted bytes; it mints no rights.
ResourceBudgets
SignedAuthoringDelegation
TaskDelegation

Enums§

CommandEffect
Individual effect of an executed command.
DelegationError
DelegationLifecycle
DelegationMode

Constants§

AUTHORING_DATA_CLASS
MAX_AUTHORING_DELEGATION_BYTES
MAX_AUTHORING_DELEGATION_DEPTH

Functions§

check_delegated_operation
Check the operation against one already admitted edge. This returns no reusable permit and consumes no budget; the locked host must do both.
check_parent_attenuation
Parent hash/signature matching is performed by the native verifier. This compares all policy-bearing fields without inferring wildcard authority.
validate_delegation
Structural/policy validation only. The native owner must verify every signature, qualified association and root adoption separately.