Skip to content

Operations Registry

osa_tool.operations.registry

Operation

Bases: ABC

Declarative description of an operation.

is_applicable(state)

Hard constraints: - intent - scope

plan_tasks()

Prototype-level planning: 1 operation = 1 task

OperationRegistry

get_execution_descriptor(name) classmethod

Returns a descriptor for execution with keys: - executor: callable or class - method: method name if class-style - dependencies: list of names to extract from AgentContext