Files
llm-multiverse/implementation-plans/issue-015.md
shahondin1624 1ee3da58f3 feat: define all service proto files (#9-#15)
- audit.proto: AuditService with Append RPC, AuditEntry, AuditAction enum
- secrets.proto: SecretsService with GetSecret RPC
- memory.proto: MemoryService with QueryMemory (streaming), WriteMemory, GetCorrelated
- model_gateway.proto: ModelGatewayService with StreamInference, Inference, GenerateEmbedding, IsModelReady
- search.proto: SearchService with Search RPC, SearchResult
- tool_broker.proto: ToolBrokerService with DiscoverTools, ExecuteTool (streaming), ValidateCall
- orchestrator.proto: OrchestratorService with ProcessRequest (streaming)

All protos pass buf lint and buf build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 07:31:37 +01:00

1.9 KiB

Implementation Plan — Issue #15: Define orchestrator.proto (subagent return schema)

Metadata

Field Value
Issue #15
Title Define orchestrator.proto (subagent return schema)
Milestone Phase 1: Proto Definitions
Labels type:feature, priority:critical, lang:protobuf, service:orchestrator, cat:cross-cutting
Status COMPLETED
Language Protobuf
Related Plans issue-008.md
Blocked by #8 (completed)

Acceptance Criteria

  • OrchestratorService with ProcessRequest (streaming) RPC
  • SessionConfig, SubtaskDefinition, SubagentRequest messages
  • OrchestrationState enum for lifecycle tracking
  • Uses SubagentResult from common.proto
  • Proto compiles without errors

Architecture Analysis

Entry point for user requests. OrchestratorService exposes a single ProcessRequest RPC (server-streaming) for progressive status updates. OrchestrationState enum tracks the full lifecycle: decomposing, dispatching, executing, compacting, complete. SessionConfig provides per-session override control with disabled tools and explicit permission grants in agent_type:tool format. SubtaskDefinition models decomposed tasks with agent type assignment, dependency tracking, and required tools. SubagentRequest is the internal dispatch message carrying session context, relevant memory summaries, token limits, and session config. The final response includes the SubagentResult from common.proto when orchestration reaches the COMPLETE state.

Files to Create/Modify

File Action Purpose
proto/llm_multiverse/v1/orchestrator.proto Modify Define OrchestratorService, OrchestrationState enum, SessionConfig, SubtaskDefinition, SubagentRequest, and request/response types

Deviation Log

(No deviations)