You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proto auto-bump workflow was rolled out today across all repos. Now we need to define the inter-service contracts that Tier 2 services will use to communicate. This unblocks parallel development — teams can code against proto interfaces before implementations exist.
Define evalops.common.v1.PageRequest/PageResponse for consistent cursor-based pagination
Add permission annotation proto option for service method declarations
Define standard NATS event envelope extending CloudEvents for inter-service events
Guidelines
All RPCs should use google.protobuf.FieldMask for partial updates
Include google.protobuf.Timestamp for all temporal fields
Use oneof for polymorphic fields (e.g., budget scope: org vs team vs agent)
Add proto comments documenting expected behavior — these are the API contract
Why proto-first
The auto-bump workflow means once these are merged, every service gets the generated Go code automatically. This lets services develop against interfaces immediately, even before the implementing service is ready.
Context
The proto auto-bump workflow was rolled out today across all repos. Now we need to define the inter-service contracts that Tier 2 services will use to communicate. This unblocks parallel development — teams can code against proto interfaces before implementations exist.
Requirements
New proto packages needed
evalops.identity.v1—Role,Permission,ApiKey,CheckPermissionRequest/Responseevalops.audit.v1—QueryEventsRequest/Response,ComplianceReport,GenerateReportRequestevalops.meter.v1—Budget,SetBudgetRequest,CheckBudgetRequest/Response,ExportUsageRequestevalops.governance.v1—SafetyPolicy,PiiDetection,RetentionPolicy,EvaluatePolicy,CheckRetentionevalops.memory.v1—Memory,StoreRequest,RecallRequest/Response(with similarity scores)evalops.approvals.v1—ApprovalRequest,ApprovalDecision,EscalationConfig,HabitRuleevalops.notifications.v1—NotificationTemplate,SendRequest,DeliveryStatus,Preferencesevalops.pipeline.v1—Deal,DealStage,Signal,PipelineMetricsCross-cutting proto additions
evalops.common.v1.PageRequest/PageResponsefor consistent cursor-based paginationGuidelines
google.protobuf.FieldMaskfor partial updatesgoogle.protobuf.Timestampfor all temporal fieldsoneoffor polymorphic fields (e.g., budget scope: org vs team vs agent)Why proto-first
The auto-bump workflow means once these are merged, every service gets the generated Go code automatically. This lets services develop against interfaces immediately, even before the implementing service is ready.