ActionDefinitionContract
Type Alias: ActionDefinitionContract
ActionDefinitionContract =
object& {inputSchema?:"none";invocation:"inputless";settle?:ActionSettleContract; } | {inputSchema?:object;invocation:"scalar";settle?:ActionSettleContract; } | {inputSchema?:never;invocation:"host";settle?:object&object&object|object&object&object|object&object&object|object&object&object|object&object&object|object&object&object|never|never; }
Defined in: src/action/types.ts:248
Authored semantics carried by a definition. Reachability belongs to a live binding, and each invocation branch states its payload/progress laws.
Type Declaration
does
readonlydoes:string
Stable, app-authored sentence describing the action's meaning.
guard?
readonlyoptionalguard?:ActionGuardContract
needs?
readonlyoptionalneeds?:Readonly<Record<string, {from?:string;kind:string;schema?:unknown; }>>
Inert, named inputs reserved for a future channel broker. Layer 1 stores these declarations but never matches a surface, collects a value, or changes action availability from them.
principal?
readonlyoptionalprincipal?:PrincipalPolicy&object|PrincipalPolicy&object|PrincipalPolicy&object
Invocation authority and decision ownership.
produces?
readonlyoptionalproduces?:object
Inert output declaration reserved for a future channel broker. Layer 1 records it without routing or rendering it.
produces.kind
readonlykind:string
produces.schema?
readonlyoptionalschema?:unknown
role?
readonlyoptionalrole?:CanonicalRole