Skip to main content
Superseded by Intent-Scoped Security (2026-07-18). This contract encodes the pre-pivot per-action scoring model — a 4-layer ScoreDecomposition (including a GNN layer), per-action EvaluateRisk RPCs, conversation_history in the action context, and per-action LLM scoring. None of these hold under the current architecture: enforcement is a deterministic bitmask + glob check (Gate 0.5), the GNN and per-action edge LLM calls will not be built as described, and conversation content is never centralized. Treat this proto as historical.

risk_evaluation.proto

Defines the risk evaluation contract between the proxy/API and the scoring engine. Includes the full action context schema, 4-layer score decomposition, and gRPC service definition.

Enums

RiskLevel

Context Messages

ActionContext

Full action context submitted for risk evaluation. Supports both canonical nested fields and legacy flat fields.

AgentInfo

SessionInfo

TargetInfo

MCPContext

ClassifiedField

Score Decomposition

The 4-layer scoring breakdown returned in every risk assessment.

RiskAssessment

Full evaluation result.

gRPC Service

Request/Response