Skip to content

Type Alias: RiskTier

@kortexya/reasoninglayer


@kortexya/reasoninglayer / UI / RiskTier

Type Alias: RiskTier

RiskTier = RiskTierGen

Defined in: src/types/ui.ts:33

Safety tier the server assigns to an OSFQL statement carried by a UI action.

Remarks

Wire values are snake_case ("targeted_destructive", "additive_write", …) — re-exported from the generated types since there is no camelCase diff.

The tier on a descriptor action is a coarse pre-filter: the server re-derives the real tier per authored statement at execution time. Destructive tiers (targeted_destructive, bulk_destructive) are refused unless the UIActionRequest.confirm flag is set.

Example

const tier: RiskTier = 'targeted_destructive';