Protobuf Schemas
Thequint-proto repository contains the authoritative Protobuf schema definitions shared across all Quint components. All schemas are versioned under quint/v1/ and managed with Buf.
Schema Files
common.proto
Shared types: JSON-RPC wrappers, enums (Action, Verdict, Direction, DataClassification, MCPTransport)
auth.proto
Authentication: Passkey/WebAuthn, API keys, sessions
policy.proto
Policy configuration: server policies, tool rules, scoring policies
proxy.proto
Proxy interception: intercepted messages, policy decisions, audit queries
audit.proto
Signed audit logs: Ed25519 signatures, chain-linked entries, export bundles
risk_evaluation.proto
Risk scoring: action context, score decomposition, risk assessment, gRPC service
Consumers
| Component | Language | Import |
|---|---|---|
| quint-proxy | Go | gen/go/quint/v1 |
| quint-cli | TypeScript | gen/ts |
| quint-infra | Python | gRPC stubs from risk_evaluation.proto |
Build
buf.gen.yaml
Versioning
All schemas are underquint/v1/. Breaking changes require a new version (quint/v2/). The buf breaking check enforces FILE-level breaking change detection.
Design Principles
- Canonical action format:
domain:scope:verb(e.g.,mcp:github:pr.create) - Backward compatibility: Legacy flat fields coexist with new canonical nested context
- Dual auth: Passkey/WebAuthn for interactive, API keys (
qk_prefix) for headless - Signed audit trail: Ed25519 per-entry signatures with SHA-256 chain linking
- 4-layer scoring: Intrinsic, GNN, policy, temporal — all expressed in
ScoreDecomposition