Documentation
¶
Overview ¶
Package devops implements the six agent roles of the DevOps reference workload as one Fenced-native runtime. Every role executes inside the fenced attempt context: tools are invoked through the brokered fenced.tool.invoke, models through fenced.model.invoke, and memory through fenced.memory.put/search.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RoleFromRef ¶
RoleFromRef maps an agent version ref to its role name.
Types ¶
type ChatMessage ¶
ChatMessage mirrors the brokered message shape.
type Envelope ¶
type Envelope struct {
Role string `json:"role"`
Goal string `json:"goal"`
WorkflowID string `json:"workflowId"`
}
Envelope is the structured task payload every role finds inside its goal.
func ParseEnvelope ¶
ParseEnvelope decodes the structured payload from a goal.
type HTTPMCPClient ¶
type HTTPMCPClient struct {
// contains filtered or unexported fields
}
HTTPMCPClient posts JSON-RPC tool calls to the runtime's loopback MCP endpoint, carrying the attempt execution id in the fencing header exactly like the research reference runtime.
func NewHTTPMCPClient ¶
func NewHTTPMCPClient(endpoint string) *HTTPMCPClient
NewHTTPMCPClient binds the client to the MCP endpoint URL.
func (*HTTPMCPClient) CallTool ¶
func (c *HTTPMCPClient) CallTool(ctx context.Context, executionID, name string, callArgs any) (json.RawMessage, error)
CallTool implements MCPClient.
type MCPClient ¶
type MCPClient interface {
CallTool(ctx context.Context, executionID, name string, args any) (json.RawMessage, error)
}
MCPClient mirrors the research runtime's MCP interface.
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime implements agent.Runtime behind the broker.
func NewRuntime ¶
NewRuntime builds the multi-role DevOps runtime.
func (*Runtime) Checkpoint ¶
Checkpoint implements agent.Runtime with versioned logical state.