Platform type referenceType reference8 exported types
Governance core types
Field-level reference generated from source declarations and SDK export aliases.
On this page
GovernanceContext
interfacepackages/governance/src/policy-engine.ts| Field | Type | Notes |
|---|---|---|
| runId | string | Property |
| policies | PolicyRule[] | Property |
| checkpoint | Record<string, unknown> | Property |
PolicyDecision
interfacepackages/governance/src/index.ts| Field | Type | Notes |
|---|---|---|
| policyId | string | Property |
| decision | "allow" | "deny" | "warn" | Property |
| actions | string[] | Property |
| metadata | Record<string, unknown> | Property |
PolicyRule
interfacepackages/governance/src/policy-engine.ts| Field | Type | Notes |
|---|---|---|
| id | string | Property |
| name | string | Property |
| condition | string | PolicyCondition | Property |
| action | "allow" | "deny" | "warn" | "escalate" | Property |
| severity | string | Property · optional |
RiskAction
typeAliaspackages/governance/src/index.tsUnion Members
"allow""flag""block""escalate"RiskFactor
interfacepackages/governance/src/index.ts| Field | Type | Notes |
|---|---|---|
| name | string | Property |
| weight | number | Property |
| value | unknown | Property |
RiskRouteDecision
interfacepackages/governance/src/index.ts| Field | Type | Notes |
|---|---|---|
| action | RiskAction | Property |
| score | number | Property |
| factors | RiskFactor[] | Property |
| deterministicInputsHash | string | null | Property |
RiskRouterConfig
interfacepackages/governance/src/index.ts| Field | Type | Notes |
|---|---|---|
| mode | "adaptive" | "strict" | "permissive" | Property |
| thresholds | Record<RiskAction, number> | Property |
| defaultAction | RiskAction | Property |
RuntimeRiskInput
interfacepackages/governance/src/index.ts| Field | Type | Notes |
|---|---|---|
| runId | string | Property |
| policyDecisions | Record<string, unknown>[] | Property |
| quotaState | Record<string, unknown> | Property |
| evaluationSignals | Record<string, unknown>[] | Property |
| explicitSignals | Record<string, unknown> | Property · optional |