Skip to content

solutions_backend.routing.builder

Deterministic construction of exact ProcessorWorkflow requests.

Classes

PlatformTargets

Bases: Protocol

Fresh exact Platform target resolver used before any mutation-capable context.

resolve

resolve(payload: PlatformClassificationPayload)

ProcessorContexts

Bases: Protocol

Exact repeatable-read context required by the Processor boundary.

load

load(client_id: ClientId, source: SourceRecordRef, property_id: PropertyId | None = None, property_hint: str | None, target_work_order_id: WorkOrderId | None, platform_target: PlatformTargetSnapshot | None = None) -> ProcessorContextSnapshot

ProcessorRequestBuildError

Bases: RuntimeError

An admitted route lacked evidence or exact canonical context.

ProcessorRequestBuilder

Bind an admitted Classification result to canonical context and evidence.

build

build(classification: ClassificationRunState, intake: ClassificationIntake) -> ProcessorWorkflowRequest