Skip to content

Hybrid Execution Architecture

This page provides a high-level architecture map for netherframe's hybrid execution path.

Main Layers

App / Stack / Resource model
        |
HybridExecutionMode
        |
State engine + provider registry + orchestrator
        |
ProviderProtocolClient
        |
Terraform provider binaries over tfplugin6/gRPC

Responsibilities

Construct Layer

The app and stack model still defines the desired infrastructure graph.

Hybrid Execution Layer

HybridExecutionMode wires together:

  • state backend initialization
  • provider loading and registration
  • orchestration
  • advanced provider RPC helpers

Orchestration Layer

The orchestrator handles dependency-aware execution. Phase planning and circular-dependency semantics live in nf.core.phases.* and related orchestration helpers.

Provider Layer

ProviderProtocolClient starts provider binaries, loads schemas, configures providers, and performs tfplugin6 RPC calls.

  • nf.core.execution.hybrid
  • nf.core.providers.provider_protocol
  • nf.core.providers.provider_supplemental_operations
  • nf.core.orchestration.unified_orchestrator
  • nf.core.phases.*